make horizontal line length == \linewidth

parent 6701600d
Pipeline #2230 passed with stage
in 59 seconds
...@@ -31,6 +31,6 @@ function o = write(o, fid) ...@@ -31,6 +31,6 @@ function o = write(o, fid)
fprintf(fid, repmat(' \\par \\medskip ', 1, o.number)); fprintf(fid, repmat(' \\par \\medskip ', 1, o.number));
if o.hline > 0 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
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment