TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I use:


Then the x to 3 is placed below the limit. But if I write:

Given $f(x)=x^2$, evaluate $\lim_{x\to 2}f(x)$, ...

Then the limit is put below right of the limit symbol. How can I place the x to 3 below the limit symbol in inline mode?

share|improve this question

The “correct” way is to type

$\lim\limits_{x\to 3} f(x)$

because \displaystyle would change many other aspects of math typesetting that are good in displays but not in line. See displaystyle, dfrac, dcases for examples.

The command \limits can go after any math operator taking limits, such as \sum and \max.

Avoid doing this, because it spoils the spacing between lines, leaving huge white strips on your page. The formula $\lim_{x\to 3} f(x)$ is as readable as the one with the condition underneath ‘lim’.

Also avoid $$ in LaTeX, see Why is \[ ... \] preferable to $$ ... $$?

share|improve this answer

This is easy to fix. Just write

$\displaystyle\lim_{x\to 2}f(x)$

Incidentally, using $$...$$ for display equations is not advised. You should use



share|improve this answer
Perfect. Thanks. – David Sep 22 '13 at 4:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.