From d02f8d0377de79732830c24591f84bd8ca609bc9 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Tue, 31 May 2016 20:56:33 +0200 Subject: [PATCH] Allow for text-command in math environment by using amsmath package in collect_LaTeX_Files.m --- doc/dynare.texi | 2 +- matlab/collect_LaTeX_Files.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dynare.texi b/doc/dynare.texi index 6a938c3df..4290d8a83 100644 --- a/doc/dynare.texi +++ b/doc/dynare.texi @@ -10019,7 +10019,7 @@ Writes a @LaTeX{} file named @code{<>_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 diff --git a/matlab/collect_LaTeX_Files.m b/matlab/collect_LaTeX_Files.m index c9bf6c971..e4263d4af 100644 --- a/matlab/collect_LaTeX_Files.m +++ b/matlab/collect_LaTeX_Files.m @@ -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}');