Add missing packages to collect_LaTeX_Files.m and manual

time-shift
Johannes Pfeifer 2015-12-13 16:57:25 +01:00
parent 246ea146d1
commit 9cea813249
2 changed files with 6 additions and 4 deletions

View File

@ -9573,8 +9573,9 @@ following @LaTeX{} packages: @code{longtable}
Writes a @LaTeX{} file named @code{<<M_.fname>>_TeX_binder.tex} that collects all @TeX{} output generated by Dynare
into a file. This file can be compiled using pdflatex and automatically tries to load all required packages.
Requires the following @LaTeX{} packages: @code{longtable}, @code{psfrag},
@code{graphicx}, @code{epstopdf}, @code{longtable}, and @code{float}
Requires the following @LaTeX{} packages: @code{breqn}, @code{psfrag},
@code{graphicx}, @code{epstopdf}, @code{longtable}, @code{booktabs}, @code{caption},
@code{float}, and @code{morefloats}
@end deffn

View File

@ -30,13 +30,14 @@ function collect_LaTeX_Files(M_)
f_name_binder=[M_.fname,'_TeX_binder.TeX'];
fid=fopen(f_name_binder,'w+');
fprintf(fid,'%s \n','\documentclass[12pt]{article}');
fprintf(fid,'%s \n','\usepackage[margin=2cm]{geometry}');
fprintf(fid,'%s \n','\usepackage{psfrag}');
fprintf(fid,'%s \n','\usepackage{graphicx}');
fprintf(fid,'%s \n','\usepackage{epstopdf}');
fprintf(fid,'%s \n','\usepackage{longtable}');
fprintf(fid,'%s \n','\usepackage{longtable,booktabs}');
fprintf(fid,'%s \n','\usepackage{amsfonts}');
fprintf(fid,'%s \n','\usepackage{breqn}');
fprintf(fid,'%s \n','\usepackage{float}');
fprintf(fid,'%s \n','\usepackage{float,morefloats,caption}');
fprintf(fid,'%s \n','\begin{document}');
%% Root directory