summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/todonotes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-23 20:39:30 +0000
committerKarl Berry <karl@freefriends.org>2020-08-23 20:39:30 +0000
commit31b0b74a32fd2233afce3695c6db8106ef8b3e0c (patch)
tree0c775bb3266d7670ce15e2e8a961268edd6a8eda /Master/texmf-dist/tex/latex/todonotes
parente725b86fc4aa92a36dcf2937c66f4b45df547f82 (diff)
todonotes (22aug20)
git-svn-id: svn://tug.org/texlive/trunk@56158 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/todonotes')
-rw-r--r--Master/texmf-dist/tex/latex/todonotes/todonotes.sty22
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}%