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

simplify writing of vspace

parent 576751b6
No related branches found
No related tags found
No related merge requests found
Pipeline #1660 failed
...@@ -12,7 +12,7 @@ function o = write(o, fid) ...@@ -12,7 +12,7 @@ function o = write(o, fid)
% SPECIAL REQUIREMENTS % SPECIAL REQUIREMENTS
% none % none
% Copyright (C) 2013-2015 Dynare Team % Copyright (C) 2013-2019 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
...@@ -31,14 +31,8 @@ function o = write(o, fid) ...@@ -31,14 +31,8 @@ function o = write(o, fid)
assert(fid ~= -1); assert(fid ~= -1);
for i=1:o.number fprintf(fid, repmat(' \\par \\medskip ', 1, o.number));
fprintf(fid, ' \\par \\medskip ');
end
if o.hline > 0 if o.hline > 0
fprintf(fid, '\\\\\n'); fprintf(fid, ['\\\\\n' repmat('\\midrule', 1, o.hline)]);
for i=1:o.hline
fprintf(fid, '\\midrule');
end
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment