cheshirekow - 1 year ago 99

LaTeX Question

Consider the following example

`\begin{equation}`

\begin{split}

f = & \left( \frac{a}{b} + \right. \\

& \left. c \right) + d

\end{split}

\end{equation}

In the result, the left parenthesis on the first line is very large, because of the fraction inside. In the second line, since there is no fraction, the parenthesis is small.

How can I make the one on the second line match the one on the first line in height?

Recommended for you: Get network issues from **WhatsUp Gold**. **Not end users.**

Answer Source

You should use `\vphantom`

, it makes a vertical space equal to its argument and no horizontal space:

```
\begin{equation}
\begin{split}
f = & \left( \frac{a}{b} + \right. \\
& \left. \vphantom{\frac{a}{b}} c \right) + d
\end{split}
\end{equation}
```

(I recommend `\vphantom`

over `\phantom`

in this case because `\phantom`

adds horizontal space that you don't need.)

For a lot of great advice on typesetting mathematics, have a look at Math mode by Herbert Voß.

Recommended from our users: **Dynamic Network Monitoring from WhatsUp Gold from IPSwitch**. ** Free Download**