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

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

Voila!

ref: LaTeX Community

Cite as:

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

2. +1 - cheers!

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

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

5. Amazing, thanks a lot for sharing this knowledge.

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

7. Thanks! I also like the solution provided by yNot.

8. Worked, :P. Thanks my boy!