From 2780bb0724f1de19cc4b7b5dec2feb6134eceda5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 4 Jun 2021 20:14:51 +0000 Subject: todonotes (4jun21) git-svn-id: svn://tug.org/texlive/trunk@59465 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/todonotes/todonotes.sty | 25 +++++++++++----------- 1 file changed, 13 insertions(+), 12 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 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% -- cgit v1.2.3