Creating a LaTeX file containing the dynamic model

You just need to add the following command in your MOD file:

write_latex_dynamic_model;

If your MOD file is foo.mod, then Dynare will create a file called foo_dynamic.tex, containing the list of all the dynamic model equations.

In order to get a prettier output, note that you can instruct Dynare to use given LaTeX constructs for variable names. For example, if you have variables called alpha and eps, you can declare them as follows:

var alpha $\alpha$, eps $\varepsilon$;

Then the generated LaTeX files will use symbols

latex error! exitcode was 2 (signal 0), transscript follows:

[Tue Sep 07 13:23:30.438279 2021] [wsgi:error] [pid 2595:tid 139902276544256] [client 192.168.1.1:53030] failed to exec() latex
and
latex error! exitcode was 2 (signal 0), transscript follows:

[Tue Sep 07 13:23:30.476015 2021] [wsgi:error] [pid 2596:tid 139902276544256] [client 192.168.1.1:53030] failed to exec() latex
(instead of plain "alpha" and "eps").

Creating a LaTeX file containing the static model

You just need to add the following command in your MOD file:

write_latex_static_model;

If your MOD file is foo.mod, then Dynare will create a file called foo_static.tex, containing the list of all the static model equations.

The same than above applies.

The output will look similar, except that there will be no time subscripts on endogenous variables.

DynareWiki: ModelLatexOutput (last edited 2009-08-19 12:52:42 by SébastienVillemot)