views:

240

answers:

3

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.

+2  A: 

Oh. It's the \phantom{} command

\begin{equation}
    \begin{split}
        f = & \left( \frac{a}{b} + \right. \\
                   & \left. \phantom{\frac{a}{b}} c \right) + d 
    \end{split}
\end{equation}
cheshirekow
its indeed tricky - phantom vs. ghost :-)
moritz
+2  A: 
Alok
Yeah, I actually saw that when I found phantom on google. But you're right. Bonus points for the awesome reference. Thanks!
cheshirekow
Thanks. I like that document a lot. Anyway, I would have made my post into a comment, but I felt that there was enough independent information to make it a reply.
Alok
+1 for sweet link
forefinger
A: 

You can also use \big( \big) to set the size specifically.

The order goes (, \big(, \Big(, \bigg(, \Bigg( for increasing bigness.

forefinger
yeah, I've used that before, but I don't like having to specify manually... I'm always afraid of having to change the stuff inside and then not notice that the parentheses don't match.
cheshirekow