[texhax] apostrophe/transpose with subscripts

Martin Heller mr_heller at yahoo.dk
Sun Oct 18 00:04:45 CEST 2009

Robert Duval wrote:
> Dear All
> I want to write a formula of the style X'_nX_n. (note the
> transpose/apostrophe after the first X)
> However, as i type this in math mode i get that the subscript n of the
> first X lies below the one of the second X.
> I want both subscripts to be at the same height.
> I could do it by implementing either
> {X'}_n or {X_n}'
> but the look of these is not what i want. I really would like the
> apostrophe above the _n and both subscripts to be at the same height.
> Any help on how to achieve this would be greatly appreciated

If it is only this one formula then X'_nX^{}_n should do. If you want to 
unify the height of sub- and superscripts in all formulas you can use 
package subdepth <http://www.ctan.org/pkg/subdepth>.

More information about the texhax mailing list