diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/todonotes/todonotes.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/todonotes/todonotes.dtx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx index 85ae5c5b103..c0327e426e3 100644 --- a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx +++ b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx @@ -47,7 +47,7 @@ %</driver> % \fi % -% \CheckSum{636} +% \CheckSum{631} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -194,6 +194,8 @@ % Added new options for inline todonotes based on code from Daniel Krenn. % Added warning message when marginparwidth is less than 2cm, as % suggested by ErikBoesen.} +% \changes{1.0.7}{2018/07/09}{Changed the warning about marginparwidth to a +% proper warning message.} % \GetFileInfo{todonotes.dtx} % % \DoNotIndex{\newcommand,\newenvironment} @@ -1218,11 +1220,11 @@ \newcommand{\phantomsection}{} \fi \ifdim \marginparwidth < 2cm -\todo[inline]{Warning. The length $\backslash$marginparwidth is +\PackageWarning{todonotes}{The length marginparwidth is less than 2cm and will most likely cause issues with the appearance of inserted todonotes. The issue can be solved by adding a line like -$\backslash$setlength\{$\backslash$marginparwidth\}\{2cm\} +\setlength{\marginparwidth}{2cm} prior to loading the todonotes package.} \else\fi% } % \end{macrocode} |