Discussion:
LaTeX usepackage
(too old to reply)
Mark
2010-05-25 20:06:24 UTC
Permalink
I'd like to use some LaTeX math symbols from here:

http://www.ams.org/publications/authors/tex/amsfonts

such as "\blacksquare" and "\lessdot".

I'm able to use function TEXT to get the usual LaTeX and math functions to display properly, but I don't know how to be able to specify tags in a package that isn't already standard.
Pieter Ba
2010-05-27 11:10:22 UTC
Permalink
Post by Mark
http://www.ams.org/publications/authors/tex/amsfonts
such as "\blacksquare" and "\lessdot".
I'm able to use function TEXT to get the usual LaTeX and math functions to display properly, but I don't know how to be able to specify tags in a package that isn't already standard.
Hi Mark,

I'm trying to solve this problem as well. It is easy to use the standard LaTeX packages to print stuff like integrals:

text('Position', [1 30], 'FontSize', 20, 'Interpreter', 'LaTeX', 'String', ['$$\int_0^\infty$$']);

However, I would like to use symbols for the moon and earth to plot them next to a curve in the Figure. A package which contains these symbols is called "wasysym" after which one can use the commands "\leftmoon" and "earth".

I really hope it is possible...
Anh Huy Phan
2011-04-21 17:25:05 UTC
Permalink
Post by Pieter Ba
Post by Mark
http://www.ams.org/publications/authors/tex/amsfonts
such as "\blacksquare" and "\lessdot".
I'm able to use function TEXT to get the usual LaTeX and math functions to display properly, but I don't know how to be able to specify tags in a package that isn't already standard.
Hi Mark,
text('Position', [1 30], 'FontSize', 20, 'Interpreter', 'LaTeX', 'String', ['$$\int_0^\infty$$']);
However, I would like to use symbols for the moon and earth to plot them next to a curve in the Figure. A package which contains these symbols is called "wasysym" after which one can use the commands "\leftmoon" and "earth".
I really hope it is possible...
Yes, you can do this.
The trick is as follows
- Declare package which consists latex font to be used in the class file "mwarticle.cls" inside the folder
$matlabroot/sys/tex/
%% matlabroot is the Root directory of your MATLAB.
For example,
\RequirePackage{amsfonts,amssymb}

- Add paths for your latex fonts to matlab path for Tex and Latex which can be retrieved: texpath = getappdata(0,'TeXPath');

- For Windows, load pfb and pfm font files using the mex function loadfonts.

HTH

Huy Phan
Evan
2011-09-20 23:56:14 UTC
Permalink
Where in the file do we add RequirePackage? Could you post an example mwarticle.cls that you have modified? Also, the path you use?

I am on OSX with Matlab 2008b. Inside mwarticle.cls, line 128 (so it appears after \ProcessOptions) I have added:

\RequirePackage{amsfonts,amssymb}

My amsfonts.sty and amssymb.sty files are in /usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/

Inside MATLAB I used this line:

setappdata(0, 'TeXPath', [getappdata(0,'TeXPath') '/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts']);

Now, when I change the MATLAB interpreter to Latex, no labels appear. I can remove the RequirePackage line and the labels appear again, but I'd like to add new packages like you appear to be able to do.

Thanks,

-Evan
Post by Anh Huy Phan
Post by Pieter Ba
Post by Mark
http://www.ams.org/publications/authors/tex/amsfonts
such as "\blacksquare" and "\lessdot".
I'm able to use function TEXT to get the usual LaTeX and math functions to display properly, but I don't know how to be able to specify tags in a package that isn't already standard.
Hi Mark,
text('Position', [1 30], 'FontSize', 20, 'Interpreter', 'LaTeX', 'String', ['$$\int_0^\infty$$']);
However, I would like to use symbols for the moon and earth to plot them next to a curve in the Figure. A package which contains these symbols is called "wasysym" after which one can use the commands "\leftmoon" and "earth".
I really hope it is possible...
Yes, you can do this.
The trick is as follows
- Declare package which consists latex font to be used in the class file "mwarticle.cls" inside the folder
$matlabroot/sys/tex/
%% matlabroot is the Root directory of your MATLAB.
For example,
\RequirePackage{amsfonts,amssymb}
- Add paths for your latex fonts to matlab path for Tex and Latex which can be retrieved: texpath = getappdata(0,'TeXPath');
- For Windows, load pfb and pfm font files using the mex function loadfonts.
HTH
Huy Phan
Anh Huy Phan
2011-09-22 05:36:28 UTC
Permalink
Post by Evan
Where in the file do we add RequirePackage? Could you post an example mwarticle.cls that you have modified? Also, the path you use?
\RequirePackage{amsfonts,amssymb}
My amsfonts.sty and amssymb.sty files are in /usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts/
setappdata(0, 'TeXPath', [getappdata(0,'TeXPath') '/usr/local/texlive/2009/texmf-dist/tex/latex/amsfonts']);
Now, when I change the MATLAB interpreter to Latex, no labels appear. I can remove the RequirePackage line and the labels appear again, but I'd like to add new packages like you appear to be able to do.
Thanks,
-Evan
Post by Anh Huy Phan
Post by Pieter Ba
Post by Mark
http://www.ams.org/publications/authors/tex/amsfonts
such as "\blacksquare" and "\lessdot".
I'm able to use function TEXT to get the usual LaTeX and math functions to display properly, but I don't know how to be able to specify tags in a package that isn't already standard.
Hi Mark,
text('Position', [1 30], 'FontSize', 20, 'Interpreter', 'LaTeX', 'String', ['$$\int_0^\infty$$']);
However, I would like to use symbols for the moon and earth to plot them next to a curve in the Figure. A package which contains these symbols is called "wasysym" after which one can use the commands "\leftmoon" and "earth".
I really hope it is possible...
Yes, you can do this.
The trick is as follows
- Declare package which consists latex font to be used in the class file "mwarticle.cls" inside the folder
$matlabroot/sys/tex/
%% matlabroot is the Root directory of your MATLAB.
For example,
\RequirePackage{amsfonts,amssymb}
- Add paths for your latex fonts to matlab path for Tex and Latex which can be retrieved: texpath = getappdata(0,'TeXPath');
- For Windows, load pfb and pfm font files using the mex function loadfonts.
HTH
Huy Phan
A simple way is to modify the function "tex.m" inside the folder

$matlabroot\toolbox\matlab\graphics\tex.m

Please backup the file before modifying it.

1 - Download AMSFONT and other fonts you want to use with Matlab. If MikTex or TexLive has been installed on your computer, all files are available. Just to find their paths.

2- Declare latex packages

Open the .m file "tex.m" , and jump to its subfunction "localDecorateInputString".

Modify parameter "standardhead" to include additional packages

function [tstr] = localDecorateInputString(str,format,width,fragment)
...
if strcmp(format(3:end),'latex')
standardhead = [' \nofiles \documentclass{mwarticle} \usepackage{amsfonts,amsbsy,amssymb}'... % include here latex packages, and your settings
'\begin{document}'];
standardtail = ' \end{document}';
else
standardhead = ' \relax \nopagenumbers \noindent';
standardtail = ' \bye';
end
....


3- Add paths for AMSFONTs
Find subfunction "localGetTeXPath" inside "tex.m"

function [texpath,err] = localGetTeXPath
...
And add paths for latex packages to "texpath"
For example,

texpath{1} = fullfile(mlroot,'sys','tex',filesep);
texpath{end+1} = fullfile(mlroot,'sys','tex','latex','base',filesep);
texpath{end+1} = fullfile(mlroot,'sys','tex','tfm',filesep);

texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\plain\amsfonts\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\map\dvips\amsfonts';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\cm\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\euler\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\latxfont\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\symbols\';
%
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\cm\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\euler\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\latxfont\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\symbols\';
%
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\euler\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\dummy\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\symbols\';

texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\dummy\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\symbols\';

texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\cm\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\latex-fonts\';

texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\latex\graphics\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\';

4 - Copy .STY files
amsfonts.sty
amssymb.sty
cmmib57.sty
eucal.sty
eufrak.sty
euscript.sty

and put other setting files to Folder
$matlabroot/sys/tex/


5 - Run Matlab and execute the symbol codes

figure(1); clf
mytxt = '${\boldsymbol \Lambda}, {\mathcal F}, {\otimes}, {\oslash}, {\blacksquare}, {\lessdot}$';
h = text('string',mytxt,'interpreter','latex','pos',[0.2 0.5])

HTH

Huy Phan
Kevin
2012-03-16 15:23:12 UTC
Permalink
Post by Anh Huy Phan
A simple way is to modify the function "tex.m" inside the folder
$matlabroot\toolbox\matlab\graphics\tex.m
Please backup the file before modifying it.
1 - Download AMSFONT and other fonts you want to use with Matlab. If MikTex or TexLive has been installed on your computer, all files are available. Just to find their paths.
2- Declare latex packages
Open the .m file "tex.m" , and jump to its subfunction "localDecorateInputString".
Modify parameter "standardhead" to include additional packages
function [tstr] = localDecorateInputString(str,format,width,fragment)
...
if strcmp(format(3:end),'latex')
standardhead = [' \nofiles \documentclass{mwarticle} \usepackage{amsfonts,amsbsy,amssymb}'... % include here latex packages, and your settings
'\begin{document}'];
standardtail = ' \end{document}';
else
standardhead = ' \relax \nopagenumbers \noindent';
standardtail = ' \bye';
end
....
3- Add paths for AMSFONTs
Find subfunction "localGetTeXPath" inside "tex.m"
function [texpath,err] = localGetTeXPath
...
And add paths for latex packages to "texpath"
For example,
texpath{1} = fullfile(mlroot,'sys','tex',filesep);
texpath{end+1} = fullfile(mlroot,'sys','tex','latex','base',filesep);
texpath{end+1} = fullfile(mlroot,'sys','tex','tfm',filesep);
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\plain\amsfonts\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\map\dvips\amsfonts';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\cm\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\euler\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\latxfont\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\symbols\';
%
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\cm\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\euler\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\latxfont\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\symbols\';
%
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\euler\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\dummy\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\symbols\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\dummy\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\symbols\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\cm\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\latex-fonts\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\latex\graphics\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\';
4 - Copy .STY files
amsfonts.sty
amssymb.sty
cmmib57.sty
eucal.sty
eufrak.sty
euscript.sty
and put other setting files to Folder
$matlabroot/sys/tex/
5 - Run Matlab and execute the symbol codes
figure(1); clf
mytxt = '${\boldsymbol \Lambda}, {\mathcal F}, {\otimes}, {\oslash}, {\blacksquare}, {\lessdot}$';
h = text('string',mytxt,'interpreter','latex','pos',[0.2 0.5])
HTH
Huy Phan
Dear Huy Phan or others,

I tried to include the upgreek package according to your text above. Unfortunately I didn't get it working. Any ideas why it doesn't work?

I have Matlab R2011b -64 bit, Windows 7 and MikTeX 2.9 installed.

If I put "\usepackage{upgreek}" inside the standardhead, matlab gives unable to interpret TEX string for all text.

I tried the same with "\usepackage{textcomp}", Now Matlab doesn't crachs, but it doesn't recognise the comments that are included by that package.

Any Ideas? Isn't there another workaround to include latex packages? or sinc it with your MikTeX installation?

BR Kevin
Sebastian Hölz
2012-11-26 16:29:10 UTC
Permalink
Hi Anh Huy Phan,

thanks for your elaborate description. Since our configurations are similar, I had no major problems with the implementation.

However, there is one point where I'm not quite sure if I get this right. You state ... "
4 - Copy .STY files (amsfonts.sty, ..., euscript.sty) and put other setting files to Folder
$matlabroot/sys/tex/"
So, I have moved the listed *.sty-files to the specified Matlab folder, but what do you mean by the "... other setting files"?

Cheers

Sebastian
Ken Lai
2013-09-27 11:32:05 UTC
Permalink
Post by Anh Huy Phan
A simple way is to modify the function "tex.m" inside the folder
$matlabroot\toolbox\matlab\graphics\tex.m
Please backup the file before modifying it.
1 - Download AMSFONT and other fonts you want to use with Matlab. If MikTex or TexLive has been installed on your computer, all files are available. Just to find their paths.
2- Declare latex packages
Open the .m file "tex.m" , and jump to its subfunction "localDecorateInputString".
Modify parameter "standardhead" to include additional packages
function [tstr] = localDecorateInputString(str,format,width,fragment)
...
if strcmp(format(3:end),'latex')
standardhead = [' \nofiles \documentclass{mwarticle} \usepackage{amsfonts,amsbsy,amssymb}'... % include here latex packages, and your settings
'\begin{document}'];
standardtail = ' \end{document}';
else
standardhead = ' \relax \nopagenumbers \noindent';
standardtail = ' \bye';
end
....
3- Add paths for AMSFONTs
Find subfunction "localGetTeXPath" inside "tex.m"
function [texpath,err] = localGetTeXPath
...
And add paths for latex packages to "texpath"
For example,
texpath{1} = fullfile(mlroot,'sys','tex',filesep);
texpath{end+1} = fullfile(mlroot,'sys','tex','latex','base',filesep);
texpath{end+1} = fullfile(mlroot,'sys','tex','tfm',filesep);
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\plain\amsfonts\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\map\dvips\amsfonts';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\cm\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\euler\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\latxfont\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\afm\public\amsfonts\symbols\';
%
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\cm\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\euler\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\latxfont\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\type1\public\amsfonts\symbols\';
%
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\euler\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\dummy\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\amsfonts\symbols\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\cmextra\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\cyrillic\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\dummy\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\source\public\amsfonts\symbols\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\cm\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\fonts\tfm\public\latex-fonts\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\latex\graphics\';
texpath{end+1} = 'C:\Program Files\MiKTeX 2.9\tex\latex\ams\math\';
4 - Copy .STY files
amsfonts.sty
amssymb.sty
cmmib57.sty
eucal.sty
eufrak.sty
euscript.sty
and put other setting files to Folder
$matlabroot/sys/tex/
5 - Run Matlab and execute the symbol codes
figure(1); clf
mytxt = '${\boldsymbol \Lambda}, {\mathcal F}, {\otimes}, {\oslash}, {\blacksquare}, {\lessdot}$';
h = text('string',mytxt,'interpreter','latex','pos',[0.2 0.5])
HTH
Huy Phan
Thanks, Huy Phan, it works like a charm, after I

1. replaced "C:\Program Files\MiKTeX 2.9\" with "/usr/local/texlive/2011/texmf-dist/"
2. replaced the file separator from "\" to "/",
3. and corrected a typo, i guess, in the last line of the texpath assignment: "...\latex\ams\math\';" to ''.../latex/amsmath/';".

Note that, the .sty files are located at "/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/".
A
2014-03-09 14:47:07 UTC
Permalink
I do not understand that there are not so many people complaining about this on mathworks...are the physicists and engineers not the main user of matlab? How can you not need more symbols...?

Ken Lai, you are right, the method suggested by Anh Huy Phan does in fact works like a charm after i tried it on matlab version 2010b. But when I try to make it work with matlab 2013b, I get the message "Warning: Font msam10 is not supported". Then no matter what I try (in windows 7 and Linux mint 16) I can not make matlab to detect this font. When I got the same error with matlab 2010b, I just downloaded the font and added it to the matlab font folder. When I do the same with matlab 2013b, it has no effect. How should the new font system for matlab 2013b be understood? In the README file of font folder it is suggested to look at the manual of my DVI processor(s). I have to idea what this means.

This is what I try to make work with matlab 2013b (it worked perfectly with version 2010b)
mytxt = '${\boldsymbol \Lambda}, {\mathcal F}, {\otimes}, {\oslash}, {\blacksquare}, {\lessdot}$';
h = text('string',mytxt,'interpreter','latex','pos',[0.2 0.5]);

For the love of science, please make it easier to work with LaTeX in matlab. The symbols used in science are not limited to x, y,...

Regards
Ailin
Bandar
2015-03-16 16:23:18 UTC
Permalink
@Huy Phan

What do you mean by "load pfb and pfm font files using the mex function loadfonts". I did follow your steps but the fonts are still not supported. How to load these files?
Nike Dattani
2015-08-16 07:15:04 UTC
Permalink
Has anyone got it working for R2013 or above?

Loading...