How can I have set double limits for a lime as shown here

At the moment I am using this syntax
\begin{equation}
\displaystyle{ \lim \limits_{a \to b}= smt}
\end{equation}
Regards,
Marin
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
\substack
(centered) and/or {subarray}
(horizontal alignment can be specified) for that, e.g.,
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\lim \limits_{\substack{%
a \to -\infty\\
b \to \infty}} = \lim\limits_{\begin{subarray}{l}
a \to -\infty\\
b \to \infty
\end{subarray}} = smt
\end{equation}
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis