Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

If I use:

$$\lim_{x\to3}f(x)$$

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

2 Answers 2

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

\[\lim_{x\to3}f(x)\]

instead.

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

Your Answer

 
discard

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.