Add more latex packages for latex interpreter in Matlab
34 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Karan Gill
2017-11-22
编辑:Walter Roberson
2017-11-22
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 个评论
Walter Roberson
2017-11-22
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.)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!