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

account for vlines option in data table

parent f1a4ff10
No related branches found
No related tags found
No related merge requests found
Pipeline #1591 failed
...@@ -169,15 +169,20 @@ if ~is_data_table ...@@ -169,15 +169,20 @@ 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
if o.showVlines
fprintf(fid, '|'); fprintf(fid, '|');
end end
end
fprintf(fid,'}'); fprintf(fid,'}');
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment