1

Currently i have.

\begin{equation*}
\boxed{
\begin{split}
EQUATION1 \\

\\
EQUATION2 \\
\\ 
EQUATION3  \\
\\
EQUATION4
   }
\end{equation*}

However the gap inbetween looks ridiculous and would like a smaller one, is this possible?

5

By putting extra newlines (\\) it is expected to get extra vertical spaces between the equations. Simply remove the extra \\ and complete as this example:

\documentclass[12pt,a4paper]{article}
\usepackage{amsmath}
\begin{document}

\begin{equation*}
\boxed{
\begin{split}
y = x^2 + x -2 \\[-.1cm] % adjust the value as you wish
y = x^2 + x -2 \\[-.1cm]
y = x^2 + x -2  \\[-.1cm]
y = x^2 + x -2
\end{split}
}
\end{equation*}
\end{document}

The output then is:

enter image description here

  • But is it possible to have a smaller gap. I want a gap just maybe half a line or so. Simply because exponents and subscripts are a little close otherwise. – iluvLatex Nov 22 '14 at 17:20
  • Sure, this is possible by controlling the option of newlines. See my updated answer. – AboAmmar Nov 22 '14 at 17:24

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.