report title was not being written
parent
1c7b3b09f5
commit
0c1569db72
|
@ -105,6 +105,14 @@ end
|
|||
if fid_document == -1
|
||||
error(['@report.write: ' msg]);
|
||||
end
|
||||
|
||||
if ~isempty(o.title)
|
||||
fprintf(fid_document, ['\\begin{titlepage}\n\\centering\n' ...
|
||||
'\\vspace*{0.5cm}\n\\huge\\bfseries\n%s\n' ...
|
||||
'\\vspace*{\\fill}\n\\end{titlepage}\n\\clearpage\n'], ...
|
||||
o.title);
|
||||
end
|
||||
|
||||
if isunix && ~ismac
|
||||
fprintf(fid_document, '\\pgfdeclarelayer{axis background}\n');
|
||||
fprintf(fid_document, '\\pgfdeclarelayer{axis lines}\n');
|
||||
|
|
|
@ -34,7 +34,7 @@ longNames = {'Coca Cola', 'Kinder Bueno', 'Pizza', ...
|
|||
'Vegetarianism Is Good', 'OS X', 'Dothraki'};
|
||||
|
||||
%% Begin Report
|
||||
rep = report('directory', 'my/report/dir');
|
||||
rep = report('directory', 'my/report/dir', 'title', 'Report Title');
|
||||
|
||||
|
||||
%% Page 1: GDP
|
||||
|
|
Loading…
Reference in New Issue