reporting: series: fix spacing of table cell separators and eol's

time-shift
Houtan Bastani 2013-09-26 14:45:46 +02:00
parent 79f03773d7
commit a9eb95ff2a
1 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ end
if ~isempty(o.tableSubSectionHeader) if ~isempty(o.tableSubSectionHeader)
fprintf(fid, '%s', o.tableSubSectionHeader); fprintf(fid, '%s', o.tableSubSectionHeader);
for i=1:size(dates) for i=1:size(dates)
fprintf(fid, ' & '); fprintf(fid, '&');
end end
fprintf(fid, '\\\\%%\n'); fprintf(fid, '\\\\%%\n');
return; return;
@ -75,7 +75,7 @@ end
data = o.data(dates); data = o.data(dates);
data = data.data; data = data.data;
for i=1:size(data,1) for i=1:size(data,1)
fprintf(fid, ' &'); fprintf(fid, '&');
if o.tableShowMarkers if o.tableShowMarkers
if data(i) < -o.tableMarkerLimit if data(i) < -o.tableMarkerLimit
fprintf(fid, '\\color{%s}', o.tableNegColor); fprintf(fid, '\\color{%s}', o.tableNegColor);
@ -91,5 +91,5 @@ for i=1:size(data,1)
fprintf(fid, ']'); fprintf(fid, ']');
end end
end end
fprintf(fid, ' \\\\\n\n'); fprintf(fid, '\\\\%%\n');
end end