From: Willi Egger <w.egger@boede.nl>
Subject: Re: Exercise sets
Date: Mon, 19 Dec 2005 23:48:44 +0100 [thread overview]
Message-ID: <43A738CC.6020905@boede.nl> (raw)
In-Reply-To: <45FCDFE2-C0DF-4ADB-98FB-6CD2EF522994@cox.net>
Hi David,
the answer must be found in \defineenumeration[question][..] and
\defineenumeration[answer][...] further you can use the defineblock[...]
mechanism. Please refer to the cont-enp.pdf pages 262 ff.
Kind regards
Willi
David Arnold wrote:
> All,
>
> I'd like to design an exercise environment that will keep both the
> exercise and solution together. Something like:
>
> \startExercise
>
> Blah, blah, blah.
>
> \startSolution
> Blah, blah, blah
> \stopSolution
>
> \stopExercise
>
> At a higher level, something with parts, like:
>
> \startExercise
>
> Blah, blah, blah, ...
>
> \item Blah, blah, blah, ...
>
> \startSolution
> Blah, blah, blah, ..
> \stopSolution
>
>
> \item Blah, blah, blah, ...
>
> \startSolution
> Blah, blah, blah, ..
> \stopSolution
>
> \item Blah, blah, blah, ...
>
> \startSolution
> Blah, blah, blah, ..
> \stopSolution
>
> \stopExercise
>
> I'd like the exercises to get typeset in place, but the even
> solutions should go to the end of the text.
>
> Has anyone done something similar in Context?
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
prev parent reply other threads:[~2005-12-19 22:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-19 19:26 David Arnold
2005-12-19 22:10 ` Patrick Gundlach
2005-12-19 22:48 ` Willi Egger [this message]
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=43A738CC.6020905@boede.nl \
--to=w.egger@boede.nl \
--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).