From 31b0b74a32fd2233afce3695c6db8106ef8b3e0c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 23 Aug 2020 20:39:30 +0000 Subject: todonotes (22aug20) git-svn-id: svn://tug.org/texlive/trunk@56158 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/todonotes/todonotes.sty | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex/latex/todonotes') 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}% -- cgit v1.2.3