12 Nov
2003
12 Nov
'03
12:17 a.m.
Hi all!
what is wong? % % % ad the points of each question \def\getPunkte[#1]{\advance\summeP by \number#1} % % show the points on the right side \def\showP[#1]{\inright{\hfill(#1 P.)}} % % handle the points \def\pkt[#1]% {% \showP[#1]% \getPunkte[#1] } % Using this macro in normal text like TestQuestion \pkt[5] it works!!! [...]
I'm not sure but consider TestQuestion \pkt[5] {TestQuestion \pkt[5]} TestQuestion \pkt[5] That will probably produce not what you need. Meybe You should use \global\advance\summeP by \number#1 in \getPunkte definition? Let me know if I'm right. Regards, Pawe/l