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?
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?
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: