Debian Codegraph @

texmf-dist/doc/latex/easy-todo/easy-todo.tex

raw
1 \documentclass[a4paper]{article}
2 \usepackage[obeyFinal]{easy-todo}
3
4 \begin{document}
5 \title{The \texttt{easy-todo} package}
6 \author{by Juan Rada-Vilela (\texttt{[email protected]})}
7 \date{January, 2014}
8
9 \maketitle
10
11 \begin{abstract}
12 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.
13 \end{abstract}
14
15 \section{Options}
16 The following options are available:
17
18 \begin{description}
19 \item [enable] Show the notes and the index.
20 \item [disable] Hide the notes and the index.
21 \item [obeyFinal] Hide the notes except when the documentclass is \textbf{final}. This option overrides the options \textbf{enable} and \textbf{disable}.
22 \item [chapter] Prints the list of TODOs as a chapter.
23 \item [section] Prints the list of TODOs as a section.
24 \end{description}
25
26
27 \section{Commands}
28 \begin{description}
29 \item [\textbackslash todo\{note\}] Creates a note that shows the text ``\texttt{note}''.
30 \item [\textbackslash todoi\{note\}] Creates a note that only shows an automatically generated number. The text ``\texttt{note}'' appears in the index.
31 \item [\textbackslash todoii\{note\}\{information\}] Creates a note that shows the text ``\texttt{note}''. The text ``\texttt{information}'' appears at the index.
32 \item [\textbackslash listoftodos] Creates the list of notes.
33 \end{description}
34
35 \section{Example}
36 \texttt{\textbackslash usepackage[obeyFinal]\{easy-todo\}}
37
38 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\}}.
39
40 \section{Changelog}
41
42 \subsection{Version 3.0}
43 \begin{itemize}
44 \item Added option \textbf{obeyFinal}
45 \item Removed spaces caused by notes when hidden.
46 \item Option \textbf{section} is default.
47 \item Removed options \textbf{enabled}, \textbf{disabled} and \textbf{final}.
48 \end{itemize}
49
50 \subsection{Version 2.0}
51 \begin{itemize}
52 \item Added options \textbf{enable} and \textbf{disable}
53 \item Added commands \textbf{todoi}, \textbf{todoii}
54 \end{itemize}
55
56 \listoftodos
57 \end{document}