make horizontal line length == \linewidth

remove-priordens
Houtan Bastani 2019-10-25 17:25:01 +02:00
parent ce1c8c5bc2
commit bc55bdb2a6
1 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,6 @@ function o = write(o, fid)
fprintf(fid, repmat(' \\par \\medskip ', 1, o.number));
if o.hline > 0
fprintf(fid, ['\\\\\n' repmat('\\midrule', 1, o.hline)]);
fprintf(fid, ['\\\\\n' repmat('\\noindent\\makebox[\\linewidth]{\\rule{\\linewidth}{0.4pt}}\\\\', 1, o.hline)]);
end
end