1

I gave a quick search, but didn't find something similarly, atleast for limits.

I am trying to write something like:

 $\lim_{\binom{x\to 0}{x>0}} f(x)$

My intention is to put the limit with the two conditions under it. For now I came up with the idea to use the \binom, but that has some braces near it. I would appreciate a better idea.

1
  • 4
    Welcome to TeX.SE! Something like \documentclass{article} \usepackage{amsmath} \begin{document} $\lim_{\substack{x\to 0\\ x>0}} f(x)$ or $\lim\limits_{\substack{x\to 0\\ x>0}} f(x)$ \end{document}?
    – user121799
    Feb 9, 2019 at 22:25

1 Answer 1

3

This is an alternative for your question using the option smallmatrix.

enter image description here

\documentclass[12pt]{article}
\usepackage{mathtools}
\begin{document}
\[\lim_{\begin{smallmatrix} x \to 0 & \\ x>0 \end{smallmatrix}} f(x)\]
\end{document}
4
  • 1
    @Zacky You're absolutely right. I knew it right away, then, but I'm slow as a snail.
    – Sebastiano
    Feb 9, 2019 at 22:37
  • 1
    @Zacky Excuse me for my bad English. I not use often Mathjax but with LaTeX the \tag{1} into an ambient in math-mode you have (1) at the end of the line correctly. Use for example \usepackage{amsmath} package.
    – Sebastiano
    Feb 9, 2019 at 22:46
  • 3
    Sebastiano's solution has not the text under "lim" centered, and more space between "lim" and "f(x)" than Marmot solution under the OP question. \substack is specifically designed for the task asked, as explained here.
    – quark67
    Feb 9, 2019 at 23:14
  • @quark67 yes of course. I know the link that you have added :-). But I want, only, create a creative alternative code (not the usual). For my humble opinion the difference is more little. In addition I have upvoted the comment of great user marmot.
    – Sebastiano
    Feb 9, 2019 at 23:17

You must log in to answer this question.