MathGroup Archive 2011

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

Search the Archive

Re: Aligning Typeset Math on Equal Signs

  • To: mathgroup at
  • Subject: [mg121466] Re: Aligning Typeset Math on Equal Signs
  • From: Thomas Dowling <thomasgdowling at>
  • Date: Fri, 16 Sep 2011 05:47:36 -0400 (EDT)
  • Delivered-to:
  • References: <>


I think what you probably require is AlignmentMarker, esc am esc (or

See here ("Math Typsetting Options and Tweaking", )

I do it something like this (I am using Mathematica 7 on a Mac) which I learned from
an old Mathgroup post (I cannot locate the original source)

1. From within the text cell, open an inline cell (Insert-> Typesetting->
Start Inline Cell on a Mac with Mathematica 7)
2.  Type in the equations putting an alignment marker before each equals
sign (ie "esc am esc =" ..)
3.  Close inline cell
4. Select the text WITHIN THE INLINE CELL, and choose TextAlignment ->
OnAlignmentMarker from the Format menu.
5 Click anywhere outside the inline cell.
6 Thats it!

You end up with something like this (should cut-and-paste)

 "This is a text cell\n",
    RowBox[{"a", "+", "b", "+", "c", "+", "d"}], "\[AlignmentMarker]", "=",
    "50"}], TraditionalForm], "\[IndentingNewLine]",
   RowBox[{"a", "\[AlignmentMarker]", "=", "50"}], TraditionalForm]}],
}], "Text",
 CellChangeTimes->{{3.5250825627116632`*^9, 3.525082650843917*^9}}]

I also have this from somewhere (again not originally mine) which might be
of use:

eqns = {a == b + c + d + e, a + b == c + d + e, a + b + c == d + e, a + b +
c + d == e};
Grid[List /@ eqns, Alignment -> "=="]

On Thu, Sep 15, 2011 at 9:39 AM, Gregory Lypny
<gregory.lypny at>wrote:

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

  • Prev by Date: Re: Question on SmoothKernelDistribution, value of computed bandwidth? (vrs. 8.01)
  • Next by Date: Re: Coloring function
  • Previous by thread: Re: Aligning Typeset Math on Equal Signs
  • Next by thread: Re: Aligning Typeset Math on Equal Signs