Contents

Displays

Typesetting

Displays

Displayed equations keep TEX’s spacing, operator sizes and limits. A display is not re-broken. Instead, the build runs TEX at several widths to learn how the space around and inside the display shrinks, and the viewer uses this to fit it to a narrower column. A display scrolls only when its ink does not fit.

Displayed equations

Displayed equations keep TEX’s spacing, operator sizing, and limit placement:

Nested subscripts, roots and large delimiters are sized as in print:

\section*{Displayed equations}
Displayed equations keep \TeX{}'s spacing, operator sizing, and limit placement:
\[
  \int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi},
  \qquad
  \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6},
  \qquad
  \zeta(s) = \prod_{p\ \mathrm{prime}} \frac{1}{1 - p^{-s}}.
\]
Nested subscripts, roots and large delimiters are sized as in print:
\[
  \lim_{n \to \infty} \left( 1 + \frac{x}{n} \right)^{\! n} = e^{x},
  \qquad
  \sqrt[3]{\,\frac{-q}{2} + \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}\,}.
\]

Display families

The width model is built from the finished boxes, whatever environment produced them. This block shows the standard families.

\section*{Display families}
The width model is built from the finished boxes, whatever environment
produced them. This block shows the standard families.
\[
  \sum_{r=0}^{n} r = \frac{n(n+1)}{2}.
\]
\begin{equation}
  e^{i\pi}+1=0.
\end{equation}
\begin{gather}
  x+y=z, \\
  u+v=w.
\end{gather}
\begin{multline}
  a_1+a_2+a_3+a_4+a_5+a_6 \\
  {}+a_7+a_8+a_9+a_{10}=s.
\end{multline}
\begin{flalign}
  p&=q && r&=s, \\
  t&=u && v&=w.
\end{flalign}
\begin{alignat}{2}
  A&=B \qquad& C&=D, \\
  E&=F & G&=H.
\end{alignat}
\begin{equation}
  \begin{split}
    (x+y)^2 &= x^2+2xy+y^2, \\
    (x-y)^2 &= x^2-2xy+y^2.
  \end{split}
\end{equation}
\[
  \begin{aligned}
    \alpha&=\beta+\gamma, & \delta&=\epsilon, \\
    \zeta&=\eta,         & \theta&=\iota+\kappa,
  \end{aligned}
  \qquad
  \begin{gathered}
    m=n,\\
    r=s.
  \end{gathered}
\]

The model is built from the finished boxes, not from the environment’s name, so displays defined by packages work too. The smallest space kept between the pieces of a display is a viewer option, data-display-min-space.