TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the command:

\underset{t \rightarrow x}{\limsup} f(t) = \underset{t \rightarrow x}{\liminf} f(t)

I get the {t \rightarrow x} lower under the limsup then the liminf (due to the "p" in limsup).

How can I change the position of the underset?

share|improve this question
A tip: If you indent lines by 4 spaces, then they are marked as a code sample. You can also highlight the code and click the "code" button (with "101010" on it). – Caramdir Mar 10 '11 at 19:18
Shouldn't that be written as \limsup_{t \rightarrow x} f(t) = \liminf_{t \rightarrow x} f(t)? Doesn't solve the problem though. – Caramdir Mar 10 '11 at 19:23
I tried that first, but it placed the {t \rightarrow x} to the right of limsup. – milcak Mar 10 '11 at 19:24
That is usually by design in inline mode. You can override that behavior with \limsup\limits_{t \rightarrow x} f(t). – Caramdir Mar 10 '11 at 19:27
Very much related: Supremum of the infimum (possible duplicate). – Hendrik Vogt Mar 11 '11 at 7:45
up vote 4 down vote accepted

A phantom could be useful:



  \underset{t \rightarrow x}{\limsup} f(t) = \underset{t \rightarrow x}{\liminf\vphantom{p}} f(t)

share|improve this answer
Yes that works thank you! Is there a general way of adjusting the position though? – milcak Mar 10 '11 at 19:17
you can also use a \mathstrut in lieu of the phantom, nothing wrong with your solution either. – Yiannis Lazarides Mar 10 '11 at 19:22
How does the \mathstrut work? – milcak Mar 10 '11 at 19:23
@Yiannis: yes. That will also work. – Gonzalo Medina Mar 10 '11 at 19:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.