ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Math alignment problem
Date: Mon, 19 Jan 2009 19:37:36 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.00.0901191922410.4250@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <20090120000131.GU7622@atos.labs.wmid.amu.edu.pl>

On Tue, 20 Jan 2009, Marcin Borkowski wrote:

> Dnia Sat, Jan 10, 2009 at 07:14:58PM -0500, Aditya Mahajan napisa&#322;(a):
>>>> On Sat, 10 Jan 2009, Marcin Borkowski wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'd like to typeset a system of simultaneous equations.  I want it to
>>>>> have a brace on the left (like "cases"), but inside I want it to have
>>>>> two columns aligned like "align".  Also, I'd like to have the vertical
>>>>> space between the equations be small (like in cases), not so big as in
>>>>> align.
>>>>>
>>>>> How to do this?
>
> (answers cut)
>
> Thank you very much.  But one thing still puzzles me: the vertical
> distance between the cases.  How to increase it?  (Shouldn't there be a
> parameter for this?  But I couldn't find one...)

For matrix, the current definition works hard so that you cannot change 
vertical distance. For simultaneous equations, you need a math strucutre 
which ConTeXt does not provide.

>From what I understand amsmath hasthere are three kinds of math 
"strucures"

1. Outer display structures (equation, align, gather, and multline)
2. Inner display structures (aligned, gathered, and multlined (provided by 
mathtools package))
3. Inner inline structures (matrix, cases, etc).

The first two display structures have \displaystyle set and have "loose" 
spacing. The last inline structure has no \displaystyle set and has 
"tight" spacing. So, what you need for simultaneous equations is something 
from class 2 with the ability to put a brace on the left (empheq package 
in latex allows you to do this with aligned, etc).

Currently, ConTeXt does not provide anything of class 2. It is easy to 
provide it (one just needs to copy the definitions of mathalign but not 
set the width of hbox to be textwidth), but everytime I start working on 
it I get distracted by the bigger problem---ConTeXt is not as good as it 
can be for outer display.

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-01-20  0:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-10 17:53 Marcin Borkowski
2009-01-10 18:15 ` Aditya Mahajan
2009-01-10 18:31   ` Marcin Borkowski
2009-01-11  0:14     ` Aditya Mahajan
2009-01-20  0:01       ` Marcin Borkowski
2009-01-20  0:37         ` Aditya Mahajan [this message]
2022-09-22 10:56 Jan-Erik Hägglöf via ntg-context
2022-09-22 12:54 ` Alexandre Christe via ntg-context
2022-09-22 20:53   ` Jan-Erik Hägglöf 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=alpine.LNX.2.00.0901191922410.4250@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --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).