Is there a way to get a subscript or a superscript in a guide text screen
Show older comments
I'm creating a panel using guide. I want to be able to show 10^-6 as a superscript rather than use ^-6. How do I do that.
Answers (1)
Star Strider
on 18 Jul 2015
Edited: Star Strider
on 18 Jul 2015
Using the TeX or LaTeX interpreter, enclose the exponent in curly brackets:
10^{-6}
similarly for subscripts:
x_{2,3}
2 Comments
Robert Garneau
on 24 Jul 2015
Star Strider
on 24 Jul 2015
You don’t, unless the file is a LaTeX document. Word could probably do it as well, but you have to create the requisite macros, not something I’ve ever done or want to do. So you’re restricted to whatever is in the font you’re using. Even with that, it would likely require you to use Unicode characters, and that may be a challenge as well.
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!