Re: [NTG-context] Math Formula Alignment

2023-02-24 Thread Lutz Haseloff via ntg-context

Thank you Hans!

Alignment works again as expected and documented in the Wiki.

Greetings Lutz

Am 23.02.2023 um 14:53 schrieb Hans Hagen via ntg-context:

On 2/18/2023 3:04 PM, Mikael Sundqvist via ntg-context wrote:

Hi,

On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context
 wrote:


Hi Hans, hi all,

the alignment of formulas seems broken:

\setuppapersize[A5]
\starttext
\setuplayout[textwidth=8cm]
\setupformulas[align=left]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=left]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\stoptext

All formulas are centered with ConTeXt ver: 2023.02.14 17:44 LMTX

Greetings Lutz


Indeed, but align=flushleft and align=flushright seems to work.

i'll add the aliases

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___ 

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


maillist : ntg-context@ntg.nl / 
https://www.ntg.nl/mailman/listinfo/ntg-context

webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___ 


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Math Formula Alignment

2023-02-23 Thread Hans Hagen via ntg-context

On 2/18/2023 3:04 PM, Mikael Sundqvist via ntg-context wrote:

Hi,

On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context
 wrote:


Hi Hans, hi all,

the alignment of formulas seems broken:

\setuppapersize[A5]
\starttext
\setuplayout[textwidth=8cm]
\setupformulas[align=left]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=left]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\stoptext

All formulas are centered with ConTeXt ver: 2023.02.14 17:44 LMTX

Greetings Lutz


Indeed, but align=flushleft and align=flushright seems to work.

i'll add the aliases

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Math Formula Alignment

2023-02-18 Thread Mikael Sundqvist via ntg-context
Hi,

On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context
 wrote:
>
> Hi Hans, hi all,
>
> the alignment of formulas seems broken:
>
> \setuppapersize[A5]
> \starttext
> \setuplayout[textwidth=8cm]
> \setupformulas[align=left]
> \startformula c^2 = a^2 + b^2 \stopformula
> \setupformulas[align=middle]
> \startformula c^2 = a^2 + b^2 \stopformula
> \setupformulas[align=right]
> \startformula c^2 = a^2 + b^2 \stopformula
> \setupformulas[align=left]
> \placeformula \startformula c^2 = a^2 + b^2 \stopformula
> \setupformulas[align=middle]
> \placeformula \startformula c^2 = a^2 + b^2 \stopformula
> \setupformulas[align=right]
> \placeformula \startformula c^2 = a^2 + b^2 \stopformula
> \stoptext
>
> All formulas are centered with ConTeXt ver: 2023.02.14 17:44 LMTX
>
> Greetings Lutz

Indeed, but align=flushleft and align=flushright seems to work.

/Mikael
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Math Formula Alignment

2023-02-18 Thread Lutz Haseloff via ntg-context


 
 
   
   
Hi Hans, hi all,

   
 

   
the alignment of formulas seems broken:

   
 

   
\setuppapersize[A5]
\starttext
\setuplayout[textwidth=8cm]
\setupformulas[align=left]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=left]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=middle]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\setupformulas[align=right]
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
\stoptext

   
 

   
All formulas are centered with ConTeXt ver: 2023.02.14 17:44 LMTX

   
 

   
Greetings Lutz

   
 

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[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
___