11 May
2010
11 May
'10
11:23 a.m.
Jan Pohanka wrote:
Hello, I'm preparing a simple template for exam tests. I have following commad.
\question{3}{text text text}
\newcount\totalpoints \def\question#1#2{\global\advance\totalpoints #1\relax ... #2 ...}
where firtst parametr stands for points.
I'd like to compute the sum of points to be used as "Total points: xx"
Total points: \the\totalpoints Best wishes, Taco