TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is gather* with one line of math equivalent to displaymath?

share|improve this question
Does this question regarding difference between displaymath and equation environments answer your question? – Peter Grill Nov 2 '11 at 19:14
By "equivalent", do you mean in terms of spacing and alignment (both vertical and horizontal)? – Werner Nov 2 '11 at 19:24
up vote 10 down vote accepted

No, it is not: the vertical spaces before and after the display are different.

\noindent Text

enter image description here

share|improve this answer

Also, if you have a very long equation in a \[...\], the space between the binary operators (like + and \times) will shrink to make the equation break the margin as little as possible (as happens with an equation in an ordinary paragraph; I'm assuming you're using Computer Modern fonts here). This space never shrinks inside a \begin...\end{gather*}.

This space also shrinks when necessary in an equation in \begin...\end{equation}, and never in an equation in \begin...\end{gather}.

By the way, very old versions of amsmath did define \[...\] and \begin...\end{equation} as a one-line \begin...\end{gather*} and \begin...\end{gather}, respectively. See "Changes in amsmath 2.0" here. The first edition (1994) of The LaTeX Companion is no longer correct about \[...\] and \begin...\end{equation} (see page 243).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.