Saturday, February 7, 2009

LaTeX: Vertical Spacing in Multiline Equations

To add some extra spacing in multiline equation environments (such as align or gather), you can use the \jot command either in the preamble which will affect all your multiline equations, or only locally.

\setlength{\jot}{height}

Here’s an example

\begin{align*}
\setlength{\jot}{12pt}
a + c^3 & = 0 \\
a + b^2 & = 0 \\
d + c^{-1} & = 10 \\
d + a^2 & = \pi
\end{align*}

it looks like this

Voila!

ref: LaTeX Community


Cite as:
Saad, T. "LaTeX: Vertical Spacing in Multiline Equations". Weblog entry from Please Make A Note. http://pleasemakeanote.blogspot.com/2009/02/latex-vertical-spacing-in-multiline.html

9 comments:

  1. Thanks very much for posting this! Very handy.

    ReplyDelete
  2. I can't get this example to work. It doesn't work locally. It will only work globally when it is in the preamble.

    ReplyDelete
  3. try specifying the line skip value manually: \\[12pt]

    ReplyDelete
  4. Amazing, thanks a lot for sharing this knowledge.

    ReplyDelete
  5. Very effective formula, it seems that you are a great mathematician, I wonder if you have more formulas like this one!

    ReplyDelete
  6. Thanks! I also like the solution provided by yNot.

    ReplyDelete