ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mikael Sundqvist via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mikael Sundqvist <mickep@gmail.com>
Subject: Re: Math Formula Alignment
Date: Sat, 18 Feb 2023 15:04:50 +0100	[thread overview]
Message-ID: <CAHy-LL_WvGehUHOmL7-ajtfU5sJT6FKpR+Z67RvebQipLEJb6A@mail.gmail.com> (raw)
In-Reply-To: <2078374906.1469495.1676728875694@webmail.strato.com>

Hi,

On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context
<ntg-context@ntg.nl> 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
___________________________________________________________________________________

  reply	other threads:[~2023-02-18 14:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-18 14:01 Lutz Haseloff via ntg-context
2023-02-18 14:04 ` Mikael Sundqvist via ntg-context [this message]
2023-02-23 13:53   ` Hans Hagen via ntg-context
2023-02-24 10:24     ` Lutz Haseloff via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHy-LL_WvGehUHOmL7-ajtfU5sJT6FKpR+Z67RvebQipLEJb6A@mail.gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=mickep@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).