What LaTeX characters can I use in MATLAB?
14 views (last 30 days)
Show older comments
MathWorks Support Team
on 22 Apr 2011
Edited: MathWorks Support Team
on 13 Oct 2023
I am using MATLAB 6.5 (R13) and would like to know if there is anything planned to support more LaTeX commands.
Specifically, and as an example, I would like to use "frac" and "overline".
Accepted Answer
MathWorks Support Team
on 10 Oct 2023
Edited: MathWorks Support Team
on 13 Oct 2023
A list of TeX characters that MATLAB currently supports can be found under the "Interpreter" section in the following documentation:
As a workaround, you can download a TeX implementer and use it in conjunction with the "teximage.m" file. The "teximage.m" file, written by another user of MATLAB, is available on MATLAB Central file exchange. This file can be used to display a LaTeX string as an image. You can download this file from the following URL:
NOTE: MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author. The file is highly recommended by other users.
1 Comment
Walter Roberson
on 25 Aug 2023
Tongyao https://www.mathworks.com/matlabcentral/profile/authors/29686855 pointed out that the link posted no long works.
A current list of supported Tex can be found in the Interpreter section of the documentation for text
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!