From: Hans Aberg <haberg-1@telia.com>
To: Wolfgang Schuster <schuster.wolfgang@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Math alignment
Date: Tue, 7 Jul 2015 10:30:49 +0200 [thread overview]
Message-ID: <EC62CDD2-619C-4F43-B79C-7DFF9EF078A4@telia.com> (raw)
In-Reply-To: <559B3D6D.1040607@gmail.com>
> On 7 Jul 2015, at 04:46, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
>> The spacing is different in cases - TeX also has such a variation. Specifically, there is extra space before the conditionals.
>>
>> In addition, it seems \startmathcases ... \stopmathcases is not working with UTF-8: in the example below, the ω’s on the second line, after the arrows, disappear in my PDF.
> This is explained in section 8 of the document:
FYI, the TeX Live 2015 version from 2007 called context-latex-math.pdf does not have ch. 8.
> There are two ways of specifying the second column — \MC (Math Column)
> and \NC (New Column). If \MC is used, the second column is in \math mode,
> with \NC it is in ‘text mode’.
I get errors when using \MC - see example below.
But the spacing is wrong: too much between the two components. These are not cases, but aligned formulas: one might have a number of alignments, not just one. And I just happen to use left braces on them.
----
\starttext
\startformula
J^j:\startmathcases\NC ω^0 \MC → 0 \NR \NC ω^j \MC → 0 \stopmathcases \quad
\startmathcases \NC ω^k \MC → ω^l \NR \NC ω^l \MC → -ω^k \stopmathcases
\stopformula
\stoptext
----
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2015-07-07 8:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-06 9:24 Hans Aberg
2015-07-06 22:08 ` Wolfgang Schuster
2015-07-06 23:46 ` Hans Aberg
2015-07-07 2:46 ` Wolfgang Schuster
2015-07-07 8:30 ` Hans Aberg [this message]
2015-07-07 14:47 ` Wolfgang Schuster
2015-07-07 16:23 ` Hans Aberg
2015-07-07 18:17 ` Wolfgang Schuster
2015-07-07 18:53 ` Hans Aberg
2015-07-07 19:18 ` Wolfgang Schuster
2015-07-07 19:21 ` Hans Aberg
2015-07-07 19:11 ` Hans Aberg
2015-07-07 19:49 ` Wolfgang Schuster
2015-07-07 20:01 ` Hans Aberg
2015-07-07 20:56 ` Hans Aberg
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=EC62CDD2-619C-4F43-B79C-7DFF9EF078A4@telia.com \
--to=haberg-1@telia.com \
--cc=ntg-context@ntg.nl \
--cc=schuster.wolfgang@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).