Yay, I think I fixed all the issues! So feel free to use the [tex] tag to make all your math look awesome! And as a sample:

##

\begin{equation}

\label{xx}

\begin{split}a_{1}& =b+c_{2}-d\\&

\quad +e-f_{5}\\&

=g+h\\&

=

\cfrac{z}{\sqrt{2}+\cfrac{1}{\sqrt{2}+\cfrac{1}{\sqrt{2 + \cfrac{x}{y}}+\dotsb}}}\end{split}

\end

{equation}

##

Which was made from

`\begin{equation}`

\label{xx}

\begin{split}a_{1}& =b+c_{2}-d\\&

\quad +e-f_{5}\\&

=g+h\\&

=

\cfrac{z}{\sqrt{2}+\cfrac{1}{\sqrt{2}+\cfrac{1}{\sqrt{2 + \cfrac{x}{y}}+\dotsb}}}\end{split}

\end

{equation}