Added support for trailing tasksummary paragraph
parent
c197857c23
commit
f69724bbb6
7
task.sty
7
task.sty
|
@ -127,7 +127,7 @@
|
|||
}
|
||||
|
||||
|
||||
\newcommand\tasksummary{{%
|
||||
\newcommand\tasksummary[1][]{{%
|
||||
\subsection{Summary}
|
||||
\pnumoff
|
||||
\edef\@@range{\arabic{tasktmin}-\arabic{tasktmax}}%
|
||||
|
@ -138,5 +138,10 @@
|
|||
% reset counters
|
||||
\setcounter{tasktmin}{0}%
|
||||
\setcounter{tasktmax}{0}%
|
||||
% output any comments, if available
|
||||
\def\@@comments{#1}%
|
||||
\ifx\@@comments\empty\else
|
||||
\par\@@comments
|
||||
\fi
|
||||
\pnumrest
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue