Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Given is following formula:

\[
a^{(k)}=\left(\begin{array}{c}
a_1^{(k)}\\
\vdots\\
a_n^{(k)}
\end{array}\right)\to\left(\begin{array}{c}
a_1\\
\vdots\\
a_n
\end{array}\right)=a
\]

formula

The first vector is a little bit more height than the second one. Is it possible to have the same height for all four parentheses?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

You could use phantom (invisible) superscripts in the second array to make everything line up nicely.

\documentclass{article}
\begin{document}
\[
a^{(k)}=\left(\begin{array}{c}
a_1^{(k)}\\
\vdots\\
a_n^{(k)}
\end{array}\right)\to\left(\begin{array}{c}
a_1^{\vphantom{(k)}}\\
\vdots\\
a_n^{\vphantom{(k)}}
\end{array}\right)=a
\]
\end{document}
share|improve this answer
    
One should also consider the pmatrix environment provided by amsmath, which gives better spacing for the big parentheses. –  egreg May 4 '12 at 12:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.