|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
&% \iffalse meta-comment |
|
|
|
|
% |
|
|
|
|
% Copyright (C) 2015 by Henrik Skov Midtiby <henrikmidtiby@gmail.com> |
|
|
|
|
% Copyright (C) 2019 by Henrik Skov Midtiby <henrikmidtiby@gmail.com> |
|
|
|
|
% ------------------------------------------------------- |
|
|
|
|
% |
|
|
|
|
% This work may be distributed and/or modified under the |
|
|
|
|
@ -20,7 +20,7 @@ |
|
|
|
|
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] |
|
|
|
|
%<package>\ProvidesPackage{todonotes} |
|
|
|
|
%<*package> |
|
|
|
|
[2018/11/22 v1.1.1 Todonotes source and documentation.] |
|
|
|
|
[2019/01/24 v1.1.2 Todonotes source and documentation.] |
|
|
|
|
%</package> |
|
|
|
|
% |
|
|
|
|
%<*driver> |
|
|
|
|
@ -45,7 +45,7 @@ |
|
|
|
|
%</driver> |
|
|
|
|
% \fi |
|
|
|
|
% |
|
|
|
|
% \CheckSum{710} |
|
|
|
|
% \CheckSum{717} |
|
|
|
|
% |
|
|
|
|
% \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 |
|
|
|
|
@ -204,6 +204,7 @@ |
|
|
|
|
% Steamline which options that are accepted to size commands |
|
|
|
|
% (both commands (backslash tiny) and text (tiny) are now supported).} |
|
|
|
|
% \changes{1.1.1}{2018/11/22}{Implemented shadow and noshadow options for the todo command.} |
|
|
|
|
% \changes{1.1.2}{2019/01/24}{Fix issue 36 and 37.} |
|
|
|
|
% \GetFileInfo{todonotes.dtx} |
|
|
|
|
% |
|
|
|
|
% \DoNotIndex{\newcommand,\newenvironment} |
|
|
|
|
@ -1982,7 +1983,7 @@ prior to loading the todonotes package.} \else\fi% |
|
|
|
|
% \begin{macrocode} |
|
|
|
|
\newcommand{\todo}[2][]{% |
|
|
|
|
% Needed to output any dangling \item of a noskip section (see #36): |
|
|
|
|
\if@inlabel \leavevmode \fi |
|
|
|
|
\if@inlabel \leavevmode \fi |
|
|
|
|
\if@noskipsec \leavevmode \fi |
|
|
|
|
\if@todonotes@inlinepar |
|
|
|
|
\ifhmode |
|
|
|
|
|