49

I am using the following code to combine two equations with one number in parentheses but the two equations are very close to each other and using '\vspace{} not working

How can i add a vertical space between these two equations ?

\begin{equation}
 \begin{aligned}
T_{P} = K_{T}. \rho . n^{2}_{p} . D^{4}_{p} \\ 
Q_{P} = K_{Q}. \rho . n^{2}_{p} . D^{5}_{p}
\end{aligned}
\end{equation}

enter image description here

62

You can manually add a vertical distance to each line-break. I hope, this is what you want.

% arara: pdflatex

\documentclass{article}
\usepackage{mathtools}

\begin{document}
\setcounter{equation}{2}
\begin{equation}
    \begin{aligned}
        T_{P} &= K_{T}. \rho . n^{2}_{p} . D^{4}_{p} \\[1pt]
        Q_{P} &= K_{Q}. \rho . n^{2}_{p} . D^{5}_{p} \\[10pt]
        N_{P} &= K_{N}. \rho . n^{2}_{p} . D^{6}_{p} \\[100pt]
        K_{P} &= K_{K}. \rho . n^{2}_{p} . D^{7}_{p}
    \end{aligned}
\end{equation}
\end{document}

enter image description here

  • @AmeenMohamedBassam Glad to hear that. You are welcome. – LaRiFaRi Jan 20 '15 at 11:16
  • Do you know what the default is? – theonlygusti Sep 20 '17 at 16:17
  • @theonlygusti that should be 1\jot – LaRiFaRi Sep 21 '17 at 16:00
34

You can also modify the length \jot if you don't want to manually specify the skips for each line. For example

\setlength{\jot}{10pt}

If you want the change to be localised to that equation, insert the line inside the equation environment, as in the following example

\documentclass{article}
\usepackage{mathtools}

\begin{document}

an equation with more spacing

\begin{equation}
\setlength{\jot}{10pt}
    \begin{aligned}
        T_{P} &= K_{T}. \rho . n^{2}_{p} . D^{4}_{p} \\
        Q_{P} &= K_{Q}. \rho . n^{2}_{p} . D^{5}_{p} \\
        N_{P} &= K_{N}. \rho . n^{2}_{p} . D^{6}_{p} \\
        K_{P} &= K_{K}. \rho . n^{2}_{p} . D^{7}_{p}
    \end{aligned}
\end{equation}

and a normal one

\begin{equation}
    \begin{aligned}
        T_{P} &= K_{T}. \rho . n^{2}_{p} . D^{4}_{p} \\
        Q_{P} &= K_{Q}. \rho . n^{2}_{p} . D^{5}_{p} \\
        N_{P} &= K_{N}. \rho . n^{2}_{p} . D^{6}_{p} \\
        K_{P} &= K_{K}. \rho . n^{2}_{p} . D^{7}_{p}
    \end{aligned}
\end{equation}

\end{document} 

Output

enter image description here

  • @AmeenMohamedBassam You are welcome. – karlkoeller Jan 21 '15 at 11:47
  • This isn't working on math stackexchange. – Kyle Delaney Sep 26 '17 at 14:39
  • 1
    Not working. I can see no changes in the final output. – Antonio Sesto Oct 23 '17 at 13:23

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.