• No results found

Correction Spacings: eqnarray(*), aligned, alignedat, and gathered

N/A
N/A
Protected

Academic year: 2021

Share "Correction Spacings: eqnarray(*), aligned, alignedat, and gathered"

Copied!
2
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Correction Spacings: eqnarray(*), aligned,

alignedat, and gathered

Yuwsuke Kieda

2017/04/04 v1.1

1

Descriptions

We will realignment some expression environments spacing. It is a correction in the horizontal spacing of the alignment.

2

Usage

2.1

Preamble

\usepackage{amsmath}

\usepackage{correctmathalign}

Remark: amsmath package is optional: if you use aligned, alignedat, or gathered environments.

Remark: The problem with the amsmath package (2016/11/05 2.16a) was solved by the original. See the options alignedleftspaceyes, alignedleftspaceno, and alignedleftspaceyesifneg. We dealt with versions prior to 2016/03/10 v2.15b.

2.2

Options

– latexorg: original behavior of LaTeX/amsmath package

– fleqn: corresponds to class file and/or amsmath package’s fleqn option

3

File with Original Definitions

– eqnarray: latex.ltx

– \start@aligned and \gathered: amsmath.sty (before 2016/03/10 v2.15b)

(2)

I = H(x + 1) I = H(x)

= H(x + 1)

Figure 1: eqnarray* environment by LATEX default.

I = H(x) = H(x + 1) I = H(x)

= H(x + 1)

Figure 2: aligned environment by amsmath.sty default (before 2016/03/10 v2.15b).

4

License

BSD 2-Clause License

5

Samples

Cf. defaults of LATEX and amsmath.sty before 2016/03/10 v2.15b (Figures 1

and 2). I = H(x + 1) I = H(x) = H(x + 1) I = H(x) = H(x + 1) I = H(x) = H(x + 1)

5.1

Use L

A

TEX code

\[

\mathrm{I} = \mathrm{H}(x + 1) \]

\begin{eqnarray*}

\mathrm{I} &=& \mathrm{H}(x)\\ &=& \mathrm{H}(x + 1) \end{eqnarray*}

\begin{align*}

\mathrm{I} & \begin{aligned}[t] &= \mathrm{H}(x)\\ &= \mathrm{H}(x + 1) \end{aligned}\\ \mathrm{I} &= \mathrm{H}(x)\\

&= \mathrm{H}(x + 1) \end{align*}

Referenties

GERELATEERDE DOCUMENTEN

See the docu- mentation for the color package, but with a ‘gray’ model, I find .97 looks good out of my printer, while a darker shade like .92 is needed to make it copy well...

Unlike the other amsmath equation structures, the split environment provides no numbering, because it is intended to be used only inside some other displayed equation structure,

\x@calc@shift@rf To start, we need to know two quantities: the number of align structures in the current row and the “effective length” of the row, defined as the distance from the

If you used the plain.tex versions of \matrix, \pmatrix, or \cases in a doc- ument and then later converted the document to use the amsmath package (or one of the AMS

(Naturally , this w orks o n ly with p dfLaT eX.) The result is that the te xt is view able online without the reader ha ving to rotate his/her head 90 degrees... This is where the

For example, the code point U+006E (the Latin lowercase ”n”) followed by U+0303 (the combining tilde) is defined by Unicode to be canonically equivalent to the single code point

The target is to provide easy access to fonts with a matching Mathematics font available in TeX distri- butions plus a few commercial if available.. The package will include more

Repeat the previous step for all MinionPro and MyriadPro fonts from the installation of the free Adobe Acrobat Reader.. Repeat the above for the MS-Garamond fonts (Gara.ttf,