From: "Pawel Jackowski na Onet" <jackos1@poczta.onet.pl>
Subject: Re: countproblem
Date: Wed, 12 Nov 2003 00:17:04 +0100 [thread overview]
Message-ID: <002a01c3a8a9$eb73cc80$1c00a8c0@best> (raw)
In-Reply-To: <1068569835.1803.7.camel@eagle.militzer.net.local>
> 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
next prev parent reply other threads:[~2003-11-11 23:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-11 16:57 countproblem Bernd Militzer
2003-11-11 23:17 ` Pawel Jackowski na Onet [this message]
2003-11-12 6:52 ` countproblem Bernd Militzer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002a01c3a8a9$eb73cc80$1c00a8c0@best' \
--to=jackos1@poczta.onet.pl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).