I used $\mathbf{h}_x\mathbf{h}_x^T$ in the latex and I found that the x in the first term is stated upper than the 2nd term. How can I set equal index height for both terms?

  • Welcome to TeX.SE.
    – Mico
    May 3, 2020 at 16:15
  • Thank you, Mico.
    – mohammad
    May 3, 2020 at 16:23

1 Answer 1


Adding an empty superscript term, ^{}, forces down the position of the subscript x term -- to the location it occupies in \mathbf{h}_x^T.

enter image description here

$\mathbf{h}_x \mathbf{h}_x^{} \mathbf{h}_x^T$
  • That works, Thanks.
    – mohammad
    May 3, 2020 at 16:13

You must log in to answer this question.

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