account for vlines option in data table

parent f1a4ff10
Pipeline #1591 failed with stage
in 59 seconds
...@@ -169,14 +169,19 @@ if ~is_data_table ...@@ -169,14 +169,19 @@ if ~is_data_table
end end
end end
else else
fprintf(fid, '\\begin{tabular}{|'); fprintf(fid, '\\begin{tabular}{');
if o.showVlines
fprintf(fid, '|');
end
for i = 1:length(o.column_names) for i = 1:length(o.column_names)
if isempty(o.column_names{i}) if isempty(o.column_names{i})
fprintf(fid, 'l'); fprintf(fid, 'l');
else else
fprintf(fid, 'r'); fprintf(fid, 'r');
end end
fprintf(fid, '|'); if o.showVlines
fprintf(fid, '|');
end
end end
fprintf(fid,'}'); fprintf(fid,'}');
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