Add more latex packages for latex interpreter in Matlab
30 views (last 30 days)
Show older comments
Hi,
is it possible to include the "amssymb" package for the latex interpreter. I want to use the $\square$ latexcommand in a plot legend. All solutions with modify matlabsystemfiles like tex.m does not work. I use Matlab 2017a.
Thanks for a solution
0 Comments
Answers (1)
Karan Gill
on 22 Nov 2017
Edited: Walter Roberson
on 22 Nov 2017
Googling found
If not then see http://www.mathworks.com/matlabcentral/answers/52340-why-do-deep-paths-in-usepackage-cause-texmex-to-crash-segmentation-violation. Or perhaps easier: http://www.mathworks.com/matlabcentral/newsreader/view_thread/283068
See also http://www.mathworks.com/matlabcentral/answers/170464-importing-matlab-figures-into-latex for a caution.
1 Comment
Walter Roberson
on 22 Nov 2017
Unfortunately, somewhere around R2016b or so, MATLAB changed how latex is processed. The text control files that could be edited before are now binary with undocumented format. It is currently not known how to add packages. (Though the pdflatex approach potentially still works; I am not familiar with that.)
See Also
Categories
Find more on Environment and Settings 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!