Text FormattingLimit with Conditions correctly beneath

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Limit with Conditions correctly beneath

Post by coachbennett1981 »

Hello,

I am wondering how I can write the limit of a function in text so that that portion x approaches b is under the limit, not next to it.

Code: Select all

$\lim_{x\to b} f(x)$
Unless I use a display feature, e.g.,

Code: Select all

\[ \lim_{x\to b} f(x)\]
thank you for you time.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Limit with Conditions correctly beneath

Post by coachbennett1981 »

The solution is to enable the display style.

Code: Select all

$\displaystyle\lim_{x\to b} f(x)$
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Limit with Conditions correctly beneath

Post by cgnieder »

This of course destroys a text block since the leading around the line containing math must be increased.

There is another possibility, \limits, which however has the same problem with interline spacing.

Code: Select all

\documentclass{article}

\begin{document}

Text and some more text to see how it fits inline. Text and some more text to
see how it fits inline. Text $\lim_{h\to0}\frac{f(x_0+h)-f(x)}{h}$ and some
more text to see how this fits inline. Text and some more text to see how it
fits inline.

Text and some more text to see how it fits inline. Text and some more text to
see how it fits inline. Text $\displaystyle\lim_{h\to0}\frac{f(x_0+h)-f(x)}{h}$
and some more text to see how this fits inline. Text and some more text to see
how it fits inline.

Text and some more text to see how it fits inline. Text and some more text to
see how it fits inline. Text $\lim\limits_{h\to0}\frac{f(x_0+h)-f(x)}{h}$ and
some more text to see how this fits inline. Text and some more text to see how
it fits inline.

\end{document}
Regards
site moderator & package author
Post Reply