ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to achieve a LaTeX-center-like thing
@ 2011-09-06 10:19 Marcin Borkowski
  2011-09-06 10:23 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2011-09-06 10:19 UTC (permalink / raw)
  To: ConTeXt mailing list

Hi,

I'd like to have something like this:

  Let $X$ be a~real Banach space, $D$~an open subset of~$X$
  containing~$0$ and $T$ a~continuous mapping from $\overbar{D}$
  to~$X$.  We say that $T$ satisfies the {\em Mönch condition} if the
  following implication holds:
  \blank[small]
  \startalignment[middle]
    If $C\subset\overbar{D}$ is countable and
    $C\subset\clconv\bigl(\{0\}\cup F(C)\bigr)$, then
    $\overbar{C}$ is compact.
  \stopalignment
  \blank[small]

Is there any option for alignment which would enable me not to put the
blanks manually?

TIA,

-- 
Marcin Borkowski
http://mbork.pl

___________________________________________________________________________________
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] 2+ messages in thread

* Re: How to achieve a LaTeX-center-like thing
  2011-09-06 10:19 How to achieve a LaTeX-center-like thing Marcin Borkowski
@ 2011-09-06 10:23 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-09-06 10:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 06.09.2011 um 12:19 schrieb Marcin Borkowski:

> Hi,
> 
> I'd like to have something like this:
> 
>  Let $X$ be a~real Banach space, $D$~an open subset of~$X$
>  containing~$0$ and $T$ a~continuous mapping from $\overbar{D}$
>  to~$X$.  We say that $T$ satisfies the {\em Mönch condition} if the
>  following implication holds:
>  \blank[small]
>  \startalignment[middle]
>    If $C\subset\overbar{D}$ is countable and
>    $C\subset\clconv\bigl(\{0\}\cup F(C)\bigr)$, then
>    $\overbar{C}$ is compact.
>  \stopalignment
>  \blank[small]
> 
> Is there any option for alignment which would enable me not to put the
> blanks manually?

\definestartstop
  [centered]
  [before={\blank[small]},
   after={\blank[small]},
   commands={\setupalign[middle]}]

\starttext

…

\startcentered
…
\stopcentered

…

\stoptext

Wolfgang

___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2011-09-06 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-06 10:19 How to achieve a LaTeX-center-like thing Marcin Borkowski
2011-09-06 10:23 ` Wolfgang Schuster

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