In my project I want to define e as a limit and have the following
$$\lim_{x\to\infty} {(1+\frac{1}{n})^n}$$
but the brackets don't line up properly, the curved brackets don't go around the entire fraction and look messy. How do I correct this?
Any help greatly appreciated.



$$...$$is not recommended under LaTeX, it does not comply to LaTeX configurations, https://tex.stackexchange.com/questions/503/why-is-preferable-to – daleif Feb 01 '19 at 14:41\documentclass{article}\begin{document}my problem\end{document}Then all anybody has to do is copy and paste your code and try running it to reproduce your problem. – Jonathan Komar Feb 01 '19 at 14:44