# My limits are moved [duplicate]

Possible Duplicate:
Writing a limit so that the subscript goes directly underneath

I am not sure how to explain this, but my code doesn't behave

      $\lim_{(x,y)\to(0,0)} xy + y$


Basically the {(x,y)\to(0,0)} part isn't under the limit operator, it's beside it.

-

## marked as duplicate by Werner, Gonzalo Medina, Peter Grill, percusse, egregMay 19 '12 at 7:45

This is the default behaviour in in-line math (between $...$). If you want to force display math, then use $\displaystyle ...$. However, this influences the line height and doesn't look right. – Werner May 19 '12 at 1:42
– Werner May 19 '12 at 1:43

When you are in inline, that is how it is done. If you want limits under, you can use \limits:

\documentclass{article}
\begin{document}

$\lim_{(x,y)\to(0,0)} xy + y$
$\lim\limits_{(x,y)\to(0,0)} xy + y$
\end{document}


-
Didn't know about that trick. It'll come in handy I'm sure. – Scott H. May 19 '12 at 1:48
Why do I have to put \lim in front of \limits? – Hawk May 19 '12 at 1:52
How come it doesn't work here codecogs.com/latex/eqneditor.php – Hawk May 19 '12 at 1:56
Works fine for me there. Did you include the $...$'s? – Scott H. May 19 '12 at 2:13