Add more latex packages for latex interpreter in Matlab
28 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Karan Gill
le 22 Nov 2017
Modifié(e) : Walter Roberson
le 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 commentaire
Walter Roberson
le 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.)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!