Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5017

Re: Aligning Typeset Math on Equal Signs

From Tom <tidetabletom@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Aligning Typeset Math on Equal Signs
Date 2011-09-17 10:25 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j51sja$pc9$1@smc.vnet.net> (permalink)
References <201109150839.EAA29158@smc.vnet.net> <j4v65g$c6o$1@smc.vnet.net>

Show all headers | View raw


> > Hello everyone,
>
> > How can align my typeset equations on the equal signs?  I'm doing the typesetting in Text cells.
>
> > Gregory

HI,  there are always lots of ways to do things.  Not sure if this is
useful....

Below is a text cell with three lined up equations.   You can copy and
paste this into Mathematica, then use the cell Menu and Show
Expression to view it normally.

Cell[TextData[Cell[BoxData[
 FormBox[GridBox[{
    {GridBox[{
       {
        RowBox[{
         RowBox[{
          RowBox[{"2", "x"}], "-",
          RowBox[{"3", "y"}]}], "=", "5"}]},
       {
        RowBox[{
         RowBox[{
          RowBox[{
           FractionBox["1", "2"], "x"}], "-", "y"}], "=", "1"}]},
       {
        RowBox[{
         RowBox[{
          RowBox[{"2", "x"}], "-", "5"}], "=", "12"}]}
      },
      GridBoxAlignment->{"Columns" -> {{"="}}}]}
   },
   GridBoxItemSize->{"Columns" -> {{
        Scaled[1]}}}], TraditionalForm]]]], "Text"]




Hit control and return to add  a new line

I keep that handy for when I am typing systems, etc.

TOM

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Aligning Typeset Math on Equal Signs Tomas Garza <tgarza10@msn.com> - 2011-09-16 09:50 +0000
  Re: Aligning Typeset Math on Equal Signs Tom <tidetabletom@gmail.com> - 2011-09-17 10:25 +0000
    Re: Aligning Typeset Math on Equal Signs "Kevin J. McCann" <kjm@KevinMcCann.com> - 2011-09-18 08:21 +0000

csiph-web