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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to