Allow for text-command in math environment by using amsmath package in collect_LaTeX_Files.m

time-shift
Johannes Pfeifer 2016-05-31 20:56:33 +02:00
parent f76a353d65
commit d02f8d0377
2 changed files with 2 additions and 2 deletions

View File

@ -10019,7 +10019,7 @@ Writes a @LaTeX{} file named @code{<<M_.fname>>_TeX_binder.tex} that collects al
into a file. This file can be compiled using pdflatex and automatically tries to load all required packages.
Requires the following @LaTeX{} packages: @code{breqn}, @code{psfrag},
@code{graphicx}, @code{epstopdf}, @code{longtable}, @code{booktabs}, @code{caption},
@code{float}, and @code{morefloats}
@code{float}, @code{amsmath}, @code{amsfonts}, and @code{morefloats}
@end deffn

View File

@ -35,7 +35,7 @@ fprintf(fid,'%s \n','\usepackage{psfrag}');
fprintf(fid,'%s \n','\usepackage{graphicx}');
fprintf(fid,'%s \n','\usepackage{epstopdf}');
fprintf(fid,'%s \n','\usepackage{longtable,booktabs}');
fprintf(fid,'%s \n','\usepackage{amsfonts}');
fprintf(fid,'%s \n','\usepackage{amsmath,amsfonts}');
fprintf(fid,'%s \n','\usepackage{breqn}');
fprintf(fid,'%s \n','\usepackage{float,morefloats,caption}');
fprintf(fid,'%s \n','\begin{document}');