- #1
ehrenfest
- 2,020
- 1
When I compile the following latex code on my computer, the subscript of the first row and the superscript of the second row overlap. Is there any way to make the rows farther apart?
[tex]\begin{array}{ccccc}
\cos^2\phi_y^1 - \cos^2\phi_x^1 & \cos^2\phi^1_z - \cos^2\phi_x^1 & 2\cos\phi_x^1 cos\phi_y^1 & 2\cos\phi_x^1\cos\phi_z^1 & 2\cos \phi^1_y \cos\phi_z^1 \\
\cos^2\phi_y^2 - \cos^2\phi_x^2 & \cos^2\phi^2_z - \cos^2\phi_x^2 & 2\cos\phi_x^2 cos\phi_y^2 & 2\cos\phi_x^2\cos\phi_z^2 & 2\cos \phi^2_y \cos\phi_z^2 \end{array} \right)
\end{array}[/tex]
[tex]\begin{array}{ccccc}
\cos^2\phi_y^1 - \cos^2\phi_x^1 & \cos^2\phi^1_z - \cos^2\phi_x^1 & 2\cos\phi_x^1 cos\phi_y^1 & 2\cos\phi_x^1\cos\phi_z^1 & 2\cos \phi^1_y \cos\phi_z^1 \\
\cos^2\phi_y^2 - \cos^2\phi_x^2 & \cos^2\phi^2_z - \cos^2\phi_x^2 & 2\cos\phi_x^2 cos\phi_y^2 & 2\cos\phi_x^2\cos\phi_z^2 & 2\cos \phi^2_y \cos\phi_z^2 \end{array} \right)
\end{array}[/tex]