File: easy-todo.tex

package info (click to toggle)
texlive-extra 2014.20141024-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,016,484 kB
  • ctags: 21,582
  • sloc: perl: 140,144; python: 16,926; makefile: 12,969; sh: 9,285; ansic: 3,415; java: 3,090; csh: 2,987; xml: 1,050; lisp: 630; ruby: 487; lex: 358; tcl: 142; sed: 36; pascal: 25; cpp: 18; awk: 10; haskell: 5
file content (57 lines) | stat: -rw-r--r-- 2,608 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
\documentclass[a4paper]{article}
\usepackage[obeyFinal]{easy-todo}

\begin{document}
	\title{The \texttt{easy-todo} package}
	\author{by Juan Rada-Vilela (\texttt{jcrada@fuzzylite.com})}
	\date{January, 2014}
	
	\maketitle
	
	\begin{abstract}
		The \texttt{easy-todo} package allows you to create, track, show and hide notes in a document. In addition, the package allows you to create a summary of notes with their respective points of reference. 
	\end{abstract}
	
	\section{Options}
	The following options are available:
	
	\begin{description}
        \item [enable] Show the notes and the index.
		\item [disable] Hide the notes and the index.
        \item [obeyFinal] Hide the notes except when the documentclass is \textbf{final}. This option overrides the options \textbf{enable} and \textbf{disable}.
		\item [chapter] Prints the list of TODOs as a chapter.
		\item [section] Prints the list of TODOs as a section.
	\end{description}
	

	\section{Commands}
	\begin{description}
		\item [\textbackslash todo\{note\}] Creates a note that shows the text ``\texttt{note}''.
        \item [\textbackslash todoi\{note\}] Creates a note that only shows an automatically generated number. The text ``\texttt{note}'' appears in the index.
        \item [\textbackslash todoii\{note\}\{information\}] Creates a note that shows the text ``\texttt{note}''. The text ``\texttt{information}'' appears at the index.
		\item [\textbackslash listoftodos] Creates the list of notes.
	\end{description}
    
    \section{Example}	
    	\texttt{\textbackslash usepackage[obeyFinal]\{easy-todo\}}
    
	This is a todo \todo{note} that appears in full everywhere. This is a todoi \todoi{note i}  that appears as a number and the note at the index. This is a todoii \todoii{hint}{information} note that shows a hint in place and the information at the index. All these notes disappear when using \texttt{\textbackslash documentclass[final]...}, or when using instead \texttt{\textbackslash usepackage[disable]\{easy-todo\}}.
	
    \section{Changelog}
    
    \subsection{Version 3.0}
        \begin{itemize}
        \item Added option \textbf{obeyFinal}
        \item Removed spaces caused by notes when hidden.
        \item Option \textbf{section} is default.
        \item Removed options \textbf{enabled}, \textbf{disabled} and \textbf{final}.
        \end{itemize}
    
    \subsection{Version 2.0}
        \begin{itemize}
            \item Added options \textbf{enable} and \textbf{disable}
            \item Added commands \textbf{todoi}, \textbf{todoii}
        \end{itemize}
    
    \listoftodos
\end{document}