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.

  • 1
    Remember $$...$$ is not recommended under LaTeX, it does not comply to LaTeX configurations, tex.stackexchange.com/questions/503/why-is-preferable-to
    – daleif
    Feb 1, 2019 at 14:41
  • @AntRobinson It is required (or strongly recommended) to provide typesetable code so that your problem can be easily reproduced by everybody else. Since you're new on the block, I'll let this one slide ;) Feb 1, 2019 at 14:42
  • How do I do that? So I know for the future.
    – user174579
    Feb 1, 2019 at 14:42
  • @AntRobinson You should just wrap it with minimal code. Add a document class and the relevant commands and environments. For example \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. Feb 1, 2019 at 14:44

3 Answers 3


Oh you mean like this:

$$ \lim_{x\to\infty} {\left(1+\frac{1}{n}\right)^n} $$

enter image description here

The key points in the code

  • \left(
  • \right)
  • That's it!! Thank you so much, I shall accept your answer as soon as it will let me.
    – user174579
    Feb 1, 2019 at 14:39

A slight improvement for the exponent placement:

\[ \lim_{x\to\infty} \left(1+\frac{1}{n}\right)^{\!\! n} \]

enter image description here


An alternative is to use \big-like constructs. The advantage is that you do not have \left \right problems in case your equation is splitted across several lines.

\lim_{x\to\infty} {\left(1+\frac{1}{n}\right)^n}
\lim_{x\to\infty} \bigg( 1+\frac{1}{n} \bigg)^n
\lim_{x\to\infty} ( \big( \Big( \bigg( \Bigg( 1+\frac{1}{n} \Bigg)^n

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy