ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mikael Sundqvist <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: mathalignment; alignment of columns
Date: Fri, 24 Nov 2023 23:06:53 +0100	[thread overview]
Message-ID: <CAHy-LL_QWYNTGf8CwZbXFQFtT2r=zmaDU+NeHr10kp6Ab-PRng@mail.gmail.com> (raw)
In-Reply-To: <170086342201.1556.14119350974941403858@cgl.ntg.nl>

Hi,

try

\startmathalignment[n=2,align={1:left,2:right}]

I think this was changed two or three years ago.

/Mikael

On Fri, Nov 24, 2023 at 11:04 PM wolfgangbackes--- via ntg-context
<ntg-context@ntg.nl> wrote:
>
> Something as elementary as "mathenvironment" can't really be faulty, can it? According to my recent tests, a mathalignment environment does not seem to react (any more) to the values of the "align" option.
> The source code hab been rendered correctly a few years ago,
>
> Minimal example 1:
>
> \starttext
> \startformula
> \startmathalignment[n=2,align={left, right}]
> \NC always aligned to the right \NC = u + at, \NR
> \NC d \NC = ut + \frac12 at^2. \NR
> \stopmathalignment
> \stopformula
> \stoptext
>
> Despite "align={left, right}", the first column is aligned to the right and the second to the left. This does not change, no matter which values I assign to "align", for example align={middle, middle}.
>
> The align option is also ignored in the case of other column numbers., for example:
>
> \starttext
> \startformula
> \startmathalignment[n=1,align=left]
> \NC This single column should \NR
> \NC be left-aligned, \NR
> \NC but it is centered. \NR
> \stopmathalignment
> \stopformula
> \stoptext
>
>  What am I missing here? Where is my mistake?
>
> Regards
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-11-24 22:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-24 22:03 [NTG-context] " wolfgangbackes--- via ntg-context
2023-11-24 22:06 ` Mikael Sundqvist [this message]
2023-11-24 22:15   ` [NTG-context] " wolfgangbackes--- via ntg-context
2023-11-24 22:22     ` Mikael Sundqvist
2023-11-25  9:29       ` wolfgangbackes--- via ntg-context
2023-11-25 11:22       ` wolfgangbackes--- via ntg-context
2023-11-25 15:06         ` Mikael Sundqvist
2023-11-28 16:48           ` wolfgangbackes--- 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_QWYNTGf8CwZbXFQFtT2r=zmaDU+NeHr10kp6Ab-PRng@mail.gmail.com' \
    --to=mickep@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).