Re: typing/formatting multi-part definition with alignment
- To: mathgroup at smc.vnet.net
- Subject: [mg41081] Re: [mg41067] typing/formatting multi-part definition with alignment
- From: Bobby Treat <drmajorbob+MathGroup3528 at mailblocks.com>
- Date: Thu, 1 May 2003 05:00:03 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Pull up the BasicTypesetting palette and click on the pattern that
looks like a bracket followed by two vertically stacked boxes. Push
Ctrl+, to add a second column (for the conditions, perhaps) or
Ctr/+enter to add a row if needed. In these boxes you can put the
right-hand side of the display you want.
If you replace the "{" with a parenthesis "(" it will automatically
increase in size to fit the rows. If you want to use "{", select the
cell and open the Options inspector with Ctrl-shift-O. Search for
SpanMaxSize and change the option value to Infinity. (Why we'd ever
want it to be anything else, I have no idea!) The resulting cell
shouldn't be evaluated, of course.
To get a clue what's going on, put your cursor in the cell and press
Ctrl-shift-E. (That's a toggle, so do the same thing to get back to
normal.) That gives you a template that could be used to create such
displays via code. (Eventually.)
Bobby
-----Original Message-----
From: Murray Eisenberg <murraye at attbi.com>
To: mathgroup at smc.vnet.net
Subject: [mg41081] [mg41067] typing/formatting multi-part definition with
alignment
A basic mathematical type-setting operation is to build up a display of
a form such as
/ 0 if t < 0,
f(t) = <
\ 1 if t >= 0.
where what I have typed here with the < sign, forward slash, and
backward slash stands for a large curly brace. This display is to
appear using Traditional math notation and to be part of a text cell.
How can one (preferably, easily) type such a thing in Mathematica?
I have read previous MathGroup posts about aligning on = signs and the
like, and none seem to respond to this entire question (and even
aligning on = signs for just several lines of equations is quite
difficult).
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305