Added summary for Annex II
parent
7f96bcf9fc
commit
204522f61c
22
task.sty
22
task.sty
|
@ -11,6 +11,10 @@
|
||||||
\setcounter{taskc}{0}
|
\setcounter{taskc}{0}
|
||||||
\renewcommand\thetaskc{\Roman{taskc}}
|
\renewcommand\thetaskc{\Roman{taskc}}
|
||||||
|
|
||||||
|
% stores the total low and high until reset
|
||||||
|
\newcounter{tasktmin}
|
||||||
|
\newcounter{tasktmax}
|
||||||
|
|
||||||
\newcounter{subtaskc}[taskc]
|
\newcounter{subtaskc}[taskc]
|
||||||
\setcounter{subtaskc}{0}
|
\setcounter{subtaskc}{0}
|
||||||
\renewcommand\thesubtaskc{%
|
\renewcommand\thesubtaskc{%
|
||||||
|
@ -86,6 +90,9 @@
|
||||||
\ifx\@@h\empty\else
|
\ifx\@@h\empty\else
|
||||||
\@task@setregs#1||%
|
\@task@setregs#1||%
|
||||||
{\scriptsize \the\@@hconf\% Confidence}%
|
{\scriptsize \the\@@hconf\% Confidence}%
|
||||||
|
% advance the total counters
|
||||||
|
\addtocounter{tasktmin}{\@@hmin}
|
||||||
|
\addtocounter{tasktmax}{\@@hmax}
|
||||||
\fi%
|
\fi%
|
||||||
}%
|
}%
|
||||||
\hspace{\the\taskspace}%
|
\hspace{\the\taskspace}%
|
||||||
|
@ -112,3 +119,18 @@
|
||||||
\divide\@@hconf by-\@@hmax
|
\divide\@@hconf by-\@@hmax
|
||||||
\advance\@@hconf by 100\relax
|
\advance\@@hconf by 100\relax
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
\newcommand\tasksummary{{%
|
||||||
|
\subsection{Summary}
|
||||||
|
\pnumoff
|
||||||
|
\edef\@@range{\arabic{tasktmin}-\arabic{tasktmax}}%
|
||||||
|
\par {\sc Time Interval:} \expandafter\@task@h\@@range|| Hours%
|
||||||
|
% determine confidence
|
||||||
|
\expandafter\@task@setregs\@@range||%
|
||||||
|
\par {\sc Confidence:} \the\@@hconf\%%
|
||||||
|
% reset counters
|
||||||
|
\setcounter{tasktmin}{0}%
|
||||||
|
\setcounter{tasktmax}{0}%
|
||||||
|
\pnumrest
|
||||||
|
}}
|
||||||
|
|
Loading…
Reference in New Issue