ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Example -- Solution Pair
@ 2005-12-20  5:21 David Arnold
  2005-12-20  8:17 ` Sytse Knypstra
  0 siblings, 1 reply; 4+ messages in thread
From: David Arnold @ 2005-12-20  5:21 UTC (permalink / raw)


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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Example -- Solution Pair
  2005-12-20  5:21 Example -- Solution Pair David Arnold
@ 2005-12-20  8:17 ` Sytse Knypstra
  2005-12-20 18:15   ` David Arnold
  0 siblings, 1 reply; 4+ messages in thread
From: Sytse Knypstra @ 2005-12-20  8:17 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Example -- Solution Pair
  2005-12-20  8:17 ` Sytse Knypstra
@ 2005-12-20 18:15   ` David Arnold
  2005-12-20 20:21     ` Willi Egger
  0 siblings, 1 reply; 4+ messages in thread
From: David Arnold @ 2005-12-20 18:15 UTC (permalink / raw)


What does the coupling do?

On Dec 20, 2005, at 12:17 AM, Sytse Knypstra wrote:

> 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
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Example -- Solution Pair
  2005-12-20 18:15   ` David Arnold
@ 2005-12-20 20:21     ` Willi Egger
  0 siblings, 0 replies; 4+ messages in thread
From: Willi Egger @ 2005-12-20 20:21 UTC (permalink / raw)


Hi David,

The coupling is used for screendocs, where interaction has to take 
place. You can read this in the cont-enp.pdf ;-)

Willi

David Arnold wrote:

> What does the coupling do?
>
> On Dec 20, 2005, at 12:17 AM, Sytse Knypstra wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-20 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-20  5:21 Example -- Solution Pair David Arnold
2005-12-20  8:17 ` Sytse Knypstra
2005-12-20 18:15   ` David Arnold
2005-12-20 20:21     ` Willi Egger

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).