LaTeX fraction - Over

Symbol Command
${a \over b}$ {a \over b}
${1 \over 3}$ {1 \over 3}
\frac{1}{3} \\~\\
{1 \over 3}

\[ \frac{1}{3} \\~\\ {1 \over 3} \]

{\sqrt{5} \over 3^2} \\~\\
{ \int^{\pi}_{0} \sin x \, dx \over 3 } \\~\\
{ { \int^{\pi}_{0} \sin x \, dx } \over 3 }

\[ {\sqrt{5} \over 3^2} \\~\\ { \int^{\pi}_{0} \sin x \, dx \over 3 } \\~\\ { { \int^{\pi}_{0} \sin x \, dx } \over 3 } \]

LaTeX fraction

LaTeX