1
0
Fork 0

Added support for trailing tasksummary paragraph

master
Mike Gerwitz 2013-08-16 08:45:45 -04:00
parent c197857c23
commit f69724bbb6
1 changed files with 6 additions and 1 deletions

View File

@ -127,7 +127,7 @@
} }
\newcommand\tasksummary{{% \newcommand\tasksummary[1][]{{%
\subsection{Summary} \subsection{Summary}
\pnumoff \pnumoff
\edef\@@range{\arabic{tasktmin}-\arabic{tasktmax}}% \edef\@@range{\arabic{tasktmin}-\arabic{tasktmax}}%
@ -138,5 +138,10 @@
% reset counters % reset counters
\setcounter{tasktmin}{0}% \setcounter{tasktmin}{0}%
\setcounter{tasktmax}{0}% \setcounter{tasktmax}{0}%
% output any comments, if available
\def\@@comments{#1}%
\ifx\@@comments\empty\else
\par\@@comments
\fi
\pnumrest \pnumrest
}} }}