Fix bug related to interpretation of the size option to the package.

Solution provided by Frank Mittelbach.
master
Henrik Skov Midtiby 8 years ago committed by Jacopo De Simoi
parent e17bcded53
commit 765ab1a2fa
  1. 5
      todonotes.dtx

@ -1601,9 +1601,12 @@ prior to loading the todonotes package.} \else\fi%
figwidth=\@todonotes@figwidth,%
figheight=\@todonotes@figheight,%
figcolor=\@todonotes@figcolor,%
line, list, size=\@todonotes@textsize,
line, list,%
inlinewidth=\linewidth,
inlinepar}{}%
\@temptokena\expandafter{\@todonotes@textsize}
\edef\next{\noexpand\presetkeys{todonotes}{size=\the\@temptokena}{}}
\next
% \end{macrocode}
% \subsection{The main code part}
% Here is the actual macros defined.

Loading…
Cancel
Save