MATLAB Answers

Add more latex packages for latex interpreter in Matlab

58 views (last 30 days)
ChrisCross
ChrisCross on 22 Nov 2017
Commented: Walter Roberson on 22 Nov 2017
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

Sign in to comment.

Answers (1)

Karan Gill
Karan Gill on 22 Nov 2017
Edited: Walter Roberson on 22 Nov 2017

  1 Comment

Walter Roberson
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.)

Sign in to comment.