Using \text{...} in LaTeX mathmode for labels in MATLAB figure
9 views (last 30 days)
Show older comments
I use formula for labeling axes in Matlab figure. There should be some cyrillic symbols that in math mode interpreter can't write. I suppose problem can be in that as ones I use '$$ .. $$', it is mathmode, so it cannot turn into text mode internal this code like do it Latex.
xlabel('$$ \cdot 10^{9} \frac{\text{шар}}{\text{мл}} $$', 'Interpreter', 'Latex')
0 Comments
Answers (1)
Walter Roberson
on 28 Mar 2018
The Latex interpreter cannot handle any characters beyond U+00FF, regardless of text mode or math mode.
The Tex interpreter can handle unicode characters.
0 Comments
See Also
Categories
Find more on Labels and Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!