Re: Arrays of equations
- To: mathgroup at smc.vnet.net
- Subject: [mg12758] Re: [mg12746] Arrays of equations
- From: Carl Woll <carlw at fermi.phys.washington.edu>
- Date: Wed, 10 Jun 1998 03:04:18 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Hi Issac, The option you need to set is the ColumnAlignments option for GridBox. 1. Select the cell which contains the GridBox (table). 2. Bring up the OptionInspector, e.g., from the menu, select Format | OptionInspector 3. Make sure the scope is set to selection. 4. Find the correct option. The simplest way to do this is to type ColumnAlignments in the Lookup box. 5. Change the option to {Left,Right,Left} 6. Hit Return and close the OptionInspector. Although the above should do what you wanted, you might consider using the \[AlignmentMarker] character to align things. The alias is esc a m esc. For example, type into a 2 x 1 GridBox f(x)+g(x) esc a m esc = h(x)+q(x) g(x) esc a m esc = h(x)+q(x)-f(x) and set the ColumnAlignments option to {\[AlignmentMarker]}. Carl Woll Dept of Physics U of Washington On Fri, 5 Jun 1998, Issac Trotts wrote: > Hi all, > > I'd like to make an array of equations looking like this: > > f(x) + g(x) = h(x) - q(x) > => g(x) = h(x) - q(x) - f(x) > > etc. > > I've been doing this with a table: making four columns, one for the =>, > one for the left hand side of the equation, one for the equals sign, > and one for the right hand side of the equation. This works fine, > except that everything is centered in each column of the table. If I > could right-align the stuff to the left of the "=" and left-align the > stuff to the right, I would be happy. Does anyone know how to do this? > > thanks, > Issac > >