diff --git a/todonotes.dtx b/todonotes.dtx index 9447ea8..6b93406 100644 --- a/todonotes.dtx +++ b/todonotes.dtx @@ -411,10 +411,10 @@ % There are several options that can be given to the |\todo| % command. All the options are described here and often I have % included examples of the change in visual appearance. -% Default values for these options can be set using the presetkeys +% Default values for these options can be set using the setuptodonotes % command. % \begin{verbatim} -% \presetkeys{todonotes}{fancyline, color=blue!30}{} +% \setuptodonotes{fancyline, color=blue!30} % \end{verbatim} % % \DescribeMacro{disable} @@ -1207,6 +1207,10 @@ \usetikzlibrary{positioning} \RequirePackage{calc} % \end{macrocode} +% Implement a function for setting up the todonotes package. +% \begin{macrocode} +\newcommand\setuptodonotes[1]{\presetkeys{todonotes}{#1}{}} +% \end{macrocode} % Some default values are set % \begin{macrocode} \newcommand{\@todonotes@text}{}%