ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: \qedhere equivalent in ConTeXt
@ 2011-01-21 19:11 Stefan Müller
  0 siblings, 0 replies; 10+ messages in thread
From: Stefan Müller @ 2011-01-21 19:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi list,

I tried something similar to (Mk IV version 2011.11.18 19:34):

Am 06.08.10 15:46, schrieb Wolfgang Schuster:
> \setupdescriptions
> [proof]
> [width=broad,
> distance=0.5em,
> location=serried,
> headstyle=it,
> indentnext=yes,
> indenting=yes,
> closesymbol=\mathematics{\square},
> closecommand=\ifmmode\eqno\else\wordright\fi]
>
> Wolfgang

I hope I can get help on an issue I have with this. Please consider the 
minimal example:

\starttext
\definedescription[proof][text=Proof., width=fit, location=serried, 
indenting=yes, closesymbol=\mathematics{\square}, 
closecommand=\ifmmode\eqno\else\wordright\fi]

\startproof
	\input knuth
\stopproof
\startproof
	conclusion conclusion conclusion conclusion conclusion conclusion 
conclusion.
\stopproof
\stoptext

I don't know how to achieve this, but I would like to have the squares 
at the end of both "proofs" one line higher than they are now and placed 
right, as in (consider the extra space, which avoids the hyphenation):

\startproof
	conclusion conclusion conclusion conclusion conclusion conclusion 
conclu sion.
\stopproof

Any help appreciated. Thanks in advance,
Stefan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread
* \qedhere equivalent in ConTeXt
@ 2010-08-05  9:59 Emanuele Sacco
  2010-08-05 11:58 ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Emanuele Sacco @ 2010-08-05  9:59 UTC (permalink / raw)
  To: ntg-context

Hi all,

I'have simulated the proof environment whit the following code:


%%%%%%%%%%%%%%%%%%%

\definedescription
[proof]
[text=Proof.]

\setupdescriptions[proof]
[width=broad,distance=0.5em,
location=serried,
headstyle=it,
indentnext=yes,
indenting=yes,
closesymbol=$\square$]

%%%%%%%%%%%%%%%%%%%%

I wanted to know if there is an equivalent of the command \qedhere
(LaTeX command) to solve the problem that arises when the environment
ends with a displayed equation.

Thanks.

Emanuele Sacco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-01-21 19:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-21 19:11 \qedhere equivalent in ConTeXt Stefan Müller
  -- strict thread matches above, loose matches on Subject: below --
2010-08-05  9:59 Emanuele Sacco
2010-08-05 11:58 ` Wolfgang Schuster
2010-08-05 15:09   ` Emanuele Sacco
2010-08-05 18:02     ` Wolfgang Schuster
2010-08-05 20:17       ` Emanuele Sacco
2010-08-06 13:46         ` Wolfgang Schuster
2010-08-07  8:54           ` Emanuele Sacco
2010-08-07  9:01             ` Thomas Schmitz
2010-08-07  9:34               ` Emanuele Sacco

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