diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty index da40a3827f2..a06c48c9d1e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-easy-todo.sty @@ -28,19 +28,23 @@ } \renewcommand{\todoii}[2]{% -\ifthenelse{\equal{\@todoobeyfinal}{true}}{% - \ifoptionfinal{\todoenable{false}}{\todoenable{true}}% -}{}% -\ifthenelse{\equal{\@todoenable}{true}}{% -\refstepcounter{todos}% -\noindent{% - \todocolor% - \LWR@textcurrentcolor{% - \normalfont\scriptsize{\bfseries{\thetodos.#1}}% +\ifthenelse{\equal{\@todoobeyfinal}{true}}% + {% + \ifoptionfinal{\todoenable{false}}{\todoenable{true}}% }% -}% -\addcontentsline{lod}{todos}{\protect{\thetodos. }\LWR@isolate{#2}}% -}{}% + {}% +\ifthenelse{\equal{\@todoenable}{true}}% + {% + \refstepcounter{todos}% + \noindent{% + \todocolor% + \LWR@textcurrentcolor{% + \normalfont\scriptsize{\bfseries{\thetodos.#1}}% + }% + }% + \addcontentsline{lod}{todos}{\protect{\thetodos. }\LWR@isolate{#2}}% + }% + {}% } \endinput |