I am about to cry
This worked perfectly before and the equations just won't align correctly. I want them to align under the 2nd equal sign.. Constantly get different errors, 'missing $ inserted' or missing { which doesn't make any sense
\usepackage{amsmath,amsthm,amssymb}
\begin{document}
\begin{proof}
\begin{align}
L(s,\chi) = \sum_{n=1}^{\infty} \chi(n)n^{-s} &=\sum_{n=1}^{\infty}S(n)(n^{-s} - (n-1)^{-s}) \\
&= \sum_{n=1}^{\infty}S(n)\int_{n}^{n+1} x^{-s-1}dx \\
&=s\int_{1}^{\infty}S(x)x^{-s-1}dx
\end{align}```
\end{proof}
align. Simply remove it or comment it out. – leandriis Mar 26 '20 at 09:44