1. ## Latex command!

Hi everyone!

I need to write text under text like in case of limit (\lim_{n \to \infty}) but I never get it under if I use this commands but beside like in this post $\lim_{n \to \infty}$. May anybody know what I must to do?

2. \displaystyle \lim_{n \to \infty}

$\displaystyle \lim_{n \to \infty}$

3. The position of sub- and superscripts of operators depends on whether this is a display or an inline formula. In an inline formula, limits are placed in the usual sub- and superscript position, while in a display formula they are usually place below or above the operator, though this depends on the operator. The commands \displaystyle and \textstyle force the display or inline math mode. Thus, we have $\sum_{i=1}^n$, $\int_a^b$ in text mode and $\displaystyle\sum_{i=1}^n$, $\displaystyle\int_a^b$ in display mode.

Regardless of text and display modes, the placement of limits can be forced by saying \limits or \nolimits after an operator. Thus we have $\int\limits_a^b$ and $\displaystyle\sum\nolimits_{i=1}^n$. There is also \displaylimits that acts as \limits only in display mode; this is the default behavior.

There are also commands to add limits to things other than operators (sums, integrals, etc.). These are \stackrel to put something above a relation and \overset, \underset, which also work with ordinary symbols and binary operators, e.g., $\overset{*}{X}$ and $\underset{*}{X}$

Finally, one can have multi-line limits using the command \substack and the environment subarray: $\displaystyle\sum_{\substack{1\le i\le n\\1\le j\le m}}P(i,j)$.