Problem with latex interpreter
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I use latex interpreter when add labels to my plots. For example,
ylabel('$\varphi(x)$');
I would like to use cyrillic letters in my labels, but when I write
ylabel('$\varphi(x)$, абв')
I get latex interpreter error:
Warning: Error updating Text.
String must have valid interpreter syntax:
$\varphi(x)$, абв
Please, help to solve this problem
0 Kommentare
Antworten (1)
Walter Roberson
am 9 Mai 2016
As best I recall, basic latex does not support characters outside the range 0 to 255. There are libraries that can be added to get unicode characters, but it is not obvious how to add them to MATLAB; see http://www.mathworks.com/matlabcentral/answers/232589-how-to-add-latex-packages-for-the-latex-interpreter-how-to-print-the-euro-symbol-with-the-latex-in
2 Kommentare
Walter Roberson
am 9 Mai 2016
If you follow the links in my Answer there you would reach http://www.mathworks.com/matlabcentral/answers/232055-is-there-a-hook-that-will-allow-me-to-change-the-document-style-and-or-add-packages-to-the-latex-fil#answer_187995 which has information about adding new latex packages.
I do not know anything about matlabfrag .
I have never tried to include MATLAB graphics in latex.
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!