reporting: add ability to make title page

time-shift
Houtan Bastani 2019-11-29 11:20:33 +01:00
parent 5cae192487
commit 3ef8564279
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
3 changed files with 8 additions and 3 deletions

View File

@ -88,6 +88,11 @@ and a clarifying example.
The valid :math:`\text{\LaTeX}` code to be included in the report before
``\begin{document}``. Default: ``empty``.
.. option:: maketoc, BOOLEAN
Whether or not to make the table of contents. One entry is made per
page containing a title. Default: ``false``.
.. option:: margin, DOUBLE
The margin size. Default: ``2.5``.

@ -1 +1 @@
Subproject commit f2fd7524d73b240e5c1764f33b37ed92c03484fe
Subproject commit 081ca98851077266a15128eacbf5c0210c8889a0

View File

@ -1,5 +1,5 @@
function runDynareReport(dc_a, dc_q, db_a, db_q)
% Copyright (C) 2013-2018 Dynare Team
% Copyright (C) 2013-2019 Dynare Team
%
% This file is part of Dynare.
%
@ -32,7 +32,7 @@ longNames = {'Coca Cola', 'Kinder Bueno', 'Pizza', ...
'Vegetarianism Is Good', 'OS X', 'Dothraki'};
%% Begin Report
rep = report();
rep = report('title', 'Report Title', 'maketoc', true);
%% Page 1: GDP