Skip to content
Snippets Groups Projects
Commit 2d966208 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

write_latex_definitions: remove lines that prevented this code from being...

write_latex_definitions: remove lines that prevented this code from being included in a larger latex doc
parent 10652be0
Branches
Tags
No related merge requests found
......@@ -38,11 +38,8 @@ else
tables = {'Endogenous', 'Exogenous', 'Exogenous Deterministic', 'Parameters'};
M_var_root = {'M_.endo', 'M_.exo', 'M_.exo_det', 'M_.param'};
end
fid = fopen([M_.fname '_latex_definitions.tex'], 'w');
fprintf(fid, '\\documentclass[12pt,a4paper]{article}\n');
fprintf(fid, '\\usepackage{longtable}\n');
fprintf(fid, '\\begin{document}\n');
fid = fopen([M_.fname '_latex_definitions.tex'], 'w');
for i=1:length(tables)
fprintf(fid, '\\begin{center}\n');
fprintf(fid, '\\begin{longtable}{ccc}\n');
......@@ -75,9 +72,6 @@ for i=1:length(tables)
fprintf(fid, '\\hline%%\n');
fprintf(fid, '\\end{longtable}\n');
fprintf(fid, '\\end{center}\n');
fprintf(fid, '\\newpage\n\n');
end
fprintf(fid, '\\end{document}\n');
fclose(fid);
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment