How to write exp(lim x-> infinity 2/x ) in proper way , the limit range should come below lim, and everything to the power of e.
e^{\lim_{x\to\infty} \frac{2}{x} \cdot x}
How to modify this code to get the desired output.
Here are some options, ranked IMNSHO from best to worst. In all cases, x\to\infty
is placed below \lim
, as stipulated.
\documentclass{article}
\usepackage{amsmath} % for \tfrac and \text macros
\begin{document}
\[
\exp\bigl(\lim_{x\to\infty}\tfrac{2}{x}\cdot x\bigr)
\quad\text{vs}\quad
\exp\Bigl(\,\lim_{x\to\infty}\frac{2}{x}\cdot x\Bigr)
\quad\text{vs}\quad
e^{\bigl(\lim\limits_{x\to\infty}(2/x)\cdot x\bigr)}
\quad\text{vs}\quad
e^{\bigl(\lim\limits_{x\to\infty}\frac{2}{x}\cdot x\bigr)}
\]
\end{document}
\lim\limits_{x\to\infty}
.lim
part should then be much larger thane^x
. I'd suggest writing this as\exp(....)
instead. Also the\over
syntax is not used in LaTeX.tikz-pgf