Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have the following formula:

$ F_{\!\bm{H}}  F_{\overline{\!\!\bm{H}\!}} $

In this case both subscripts end at different depths (but start at the same height). I'd like them to end at the same depth. Has anybody an idea?

share|improve this question

4 Answers 4

up vote 5 down vote accepted

You can do the following:

F_{\!\bm{H}\vphantom{\overline{\!\!\bm{H}\!}}} F_{\overline{\!\!\bm{H}\!}}

The \vphantom command makes vertical space the same height its argument. Depending on how often you need this or how predictable it is, you might be able to make a macro to add the \vphantom part automatically.

share|improve this answer

You might want to look at the subdepth package, which has descrption

This package is based on code (posted long ago to comp.text.tex by Donald Arseneau) to equalise the height of subscripts in maths. The default behaviour is to place subscripts slightly lower when there is a superscript as well, but this can look odd in some situations.

share|improve this answer
1  
See also Subscripts for primed variables for an example of the default behaviour. (The accepted answer by Will Robertson advises to use his subdepth package ...) –  Hendrik Vogt Feb 5 '11 at 8:12
    
The best thing since sliced bread!!! I can finally remove all the ugly \vphantom's from my documents! Thank you! –  Dominique Feb 9 '12 at 20:47
$ F_{\!\bm{H}}  F_{\,\smash[t]{\overline{\!\!\bm{H}\!}}} $
share|improve this answer

The following changes the subscripts globally:

% for Plain with default CM-font
\fontdimen16\tensy=2.7pt
\fontdimen17\tensy=2.7pt
% Or more generally
\fontdimen16\textfont0=2.7pt
\fontdimen17\textfont0=2.7pt
$\rm Fe_2^{+2}Cr_2^{+2}O_4^{+2}$
\bye
share|improve this answer
2  
One should note that this changes the subscript positions globally even if you put in inside a group. –  Hendrik Vogt Feb 5 '11 at 8:17

Your Answer

 
discard

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