Added the setuptodonotes command.

master
Jacopo De Simoi 12 months ago
parent 4e751f91f3
commit 853d1fa860
  1. 8
      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}{}%

Loading…
Cancel
Save