Added a new usecase, that includes the current subsubsection number in the inserted todonote.

master
hemi 16 years ago
parent 6035657f5c
commit bd4c430d0a
  1. 17
      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}
%
%
%
%

Loading…
Cancel
Save