cheshirekow - 1 year ago 94
LaTeX Question

# How do you make parentheses match height when they're split between lines in LaTeX math?

Consider the following example


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



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?

You should use \vphantom, it makes a vertical space equal to its argument and no horizontal space:
$$\begin{split} f = & \left( \frac{a}{b} + \right. \\ & \left. \vphantom{\frac{a}{b}} c \right) + d \end{split}$$

(I recommend \vphantom over \phantom in this case because \phantom adds horizontal space that you don't need.)