Math & ScienceLimes with two Conditions

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
marcdein
Posts: 40
Joined: Sat Dec 19, 2009 2:11 pm

Limes with two Conditions

Post by marcdein »

I know that I can use \lim as follows

\lim_{x \to \infty}

However, what do I do if I want to specify two conditions: x \to \infty and x \in D, say, to appear above each other?
Last edited by marcdein on Tue Sep 27, 2011 12:00 pm, edited 1 time in total.

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Limes with two Conditions

Post by localghost »

The amsmath package offers the \substack command for such cases.

Code: Select all

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{mathtools}   % loads »amsmath«

\begin{document}
  \[
    \lim_{\substack{x\to\infty\\x\in D}} 
  \]
\end{document}
For details take a look at the package manual. For more information about math typesetting refer to the »Math mode« document.


Thorsten
marcdein
Posts: 40
Joined: Sat Dec 19, 2009 2:11 pm

Re: Limes with two Conditions

Post by marcdein »

Thanks!
Post Reply