3

I have the following latex:

\begin{align}
\left\lbrace \begin{aligned}
\phi &= \arctan\left(\frac{j_z}{k_z}\right) \\
\theta &= \arctan\left(\frac{-i_z}{\sqrt{1-i_z^2}}\right) = \arcsin\left(-i_z\right) \\
\psi &= \arctan\left(\frac{i_y}{i_x}\right)
\end{aligned} \right . 
\end{align}

Which renders the equation inside the red box. How can I reduce the space taken by the equation?

enter image description here

  • Getting rid of the unneeded parentheses around the fractions would save a lot of (vertical) space. – Mico Mar 6 at 2:28
3

With use of nccmath and manual adjusting of braces sizes, you can significantly reduce equation size:


\documentclass{article}
\usepackage{nccmath}

\begin{document}
    \begin{align}\medmath{
\left\lbrace \begin{aligned}
\phi &= \arctan\left(\frac{j_z}{k_z}\right) \\
\theta &= \arctan\left(\frac{-i_z}{\sqrt{1-i_z^2}}\right) = \arcsin\left(-i_z\right) \\
\psi &= \arctan\left(\frac{i_y}{i_x}\right)
\end{aligned} \right .}
    \end{align}
\end{document}

enter image description here

| improve this answer | |
4

Getting rid of the unneeded parentheses around the fractions saves a lot of (vertical) space. Even more space can be saved by using inline-fraction notation instead of \frac:

enter image description here

\documentclass{article}
\usepackage{amsmath} % for 'align' and 'aligned' environments
\begin{document}
\begin{align}
\text{with tall parens: }&
\left\lbrace \begin{aligned}
\phi &= \arctan\left(\frac{j_z}{k_z}\right) \\
\theta &= \arctan\left(\frac{-i_z}{\sqrt{1-i_z^2}}\right) = \arcsin\left(-i_z\right) \\
\psi &= \arctan\left(\frac{i_y}{i_x}\right)
\end{aligned} \right . \\
\text{without tall parens: } &
\left\lbrace \begin{aligned}
\phi   &= \arctan\frac{j_z}{k_z} \\
\theta &= \arctan\frac{-i_z}{\sqrt{1-i_z^2}} = \arcsin(-i_z) \\
\psi   &= \arctan\frac{i_y}{i_x}
\end{aligned} \right . \\
\text{inline fractions: } &
\left\lbrace \begin{aligned}
\phi   &= \arctan(j_z/k_z) \\
\theta &= \arctan\bigl(-i_z/\sqrt{1-i_z^2}\,\bigr) = \arcsin(-i_z) \\
\psi   &= \arctan(i_y/i_x)
\end{aligned} \right .
\end{align}
\end{document}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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