MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Aligning Typeset Math on Equal Signs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121486] Re: Aligning Typeset Math on Equal Signs
  • From: Tom <tidetabletom at gmail.com>
  • Date: Sat, 17 Sep 2011 06:25:20 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201109150839.EAA29158@smc.vnet.net> <j4v65g$c6o$1@smc.vnet.net>

> > 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




  • Prev by Date: Re: List Manipulation- Advanced beginner question
  • Next by Date: Re: List Manipulation- Advanced beginner question
  • Previous by thread: Re: Aligning Typeset Math on Equal Signs
  • Next by thread: Re: Aligning Typeset Math on Equal Signs