summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/todonotes/todonotes.sty')
-rw-r--r--Master/texmf-dist/tex/latex/todonotes/todonotes.sty25
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%