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

simplify code

parent 267bec0a
Branches
Tags
No related merge requests found
Pipeline #1589 failed
...@@ -67,11 +67,9 @@ for i = 1:nrows ...@@ -67,11 +67,9 @@ for i = 1:nrows
end end
if ~isempty(o.tableSubSectionHeader) if ~isempty(o.tableSubSectionHeader)
fprintf(fid, '\\textbf{%s}', o.tableSubSectionHeader); fprintf(fid, '\\textbf{%s}', o.tableSubSectionHeader);
for i=1:ncols-1 fprintf(fid, '%s', repmat(' &', 1, ncols-1));
fprintf(fid, ' &');
end
fprintf(fid, '\\\\%%\n'); fprintf(fid, '\\\\%%\n');
return; return
end end
if o.tableAlignRight if o.tableAlignRight
fprintf(fid, '\\multicolumn{1}{r}{'); fprintf(fid, '\\multicolumn{1}{r}{');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment