How to add asmMath package (or other package) to Matlab-latex?
20 views (last 30 days)
Show older comments
Jerry Rahmqvist
on 1 Sep 2019
Commented: Walter Roberson
on 21 Aug 2023
In this post -> https://stackoverflow.com/questions/12250919/how-do-you-use-the-latex-blackboard-font-in-matlab7
They describe a way to add a package to the Matlab-latex interpreter.
I don't find the tex.m file that was located in previous release in the folder: MATLAB root\toolbox\matlab\graphics
What I want is to add the bold part on the line below
standardhead = [' \nofiles \documentclass{mwarticle} \usepackage{amsfonts, amsbsy, amssymb} \begin{document}']
to a function called localDecorateInputString , now I don't find the file tex.m that have this function.
and add this bold part to the function localGetTeXPath in same file as above.
texpath{1} = blah blah blah...
texpath{end} = blah blah blah...
texpath{end+1} = 'C:\amslatex\';
How to do this in R2019a?
0 Comments
Accepted Answer
Walter Roberson
on 1 Sep 2019
There is no known way to do this in current MATLAB releases, with the exception that the Report Generator has a facility to add arbitrary latex.
2 Comments
Mohammed Azharuddin
on 21 Aug 2023
@Walter Roberson Is there any changes or way to include additional packages like mathbb or si unit now in 2022b or so?
More Answers (0)
See Also
Categories
Find more on LaTeX in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!