Which Latex Characters does 2013A support : Warning: Unable to interpret LaTeX string
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Matlab2010
am 10 Sep. 2013
Kommentiert: Walter Roberson
am 20 Mär. 2014
I often get this: Warning: Unable to interpret LaTeX string
For example,
plot(rand(10,1));
AX=legend('$\text{A,B}$');
set(AX,'Interpreter','Latex');
What work arounds are there? Is there a list of supported characters?
0 Kommentare
Akzeptierte Antwort
Daniel Shub
am 10 Sep. 2013
The MATLAB LaTeX interpreter is a fully functional LaTeX system. It is based on the article class so all of those macros are available also. It does not support any macros defined in packages and loading packages is difficult. Since \text is a macro defined in the AMS packages it is not available.
Weitere Antworten (1)
Rob
am 19 Mär. 2014
Thanks, is there any other way to access that symbol in Matlab? e.g., in a plot title or elsewhere - or are these all macros like \text?
1 Kommentar
Siehe auch
Kategorien
Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!