[NTG-context] math: formula alignment: confusion about `left` and `right` alignment

2011-07-24 Thread Paul Menzel
Dear ConTeXt folks,


looking at the Wiki page about changing the formula alignment [1] and
testing the following minimal example, which is also attached, I would
have thought that `align=right` would mean, that the formula is put to
the right side. But is aligned to the left side instead.

--- 8 --- minimal example --- 8 ---
\starttext

Right align.
\setupformulas[align=right]
\startformula
ℕ ⊂ ℝ
\stopformula

Left align.
\setupformulas[align=left]
\startformula
ℝ ⊂ ℂ
\stopformula
\stoptext
--- 8 --- minimal example --- 8 ---

What is wrong with the way I am looking at this?

Searching for »latex align formula left right« I could not find an
answer either.


Thanks,

Paul


[1] http://wiki.contextgarden.net/Math/Display#Changing_Formula_alignment


align.pdf
Description: Adobe PDF document
\starttext

Right align.
\setupformulas[align=right]
\startformula
ℕ ⊂ ℝ
\stopformula

Left align.
\setupformulas[align=left]
\startformula
ℝ ⊂ ℂ
\stopformula
\stoptext


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] math: formula alignment: confusion about `left` and `right` alignment

2011-07-24 Thread Ondřej Hošek
On 24.07.2011, at 16:37, Paul Menzel paulepan...@users.sourceforge.net wrote:

 What is wrong with the way I am looking at this?

Nothing; the reasons are historical. When defining left and right, the 
author thought of raggedleft (the text is ragged on the left) instead of 
flushleft.

To avoid confusion, you may want to use flushleft and flushright explicitly.

Cheers,
~~ Ondra
___
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
___