How to include a Latex package for MATLAB Latex Interpreter to use?
7 次查看(过去 30 天)
显示 更早的评论
Hello,
I am new to MATLAB and I would like to be able to print Cyrillic text and Latex formulas in a plot title:
title('График зависности $\varphi(t)$','Interpreter', 'latex')
However, the following warning appears and the title doesn't print correctly:
String scalar or character vector must have valid interpreter syntax:
График зависности $\varphi(t)$
Is there an easy way to fix this problem? Usually, when using Latex I would just add \usepackage[OT2]{fontenc} to preamble and then the text that I type in Latin alphabet in .tex file would be displayed as Cyrillic in the .pdf, with each Cyrillic character having its Latin representation.
Thank you in advance. I am using MATLAB as a student.
0 个评论
采纳的回答
Walter Roberson
2022-5-27
There is no known way to do this for the last several years, with the exception that it is potentially possible for Report Generator
0 个评论
更多回答(0 个)
另请参阅
类别
在 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!