1

In a paragraph, the expression $A_{b/c}^{dd}$ causes an undesired larger vertical spacing of the sentence where it appears (compared to the rest of the paragraph). I have tested some solutions (eg. /*tensor, /subdepth packages) from similar problems to no avail. Is there a way to handle this properly?

  • It is being handled correctly! :) You can always \smash{..} it, but then you may have descenders/ascenders sticking into it. – Werner Apr 12 '14 at 17:10
  • 1
    Welcome to TeX.SX! It doesn't happen with the Computer Modern fonts, but I can see it with mathptmx. Can you please give a minimal working example (MWE)? The problem with mathptmx seems to be in a too big slash. – egreg Apr 12 '14 at 17:21
  • You may need smash even more in case you have: ... some text $\smash{A_{\frac{b}{c}}^{dd}}$ more text ... check this out... – MattAllegro Apr 12 '14 at 19:14
2

You can make TeX ignore the height of a formula with the \smash command. Try

... some text $\smash{A_{b/c}^{dd}}$ more text ...

The \smash macro is provided by plain TeX and it sets the height and depth of a maths subformula to zero. Beware that this might make your subscripts and superscripts overprint the lines above or below.

  • Tested and approved. \smash works as needed. Thanks guys. – remi Apr 12 '14 at 18:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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