ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sytse Knypstra <S.Knypstra@rug.nl>
Subject: Re: Example -- Solution Pair
Date: Tue, 20 Dec 2005 09:17:36 +0100	[thread overview]
Message-ID: <43A7BE20.60009@rug.nl> (raw)
In-Reply-To: <4FD14D79-2999-4B0D-AD0C-409B4A777193@cox.net>

Maybe the following works?

\defineenumeration[example][text=Example,coupling=solution]
\defineenumeration[solution][text=Solution,after={\hfill{$\Box$}\blank},coupling=example]

Sytse Knypstra

David Arnold wrote:
> All,
> 
> Anyone have an environment something along the lines of:
> 
> \startexample
> blah, blah, ...
> \stopexample
> 
> \startsolution
> blah, blah, ...
> \stopsolution
> 
> With maybe a little square indicating the end of the solution?
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-12-20  8:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-20  5:21 David Arnold
2005-12-20  8:17 ` Sytse Knypstra [this message]
2005-12-20 18:15   ` David Arnold
2005-12-20 20:21     ` 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=43A7BE20.60009@rug.nl \
    --to=s.knypstra@rug.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).