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

reporting: remove unused package and consolidate fprintf statements

parent c52b24b5
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ if strcmpi(o.orientation, 'landscape') ...@@ -41,7 +41,7 @@ if strcmpi(o.orientation, 'landscape')
fprintf(fid, ',landscape'); fprintf(fid, ',landscape');
end end
fprintf(fid, ']{geometry}\n'); fprintf(fid, ']{geometry}\n');
fprintf(fid, '\\usepackage{pdflscape, booktabs, pgfplots}\n'); fprintf(fid, '\\usepackage{pdflscape, booktabs, pgfplots, colortbl, adjustbox}\n');
fprintf(fid, ['\\makeatletter\n' ... fprintf(fid, ['\\makeatletter\n' ...
'\\def\\blfootnote{\\gdef\\@thefnmark{}\\@footnotetext}\n' ... '\\def\\blfootnote{\\gdef\\@thefnmark{}\\@footnotetext}\n' ...
'\\makeatother\n']); '\\makeatother\n']);
...@@ -52,7 +52,6 @@ if isoctave && isempty(regexpi(computer, '.*apple.*', 'once')) ...@@ -52,7 +52,6 @@ if isoctave && isempty(regexpi(computer, '.*apple.*', 'once'))
fprintf(fid, '\\usepackage{gnuplot-lua-tikz}\n'); fprintf(fid, '\\usepackage{gnuplot-lua-tikz}\n');
end end
fprintf(fid, '\\usepackage{color, colortbl}\n');
fprintf(fid, '\\definecolor{LightCyan}{rgb}{0.88,1,1}\n'); fprintf(fid, '\\definecolor{LightCyan}{rgb}{0.88,1,1}\n');
fprintf(fid, '\\definecolor{Gray}{gray}{0.9}\n'); fprintf(fid, '\\definecolor{Gray}{gray}{0.9}\n');
if o.showDate if o.showDate
...@@ -68,7 +67,6 @@ end ...@@ -68,7 +67,6 @@ end
fprintf(fid, '\\renewcommand{\\textfraction}{0.05}\n'); fprintf(fid, '\\renewcommand{\\textfraction}{0.05}\n');
fprintf(fid, '\\renewcommand{\\topfraction}{0.8}\n'); fprintf(fid, '\\renewcommand{\\topfraction}{0.8}\n');
fprintf(fid, '\\renewcommand{\\bottomfraction}{0.8}\n'); fprintf(fid, '\\renewcommand{\\bottomfraction}{0.8}\n');
fprintf(fid, '\\usepackage[Export,PGF]{adjustbox}\n');
fprintf(fid, '\\setlength{\\parindent}{0in}\n'); fprintf(fid, '\\setlength{\\parindent}{0in}\n');
fprintf(fid, '\\newlength\\sectionheight\n'); fprintf(fid, '\\newlength\\sectionheight\n');
fprintf(fid, '\\begin{document}\n'); fprintf(fid, '\\begin{document}\n');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment