Display an exponent between parentheses in a label?

Hello,

I am having issues to display (8^-) (“-” as an exponent) in a label.
I have tried different variations using SuperscriptBox[], however I haven’t been able to get the second parentheses in the right position.

SuperscriptBox["(8", "-"] SuperscriptBox[")", ""] gives me:  )(8^-

SuperscriptBox[")", ""] SuperscriptBox["(8", "-"] gives me:  )(8^-

SuperscriptBox["(8", ""] SuperscriptBox["", "-"] SuperscriptBox[")", ""] gives me: ^-)(8

It seems that the single exponent comes before the single parentheses, and the single parentheses comes before other characters.

Thank you for your support!

Nikita

Hi Nikita,

Do you mean this?

Row[{"(", Superscript["8", "-"], ")"}]

8539plot.png

Hi Rohit,

Yes, exactly! Thank you so much :slight_smile: