# Why \\ does not go to new line in equation?

\begin{equation*}\label{eq:pareto mle2}
A_0 = \frac{1}{(\alpha+t_x)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + t_x} \right ) "\\\" <br>
- \frac{1}{(\alpha+T)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + T} \right ),
\end{equation*}


This is my code why \\ does not go to new line? How should I make it?

-
Thank you very much. Is there a way of make new line in equation? –  user3714137 Aug 1 '14 at 3:45

The amsmath package -- which you appear to be loading already as your example code uses an environment called equation* -- provides quite a few environments to typeset equations that need to be split across two or more lines. The align* environment may be particularly suitable to the case at hand; note the use of & to state the alignment points.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}\label{eq:pareto mle2}
A_0 &=   \frac{1}{(\alpha+t_x)^{r+s+x}}{}_2 F_1\left( r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + t_x} \right)\\
&\quad - \frac{1}{(\alpha+T)^{r+s+x}}{}_2 F_1\left( r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + T} \right),
\end{align*}
\end{document}


Addendum: Note the close similarity of the outputs produced by the single gather* environment in this answer and by the nested pair of equation*/multlined environments in @HarishKumar's answer.

-

Both equation and equation* do not allow multi lined expressions. Use aligned from amsmath, inside equation* to break in to many lines. If alignment is not needed, you can use gathered (instead of aligned) as suggested by Mico.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation*}\label{eq:pareto mle2}
\begin{aligned}
A_0 = \frac{1}{(\alpha+t_x)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + t_x} \right ) \\
- \frac{1}{(\alpha+T)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + T} \right ),
\end{aligned}
\end{equation*}
\end{document}


Or use multlined from mathtools:

\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{equation*}\label{eq:pareto mle2}
\begin{multlined}
A_0 = \frac{1}{(\alpha+t_x)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + t_x} \right ) \\
- \frac{1}{(\alpha+T)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + T} \right ),
\end{multlined}
\end{equation*}
\end{document}


-
Also split might be fruitful here, particularly with numbered equations. Of course, multlined is not needed, as multline* suffices. –  egreg Aug 1 '14 at 9:34