\begin_layout Subsection
Operators with Limits
\begin_inset Index idx
status collapsed

\begin_layout Plain Layout
Math ! Sums
\end_layout

\end_inset


\begin_inset Index idx
status collapsed

\begin_layout Plain Layout
Math ! Integrals
\end_layout

\end_inset


\begin_inset CommandInset label
LatexCommand label
name "sub:Operators-with-Limits"

\end_inset


\end_layout

\begin_layout Standard
Sum (
\begin_inset Formula $\sum$
\end_inset

) and integral (
\begin_inset Formula $\int$
\end_inset

) operators are very often decorated with limits.
 These limits can be entered in LyX by entering them as you would enter
 a super- or subscript, directly after the symbol.
 The sum operator will automatically place its
\begin_inset Quotes eld
\end_inset

limits
\begin_inset Quotes erd
\end_inset

 over and under the symbol in displayed formulas, and on the side in inline
 formulas.
 Such as
\begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
\end_inset

, versus
\begin_inset Formula \[
\sum_{n=0}^{\infty}\frac{1}{n!}=e\]

\end_inset

Integral signs, however, will place the limits on the side in both formula
 types.
\end_layout

\begin_layout Standard
All operators with limits will be automatically re-sized when placed in
 display mode.
 The placement of the limits can be changed by placing the cursor directly
 behind the operator and hitting
\begin_inset Info
type  "shortcut"
arg   "math-limits"
\end_inset

 or using the menu
\family sans
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
Change
\begin_inset space ~
\end_inset

Limits
\begin_inset space ~
\end_inset

Type
\family default
.
\end_layout

\begin_layout Standard
Certain other mathematical expressions have this
\begin_inset Quotes eld
\end_inset

moving limits
\begin_inset Quotes erd
\end_inset

 feature as addition, such as
\begin_inset Index idx
status collapsed

\begin_layout Plain Layout
Math ! Limits
\end_layout

\end_inset


\begin_inset Formula \[
\lim_{x\rightarrow\infty}f(x),\]

\end_inset

which will place the
\begin_inset Formula $x\rightarrow\infty$
\end_inset

 underneath the
\begin_inset Quotes eld
\end_inset

lim
\begin_inset Quotes erd
\end_inset

 in display mode.
 In inline formulas it looks like this:
\begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
\end_inset

.
\end_layout

\begin_layout Standard
Note that the lim-function was entered as the function macro
\series bold

\backslash
lim
\series default
.
 Have a look at section
\begin_inset space ~
\end_inset


\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Functions"

\end_inset

 for an explanation of function macros.
\end_layout
