I have the following:


Everything is grouped, so it should behave fine, but it causes a double superscript error, same is true for {\hat{\pi}^a}^b. if I remove the \hat every thing works, even if I add a \bar:


Everything works. Removing the last superscript {{\hat{\pi}}^a} also works. Cant find the reason the first line breaks. Any help would be appreciated.


You can use



$ {{}\hat{\pi}^a}^b$

This is caused by an primitive feature of tex's treatment of math lists that just consist of an accent node essentially losing one level of grouping.

| improve this answer | |
  • Thanks! works now. – Dinari Sep 23 '19 at 7: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.