From: Bernd Militzer <bernd@militzer.net>
Subject: countproblem
Date: 11 Nov 2003 17:57:15 +0100 [thread overview]
Message-ID: <1068569835.1803.7.camel@eagle.militzer.net.local> (raw)
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!!!
But when I use this macro in combination with enumeration I run in a
problem
example:
%
\defineenumeration[question][location=inmargin,text=,width=fit]
%
\question\pkt[5]
TestQuestion\par
nothing ist count in this case!
Thanks for any help.
Bernd
next reply other threads:[~2003-11-11 16:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-11 16:57 Bernd Militzer [this message]
2003-11-11 23:17 ` countproblem Pawel Jackowski na Onet
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=1068569835.1803.7.camel@eagle.militzer.net.local \
--to=bernd@militzer.net \
--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).