# Limits of a Function

• Apr 17th 2010, 10:26 PM
Bernhard
Limits of a Function
How do you format limits of functions neatly in Latex?

Would appreciate help.

Bernhard
• Apr 17th 2010, 11:52 PM
Sudharaka
Quote:

Originally Posted by Bernhard
How do you format limits of functions neatly in Latex?

Would appreciate help.

Bernhard

Dear Bernhard,

I shall give you an example. Click on the text below and the Latex code will appear.

$\lim_{x\rightarrow{a}}f(x)=g(x)$

• Apr 17th 2010, 11:55 PM
CaptainBlack
Quote:

Originally Posted by Bernhard
How do you format limits of functions neatly in Latex?

Would appreciate help.

Bernhard

"\lim_{x \to X} f(x)" will produce:

$\lim_{x \to X} f(x)$

CB
• May 25th 2010, 01:29 AM
forumbug
You need to add \displaystyle so that the subscript shows under the lim sign.

$\displaystyle \lim_{n \to \infty} f_n(x)$
$\displaystyle \lim_{n \to \infty} f_n(x)$
• May 25th 2010, 02:36 AM
CaptainBlack
Quote:

Originally Posted by forumbug
You need to add \displaystyle so that the subscript shows under the lim sign.

$\displaystyle \lim_{n \to \infty} f_n(x)$
$\displaystyle \lim_{n \to \infty} f_n(x)$

Not with the MHF-LaTeX set up it defaults to displaystyle.

CB