From: Hans Hagen <pragma@wxs.nl>
Subject: Re: LaTeX array equivalence with multiline \lbrace
Date: Wed, 25 Jan 2006 13:22:18 +0100 [thread overview]
Message-ID: <43D76D7A.7060106@wxs.nl> (raw)
In-Reply-To: <Pine.WNT.4.63.0601241835500.2044@nqvgln>
Aditya Mahajan wrote:
><--- On Jan 24, Renaud AUBIN wrote --->
>
>
>
>>With LaTeX, I have
>>$$
>>\left\lbrace
>>\begin{array}{l}
>> \dot{q}_i = 1 \quad\text{ if } i=k \\
>> \dot{q}_i = 0 \quad\text{ else}
>>\end{array}
>>\right
>>$$
>>
>>
>
>Well the ConTeXt way (rather the TeX way) of doing this is to use
>\cases.
>
>$$
> \cases{
> \dot q_i = 1, & \text{ if } i = k \cr
> \dot q_i = 0, & \text{ else } \cr
> }
>$$
>
>
maybe we should add a left|right option to the new align mechanism so that one can define such constructs .. does that make sense?
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-01-25 12:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-24 19:23 Renaud AUBIN
2006-01-24 23:37 ` Aditya Mahajan
2006-01-25 12:22 ` Hans Hagen [this message]
2006-01-25 13:10 ` Renaud AUBIN
2006-01-25 16:32 ` Aditya Mahajan
2006-01-25 16:41 ` Renaud AUBIN
2006-01-26 21:50 ` Hans Hagen
2006-01-26 22:28 ` Renaud AUBIN
2006-01-27 2:08 ` Aditya Mahajan
2006-01-27 8:33 ` Hans Hagen
2006-01-27 9:34 ` Taco Hoekwater
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=43D76D7A.7060106@wxs.nl \
--to=pragma@wxs.nl \
--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).