There are several mistakes in the code, e.g., not ending the
center
environment, using nonsense sequences of commands and environment etc.
If I delete all the nonsense code and make a
minimal working example from the code snippet:
Code: Select all
\documentclass{article}
\begin{document}
What would happen as $x$ approaches $3$? We can figure this out by applying a limit.
\[ \lim_{x\to 3} g(x) \]
\end{document}
I do not see any problem with the code. So maybe you should either clean up your code or show us a real
minimal working example. And please mark code correctly as code using the
Code
button instead of the
LaTeX
button. The
LaTeX
button is for inline code only, but not for
block code.