diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-04 20:14:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-04 20:14:51 +0000 |
commit | 2780bb0724f1de19cc4b7b5dec2feb6134eceda5 (patch) | |
tree | 8ba5514a5b587e0d407f5941ce17af93f305a8e4 /Master/texmf-dist/tex/latex/todonotes/todonotes.sty | |
parent | e435cee410335af32bd2cd0c953b8ad6cea78043 (diff) |
todonotes (4jun21)
git-svn-id: svn://tug.org/texlive/trunk@59465 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/todonotes/todonotes.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/todonotes/todonotes.sty | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty index ccd55d1a025..97775b1e314 100644 --- a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty +++ b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty @@ -22,9 +22,9 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{todonotes} - [2021/04/26 v1.1.4 Todonotes source and documentation.] + [2021/06/04 v1.1.5 Todonotes source and documentation.] -\ProvidesPackage{todonotes}[2018/11/22] +\ProvidesPackage{todonotes}[2021/06/04] \RequirePackage{ifthen} \RequirePackage{xkeyval} \RequirePackage{xcolor} @@ -37,7 +37,7 @@ \newcommand{\@todonotes@textcolor}{black} \newcommand{\@todonotes@linecolor}{orange} \newcommand{\@todonotes@bordercolor}{black} -\newcommand{\@todonotes@tickmarkheight}{0cm} +\newcommand{\@todonotes@tickmarkheight}{unused value} \newcommand{\@todonotes@textwidth}{\marginparwidth} \newcommand{\@todonotes@textsize}{\normalsize} \newcommand{\@todonotes@figwidth}{\linewidth} @@ -171,8 +171,9 @@ prior to loading the todonotes package.} \else\fi% {linecolor}{\renewcommand{\@todonotes@linecolor}{#1}} \define@key{todonotes.sty}% {bordercolor}{\renewcommand{\@todonotes@bordercolor}{#1}} -\define@key{todonotes.sty}% - {tickmarkheight}{\renewcommand{\@todonotes@tickmarkheight}{#1}} +\newcommand{\@todonotes@defaulttickmarkheight}{0cm} +\define@key{todonotes.sty}{tickmarkheight}{% + \renewcommand{\@todonotes@defaulttickmarkheight}{#1}}% \newif{\if@todonotes@prependcaptionglobal} \@todonotes@prependcaptionglobalfalse \DeclareOptionX{prependcaption}{\@todonotes@prependcaptionglobaltrue} @@ -185,11 +186,11 @@ prior to loading the todonotes package.} \else\fi% \newif\if@todonotes@shadowlibraryloaded \@todonotes@shadowlibraryloadedfalse \DeclareOptionX{loadshadowlibrary}{% -\usetikzlibrary{shadows}% -\@todonotes@shadowlibraryloadedtrue} + \usetikzlibrary{shadows}% + \@todonotes@shadowlibraryloadedtrue} \newcommand{\@todonotes@shadowenabledbydefault}{noshadow} \DeclareOptionX{shadow}{% -\renewcommand{\@todonotes@shadowenabledbydefault}{shadow}} + \renewcommand{\@todonotes@shadowenabledbydefault}{shadow}} \define@key{todonotes.sty}% {figwidth}{\renewcommand{\@todonotes@figwidth}{#1}} \define@key{todonotes.sty}% @@ -288,7 +289,7 @@ prior to loading the todonotes package.} \else\fi% backgroundcolor=\@todonotes@backgroundcolor,% textcolor=\@todonotes@textcolor,% bordercolor=\@todonotes@bordercolor,% - tickmarkheight=0cm,% + tickmarkheight=\@todonotes@defaulttickmarkheight,% nofancyline,% nodisable,% noinline,% @@ -336,9 +337,9 @@ prior to loading the todonotes package.} \else\fi% general shadow={shadow xshift=0.5ex, shadow yshift=-0.5ex,% opacity=1,fill=black!50}]% \else% -\PackageWarning{todonotes}{Trying to put a shadow below a todonote, -but the loadshadowlibrary option was not given when loading -the todonotes package} +\PackageWarning{todonotes}{Trying to put a shadow below a todonote,% +but the loadshadowlibrary option was not given when loading% +the todonotes package}% \tikzstyle{notestyle} = [notestyleraw]% \fi% \else% |