[OS X TeX] Effect of `leqno' on \begin{gather} and \begin{align}

Morten Høgholm morten.hoegholm at gmail.com
Tue Apr 19 05:27:41 EDT 2011


On Tue, Apr 19, 2011 at 2:06 AM, Ross Moore <ross.moore at mq.edu.au> wrote:

> In the preamble, increase a margin as follows:
>
>  \addtolength{\leftmargini}{10pt}
>
> You may want to experiment with the amount of the increase.
> Beware that it affects other things too, such as the indent
> for top-level lists.

What amsmath does is to first set the internal parameter \@mathmargin
to -1sp (because of the fleqn option) and then \AtBeginDocument set it
equal to \leftmargini. The internal name is also mapped to the
standard LaTeX parameter \mathindent.

So what one ought to do is add
\AtBeginDocument{
  \addtolength\mathindent{10pt}% or whatever it needs to be increased to
}

Note that in case \leftmargini is non-positive, you get a bad, bad
error (see http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=amslatex/3614)


-- 
Morten



More information about the MacOSX-TeX mailing list