![](https://secure.gravatar.com/avatar/96eb119d815849b15ee84ef1e87c6c20.jpg?s=120&d=mm&r=g)
11 Nov
2003
11 Nov
'03
4:17 p.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