diff --git a/todonotes.dtx b/todonotes.dtx index 12a3f26..8cf2556 100755 --- a/todonotes.dtx +++ b/todonotes.dtx @@ -862,6 +862,23 @@ % \todoTrans[inline]{damplokomotiv} % % +% \pagebreak[4] +% \subsubsection{Numbered todonotes} +% +% The inserted todonotes can be argumented with the current subsubsection number. +% The code is shown below. +% \newcommand{\ntodo}[2][]{\todo[#1]{\thesubsubsection{}. #2}} +% \begin{verbatim} +% \newcommand{\ntodo}[2][]{\todo[#1]{\thesubsubsection{}. #2}} +% \end{verbatim} +% By changing |\thesubsubsection| to |\thesection|, the current section number +% can be inserted instead of the subsubsection number. +% The result looks \ntodo{A numbered todo.} like. +% Which were generated by the code +% \begin{verbatim} +% \ntodo{A subsection numbered todo.}. +% \end{verbatim} +% % % %