When i put the code $(f_{\mathcal{X}},f_{\mathcal{X}}^{\partial})$ I get the following:

enter image description here

But I want the subscripts to be aligned. How can I do this?

1 Answer 1


As you've noticed, LaTeX will shift down a subscript when there is a superscript above it to make room. What you need to do is have LaTeX pretend there is something in a superscript above. You can do this by adding a superscript to the first f of \vphantom{\partial}:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .