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.

Consider the MWE below. In the first notation the superindex is higher than necessary since the lower end of the brackets is taken as reference point for the box in which the superindex is set. This is UGLY! Solution: use \smash.

Is there any method how I can tell LaTeX (by some code in the preamble) that $^{(N)}$ should be globally changed to $^{\smash{(N)}}$?

Unfortunatelly, I discovered smash too late and the doc is too long now to do this manually.

\documentclass{article}
\begin{document}
  $X^{(N)}_t$ vs $X^N_t$ vs $X^{\smash{(N)}}_t$
\end{document}

PS: Or is it bad LaTeX style to use smash too often? i suppose one had better interfere with LaTeX as little as possible: so is my aesthetic criticism of the notation without smash exaggerated?

share|improve this question
1  
@moderators: Feel free to edit title and tags! Didn't know how to describe my problem. –  lpdbw Aug 11 '12 at 12:37
1  
This probably best undertaken with the searh and replace facilities of a text editor –  Andrew Swann Aug 11 '12 at 15:24
    
Yes, that's what I first thought of too and in fact my editor, WinEdt, has quite a good replace facility. But nevertheless there are so many instances of $^{(N)}$ that a LaTeX solution would be nice. –  lpdbw Aug 11 '12 at 16:00
4  
@lpdbw: No leave it as it is. If you subscript extends upwards the suff will overlap with a \smash, e.g.: $X^{\smash{(N)}}_d$ –  Danie Els Aug 12 '12 at 3:56
    
@Danie Els: Thanks for your opinion! Really helps me. Think I got a bit mad over this issue ;-D. I will just leave it non-smashed and save myself a lot of time :-) –  lpdbw Aug 12 '12 at 7:05
add comment

1 Answer

up vote 2 down vote accepted

LaTeX moves the super/subscripts to avoid overlaps, which means that you should leave them as they are (even though they are at different heights depending on the exact contents).

share|improve this answer
add comment

Your Answer

 
discard

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.