When using LaTeX as the interpreter to typeset labels in MATLAB it would be great to be able to include packages to customize appearance. Is this possible?
As of now I know no method to create non italic greek letters in the legends.
|
|
There is no easy way to do this, but there are a 3 ways to hack it. To understand how to control the MATLAB LaTeX interpreter, you need to understand how it works. When MATLAB processes a LaTeX string it calls
and prepends
to the string. MATLAB then calls a closed source compiled function MATLAB has a built in feature that lets you control where to look. You can control this with
where the variable There are 3 ways that you can get MATLAB to load a package. Two require you to modify/overload MATLAB functions and are complete solutions. The final one doesn't require any modifications of MATLAB functions, but won't work in all cases. The first way is to load a package via The second way is to modify
this requires knowing MATLAB to make the changes and could theoretically break something. If you go this way, you may also want to modify |
|||
|
|