Commit 2079bbd5 authored by Houtan Bastani's avatar Houtan Bastani

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
end
end
else
fprintf(fid, '\\begin{tabular}{|');
fprintf(fid, '\\begin{tabular}{');
if o.showVlines
fprintf(fid, '|');
end
for i = 1:length(o.column_names)
if isempty(o.column_names{i})
fprintf(fid, 'l');
else
fprintf(fid, 'r');
end
fprintf(fid, '|');
if o.showVlines
fprintf(fid, '|');
end
end
fprintf(fid,'}');
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