# Correct arrow for mathematical limits

I am currently using $$\phi(\varepsilon) \overrightarrow{ \varepsilon \rightarrow 0 }0$$ for writing down mathematical limits. But I am not very confident with this notation, as the text under the arrow is far too huge displayed. Does anybody here have a better suggestion

-
For limits, it is advised to use \to ... in math mode of course. A little hint: Do not use $$...$$ but $...$ instead. –  Christian Hupfer Apr 6 '14 at 15:40
ah, thank you. and how do you write some text under this arrow? –  user48924 Apr 6 '14 at 15:42
\xrightarrow[under]{over} –  Manuel Apr 6 '14 at 15:46
yes, this is it. thank you! –  user48924 Apr 6 '14 at 15:47
@user180097 However I would define something like \tendsto{x\to\infty} (more “logical”) to be something like \xrightarrow[x\to\infty]{}. –  Manuel Jun 22 '14 at 14:32

I have two versions, depending on what you perhaps need.

\documentclass{scrbook}

\usepackage{amsmath}

\begin{document}
$\phi(\varepsilon) \xrightarrow[\varepsilon \to 0]{} 0$

$\lim_{\varepsilon \to 0} \phi(\varepsilon) = 0$
\end{document}


I prefer the \lim style, it is mathematical cleaner, but that is also a matter of taste.

-
@Manuel: I used an old template, but I know about the caveats of minimal ;-) –  Christian Hupfer Apr 6 '14 at 15:51