[NTG-context] Example -- Solution Pair

Sytse Knypstra S.Knypstra at rug.nl
Tue Dec 20 09:17:36 CET 2005


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 at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context



More information about the ntg-context mailing list