# [NTG-context] typesetting proofs

debongnie at math.ucl.ac.be debongnie at math.ucl.ac.be
Fri Nov 18 15:50:48 CET 2005

Dear ConTeXt users,

i am trying to typeset correctly proofs in a document.
I tried to use the following definition :

\defineenumeration[preuve]
[location=serried,
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