diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/todonotes')
-rw-r--r-- | Master/texmf-dist/tex/latex/todonotes/todonotes.sty | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty index 9bdd208a721..03ebf8c7eba 100644 --- a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty +++ b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{todonotes} - [2019/01/24 v1.1.2 Todonotes source and documentation.] + [2020/08/18 v1.1.3 Todonotes source and documentation.] \ProvidesPackage{todonotes}[2018/11/22] \RequirePackage{ifthen} @@ -208,21 +208,21 @@ prior to loading the todonotes package.} \else\fi% \fi \fi -\newcommand{\@todonotes@currentlinecolor}{}% -\newcommand{\@todonotes@currentbackgroundcolor}{}% -\newcommand{\@todonotes@currenttextcolor}{}% -\newcommand{\@todonotes@currentbordercolor}{}% +\gdef\@todonotes@currentlinecolor{\@todonotes@linecolor}% +\gdef\@todonotes@currentbackgroundcolor{\@todonotes@backgroundcolor}% +\gdef\@todonotes@currenttextcolor{\@todonotes@textcolor}% +\gdef\@todonotes@currentbordercolor{\@todonotes@bordercolor}% \define@key{todonotes}{color}{% - \renewcommand{\@todonotes@currentlinecolor}{#1}% - \renewcommand{\@todonotes@currentbackgroundcolor}{#1}}% + \gdef\@todonotes@currentlinecolor{#1}% + \gdef\@todonotes@currentbackgroundcolor{#1}}% \define@key{todonotes}{linecolor}{% - \renewcommand{\@todonotes@currentlinecolor}{#1}}% + \gdef\@todonotes@currentlinecolor{#1}}% \define@key{todonotes}{backgroundcolor}{% - \renewcommand{\@todonotes@currentbackgroundcolor}{#1}}% + \gdef\@todonotes@currentbackgroundcolor{#1}}% \define@key{todonotes}{textcolor}{% - \renewcommand{\@todonotes@currenttextcolor}{#1}}% + \gdef\@todonotes@currenttextcolor{#1}}% \define@key{todonotes}{bordercolor}{% - \renewcommand{\@todonotes@currentbordercolor}{#1}}% + \gdef\@todonotes@currentbordercolor{#1}}% \newif\if@todonotes@useshadow% \define@key{todonotes}{shadow}[]{\@todonotes@useshadowtrue}% \define@key{todonotes}{noshadow}[]{\@todonotes@useshadowfalse}% |