Welcome to the UK List of
TeX Frequently Asked Questions
on the Web

Searching

The index of Frequently Asked Questions about TeX is searchable.

Please enter your keyword here:   then press here: ,    or:
Google

Even subscript height

Other things being equal, TeX will aim to position subscripts and superscripts in places that “look good”. Unfortunately, it only does this for the sub- and superscripts of each atom at a time, so if you have

$ X^{1}_{2} X_{2} $

the second subscript will appear higher, since the first has moved down to avoid the superscript; the effect can be noticeably distracting:

You can avoid the problem, for a single instance, by

$ X^{1}_{2} X^{}_{2} $

here, the dummy superscript has the requisite “pushing down” effect:

While this technique does what is necessary, it is tedious and potentially error-prone. So, for more than one or two equations in a document, the LaTeX user is advised to use the subdepth package, which forces the lower position for all subscripts.

subdepth.sty
macros/latex/contrib/subdepth (or browse the directory); catalogue entry


Go to previous question, or next question

Go to FAQ home.

URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=subheight

Comments, suggestions, or error reports? - see “how to improve the FAQ”.

This is FAQ version 3.27, released on 2013-06-07.