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.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
index 126b7992044..0d1ce58cd3b 100644
--- a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
+++ b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
@@ -45,11 +45,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%
}