please look at the following code. I try to get the same position for all subscripts, but there are still some problems:

I get the same position of subscripts at Point (C) when I use \setmathfont at (B). When I do this at (A) the positions of the subscripts are different. What is happening here?

The other Problem: When I change the fontsize, the positions are different, too.

Has anybody an idea how to solve the Problems? What I look for are same positions of ALL subscripts in ALL fontsizes.


%\setmathfont[math-style=upright]{Tex Gyre Pagella Math}% (A) does not influence the positioning of subscripts

\makeatletter \check@mathfonts \makeatother


\setmathfont[math-style=upright]{Tex Gyre Pagella Math}% (B) works for normalsize


Normalsize (works if the math font is loaded at (B)):
\[ x³ \, x_{3}^{3} \, x_{3} \]% (C)

Huge (ugly):
\[ x³ \, x_{3}^{3} \, x_{3} \]% (D)


Or is there another, more efficient way to achieve this?

Thank you.

enter image description here

  • Changing \Umathsubshiftdown is okay locally, but for a permanent change you should better patch the math constants table. See e.g. here tex.stackexchange.com/a/385767/2388 – Ulrike Fischer Sep 6 '17 at 19:30
  • Oh, I see. But I do not understand anything there. Does a documentation exist? – Weißer Kater Sep 8 '17 at 22:20

Use a phantom superscript to displace the subscript to the same extent:

\[ x_{3}^{3} \, x_{3}^{\phantom{3}} \, x_{3} \]% (D)

enter image description here

| improve this answer | |

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.