Is there a way to get a subscript or a superscript in a guide text screen
5 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Star Strider
2015-7-18
编辑:Star Strider
2015-7-18
Using the TeX or LaTeX interpreter, enclose the exponent in curly brackets:
10^{-6}
similarly for subscripts:
x_{2,3}
2 个评论
Star Strider
2015-7-24
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!