ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* math: formula alignment: confusion about `left` and `right` alignment
@ 2011-07-24 14:37 Paul Menzel
  2011-07-24 18:57 ` Ondřej Hošek
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Menzel @ 2011-07-24 14:37 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 813 bytes --]

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

[-- Attachment #1.1.2: align.pdf --]
[-- Type: application/pdf, Size: 11864 bytes --]

[-- Attachment #1.1.3: align.tex --]
[-- Type: text/x-tex, Size: 195 bytes --]

\starttext

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

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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: math: formula alignment: confusion about `left` and `right` alignment
  2011-07-24 14:37 math: formula alignment: confusion about `left` and `right` alignment Paul Menzel
@ 2011-07-24 18:57 ` Ondřej Hošek
  0 siblings, 0 replies; 2+ messages in thread
From: Ondřej Hošek @ 2011-07-24 18:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 24.07.2011, at 16:37, Paul Menzel <paulepanter@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
___________________________________________________________________________________


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

end of thread, other threads:[~2011-07-24 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-24 14:37 math: formula alignment: confusion about `left` and `right` alignment Paul Menzel
2011-07-24 18:57 ` Ondřej Hošek

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