I am new to latex and struggling to remove big space between the equations and between equation and text. I am using \documentclass{extarticle} and the equations I am writing are big which looks like
\begin{equation}
\begin{split}
Long equations taking more than half page
\end{split}
\end{equation}
I think that latex is taking all the equations as one piece and that's why when half page is left, the equations are shifted to next page. (I am using split command, because it aligns the equations easily using '&') Please tell me how to get rid of this problem.
The actual code is
\section{Diffeomorphism}
$L_o = m(\dot{x}^2)^\frac{1}{2}$\\[10pt]
$\dot{x}^2 = \dot{x_\mu}\dot{x^\mu} = \dot{x_0}\dot{x^0}+\dot{x_1}\dot{x^1}+.....................+\dot{x_{D-1}}\dot{x^{D-1}}$\\[15pt]
Action $S = \int_{-\infty}^{\infty} d\tau \; m(\dot{x}^2)^\frac{1}{2}$\\[10pt]
Diffeomorphism\\
$\tau \rightarrow \tau' = f(\tau) \simeq \tau -\epsilon(\tau)$\\
$f(\tau) = finite\; at\; \tau =0$\\
$f(\tau) \rightarrow 0$ as $\tau \rightarrow \pm \infty$\\
Action remains invariant under Diffeomorphism Transformations. We can prove it as follows:\\
\begin{equation}
\begin{split}
S' & = \int_{-\infty}^{\infty} d\tau' \; m\left[\left(\frac{dx^\mu}{d\tau'}\right)\left(\frac{dx_\mu}{d\tau'}\right)\right]^\frac{1}{2}\\[10pt]
&=\int_{-\infty}^{\infty} \frac{d\tau'}{d\tau}d\tau \; m\left[\left(\frac{dx^\mu}{d\tau}\right)\left(\frac{d\tau}{d\tau'}\right)\left(\frac{dx_\mu}{d\tau}\right)\left(\frac{d\tau}{d\tau'}\right)\right]^\frac{1}{2}\\[10pt]
&=\int_{-\infty}^{\infty} d\tau \left(\frac{d\tau'}{d\tau}\right)\left(\frac{d\tau}{d\tau'}\right) \; m\left[\left(\frac{dx^\mu}{d\tau}\right)\left(\frac{dx_\mu}{d\tau}\right)\right]^\frac{1}{2}\\[10pt]
&= \int_{-\infty}^{\infty} d\tau \; m(\dot{x}^2)^\frac{1}{2}\\[10pt]
&=S
\end{split}
\end{equation}
The output is
split
can be broken across pages. You might try withalign
(requires several\notag
commands, though) and\displaybreak
at the appropriate spot.\\
? It hangs on your equations, but other environments such asalign
-family,array
-family might be useful.{}
button in the editor, which marks a code section by indenting or put```
before and after