Problem with latex interpreter
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 9 de Mayo de 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 comentarios
Walter Roberson
el 9 de Mayo de 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.
Ver también
Categorías
Más información sobre Annotations en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!