ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: Exercise sets
Date: Mon, 19 Dec 2005 11:26:03 -0800	[thread overview]
Message-ID: <45FCDFE2-C0DF-4ADB-98FB-6CD2EF522994@cox.net> (raw)

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?

             reply	other threads:[~2005-12-19 19:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-19 19:26 David Arnold [this message]
2005-12-19 22:10 ` Patrick Gundlach
2005-12-19 22:48 ` Willi Egger

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=45FCDFE2-C0DF-4ADB-98FB-6CD2EF522994@cox.net \
    --to=dwarnold45@cox.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).