[NTG-context] typesetting proofs

Taco Hoekwater taco at elvenkind.com
Mon Nov 21 09:42:49 CET 2005


I've done similar things like this:

  \defineenumeration[Preuve]
    [location=serried,
     headstyle=slanted,
     text=Preuve,
     number=no,
     after=]

  \definestartstop[preuve]
    [before=\startPreuve,
     after=\hfil\QED\stopPreuve]

Greetings, Taco

debongnie at math.ucl.ac.be wrote:
> Dear ConTeXt users,
> 
> i am trying to typeset correctly proofs in a document. 
> I tried to use the following definition :
> 
> \defineenumeration[preuve]
>   [location=serried,
>    headstyle=slanted,
>    text=Preuve,
>    number=no,
>    after={\hfil\QED}]
> 
> It's almost what i want, but there's a slight problem. 
> The command after executes itself after a newline, so,
> the QED symbol is typeset at the line after the end of
> the proof.  What i'd like to have is the qed symbol at
> the end of the last line of the proof.  Any insight on
> how i can do that?
> 
> Thanks
> _______________________________________________
> 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