ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: typesetting proofs
Date: Mon, 21 Nov 2005 09:42:49 +0100	[thread overview]
Message-ID: <43818889.9080303@elvenkind.com> (raw)
In-Reply-To: <200511181450.PAA24997@socrate.sc.ucl.ac.be>


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

  reply	other threads:[~2005-11-21  8:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18 14:50 debongnie
2005-11-21  8:42 ` Taco Hoekwater [this message]
2006-11-07  7:36 Dalyoung Jeong
2006-11-14 15:18 ` Hans Hagen
2006-11-14 15:36 ` Taco Hoekwater

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=43818889.9080303@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).