diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/todonotes/todonotes.pdf | bin | 156178 -> 160481 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf | bin | 29412 -> 29412 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/todonotes/todonotes.dtx | 55 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/todonotes/todonotes.sty | 4 |
4 files changed, 54 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf Binary files differindex 5570ee7a935..be7b4cb22a8 100644 --- a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf +++ b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf diff --git a/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf b/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf Binary files differindex 7354d45e751..db5989fff16 100644 --- a/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf +++ b/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf diff --git a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx index 91ef64b5513..f08adc9c118 100644 --- a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx +++ b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx @@ -22,14 +22,15 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{todonotes} %<*package> - [2008/10/24 .dtx Todonotes source and documentation.] + [2008/11/07 .dtx Todonotes source and documentation.] %</package> % %<*driver> \documentclass{ltxdoc} \usepackage{wrapfig} \usepackage[colorlinks, linkcolor=black]{hyperref} -\usepackage[colorinlistoftodos]{todonotes}[2008/10/24] +\usepackage[colorinlistoftodos]{todonotes}[2008/11/07] +\usepackage{setspace} \EnableCrossrefs \CodelineIndex \RecordChanges @@ -92,6 +93,8 @@ % Braun.} % \changes{0.6}{2008/10/24}{Added the caption option to the todo % command.} +% \changes{0.6.1}{2008/11/07}{Added a new usecas with decreased line +% spacing.} % % \GetFileInfo{todonotes.dtx} % @@ -370,6 +373,52 @@ % \newcommand{\FXUser}[2]{\todo[inline,size=\small]{{\bfseries #1:} #2}} % \end{verbatim} % +% +% +% \subsubsection{Altering the linespacing of todonotes} +% +% The |setspace| package lets you alter the line spacing of smaller +% sections of your document. The primary construct is the +% |spacing| environment, which is demonstrated below. +% \begin{verbatim} +% \begin{spacing}{0.5} +% Some lines with a decreased line spacing. This is accomplished +% using the setspace package that is included in standard latex +% distributions. +% \end{spacing} +% \end{verbatim} +% \begin{spacing}{0.5} +% Some lines with a decreased line spacing. This is accomplished +% using the setspace package that is included in standard latex +% distributions. +% \end{spacing} +% +% \vspace{0.25cm} +% Using the |spacing| environment we can define a new todonote +% command using the code below: +% \begin{verbatim} +% \newcommand{\smalltodo}[2][] +% {\todo[caption={#2}, #1] +% {\begin{spacing}{0.5}#2\end{spacing}}} +% \end{verbatim} +% \newcommand{\smalltodo}[2][] +% {\todo[caption={#2}, #1] +% {\begin{spacing}{0.5}#2\end{spacing}}} +% Todonotes with decreased line spacing can now be inserted as +% follows +% \smalltodo[size=\footnotesize]{ +% Some lines with a decreased line spacing. This is accomplished +% using the setspace package that is included in standard latex +% distributions.} +% \begin{verbatim} +% \smalltodo[size=\footnotesize]{ +% Some lines with a decreased line spacing. This is accomplished +% using the setspace package that is included in standard latex +% distributions.} +% \end{verbatim} +% +% +% % \iffalse % \StopEventually{\PrintChanges\PrintIndex} % \fi @@ -379,7 +428,7 @@ % % Identifies the package and loads the packages dependences. % \begin{macrocode} -\ProvidesPackage{todonotes}[2008/10/24] +\ProvidesPackage{todonotes}[2008/11/07] \RequirePackage{ifthen} \RequirePackage{xkeyval} \RequirePackage{hyperref} diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty index abdc491773e..c26c3d3ad27 100644 --- a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty +++ b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty @@ -22,9 +22,9 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{todonotes} - [2008/10/24 .dtx Todonotes source and documentation.] + [2008/11/07 .dtx Todonotes source and documentation.] -\ProvidesPackage{todonotes}[2008/10/24] +\ProvidesPackage{todonotes}[2008/11/07] \RequirePackage{ifthen} \RequirePackage{xkeyval} \RequirePackage{hyperref} |