Do not use \LaTeX symbol.

I did not manage to get it work simultaneously for the html and pdf output.
time-shift
Stéphane Adjemia (Scylla) 2019-02-05 10:22:02 +01:00
parent 171db444f1
commit 8d21108368
Signed by untrusted user who does not match committer: stepan
GPG Key ID: A6D44CB9C64CE77B
2 changed files with 31 additions and 31 deletions

View File

@ -52,7 +52,7 @@ observed:
starting with an alphabetical character and cant contain: starting with an alphabetical character and cant contain:
()+-\*/^=!;:@#. or accentuated characters; ()+-\*/^=!;:@#. or accentuated characters;
* LATEX_NAME (sometimes TEX_NAME) indicates a valid * LATEX_NAME (sometimes TEX_NAME) indicates a valid
:math:`\text{\LaTeX}` expression in math mode (not including the LaTeX expression in math mode (not including the
dollar signs); dollar signs);
* FUNCTION_NAME indicates a valid MATLAB function name; * FUNCTION_NAME indicates a valid MATLAB function name;
* FILENAME indicates a filename valid in the underlying operating * FILENAME indicates a filename valid in the underlying operating
@ -90,7 +90,7 @@ for declaring variables and parameters are described below.
|br| This required command declares the endogenous variables in |br| This required command declares the endogenous variables in
the model. See :ref:`conv` for the syntax of *VAR_NAME* and the model. See :ref:`conv` for the syntax of *VAR_NAME* and
*MODEL_EXPR*. Optionally it is possible to give a *MODEL_EXPR*. Optionally it is possible to give a
:math:`\text{\LaTeX}` name to the variable or, if it is LaTeX name to the variable or, if it is
nonstationary, provide information regarding its deflator. ``var`` nonstationary, provide information regarding its deflator. ``var``
commands can appear several times in the file and Dynare will commands can appear several times in the file and Dynare will
concatenate them. Dynare stores the list of declared parameters, concatenate them. Dynare stores the list of declared parameters,
@ -154,7 +154,7 @@ for declaring variables and parameters are described below.
|br| This optional command declares the exogenous variables in the |br| This optional command declares the exogenous variables in the
model. See :ref:`conv` for the syntax of ``VAR_NAME``. Optionally model. See :ref:`conv` for the syntax of ``VAR_NAME``. Optionally
it is possible to give a :math:`\text{\LaTeX}` name to the it is possible to give a LaTeX name to the
variable. Exogenous variables are required if the user wants to be variable. Exogenous variables are required if the user wants to be
able to apply shocks to her model. ``varexo`` commands can appear able to apply shocks to her model. ``varexo`` commands can appear
several times in the file and Dynare will concatenate them. several times in the file and Dynare will concatenate them.
@ -198,7 +198,7 @@ for declaring variables and parameters are described below.
|br| This optional command declares exogenous deterministic |br| This optional command declares exogenous deterministic
variables in a stochastic model. See :ref:`conv` for the syntax of variables in a stochastic model. See :ref:`conv` for the syntax of
VARIABLE_NAME. Optionally it is possible to give a :math:`\text{\LaTeX}` VARIABLE_NAME. Optionally it is possible to give a LaTeX
name to the variable. ``varexo_det`` commands can appear several name to the variable. ``varexo_det`` commands can appear several
times in the file and Dynare will concatenate them. times in the file and Dynare will concatenate them.
@ -236,7 +236,7 @@ for declaring variables and parameters are described below.
|br| This command declares parameters used in the model, in variable |br| This command declares parameters used in the model, in variable
initialization or in shocks declarations. See :ref:`conv` for the initialization or in shocks declarations. See :ref:`conv` for the
syntax of ``PARAM_NAME``. Optionally it is possible to give a syntax of ``PARAM_NAME``. Optionally it is possible to give a
:math:`\text{\LaTeX}` name to the parameter. LaTeX name to the parameter.
The parameters must subsequently be assigned values (see :ref:`param-init`). The parameters must subsequently be assigned values (see :ref:`param-init`).
@ -353,7 +353,7 @@ for declaring variables and parameters are described below.
|br| This optional command declares the trend variables in the |br| This optional command declares the trend variables in the
model. See ref:`conv` for the syntax of MODEL_EXPR and model. See ref:`conv` for the syntax of MODEL_EXPR and
VAR_NAME. Optionally it is possible to give a VAR_NAME. Optionally it is possible to give a
:math:`\text{\LaTeX}` name to the variable. LaTeX name to the variable.
The variable is assumed to have a multiplicative growth trend. For The variable is assumed to have a multiplicative growth trend. For
an additive growth trend, use ``log_trend_var`` instead. an additive growth trend, use ``log_trend_var`` instead.
@ -946,37 +946,37 @@ The model is declared inside a ``model`` block:
Dynare has the ability to output the original list of model equations Dynare has the ability to output the original list of model equations
to a :math:`\text{\LaTeX}` file, using the ``write_latex_original_model`` to a LaTeX file, using the ``write_latex_original_model``
command, the list of transformed model equations using the command, the list of transformed model equations using the
``write_latex_dynamic_model command``, and the list of static model ``write_latex_dynamic_model command``, and the list of static model
equations using the ``write_latex_static_model`` command. equations using the ``write_latex_static_model`` command.
.. command:: write_latex_original_model ; .. command:: write_latex_original_model ;
|br| This command creates two :math:`\text{\LaTeX}` files: one |br| This command creates two LaTeX files: one
containing the model as defined in the model block and one containing the model as defined in the model block and one
containing the :math:`\text{\LaTeX}` document header information. containing the LaTeX document header information.
If your ``.mod`` file is ``FILENAME.mod``, then Dynare will create If your ``.mod`` file is ``FILENAME.mod``, then Dynare will create
a file called ``FILENAME_original.tex``, which includes a file a file called ``FILENAME_original.tex``, which includes a file
called ``FILENAME_original_content.tex`` (also created by Dynare) called ``FILENAME_original_content.tex`` (also created by Dynare)
containing the list of all the original model equations. containing the list of all the original model equations.
If :math:`\text{\LaTeX}` names were given for variables and parameters If LaTeX names were given for variables and parameters
(see :ref:`var-decl`), then those will be used; otherwise, the (see :ref:`var-decl`), then those will be used; otherwise, the
plain text names will be used. plain text names will be used.
Time subscripts (``t``, ``t+1``, ``t-1``, ...) will be appended to Time subscripts (``t``, ``t+1``, ``t-1``, ...) will be appended to
the variable names, as :math:`\text{\LaTeX}` subscripts. the variable names, as LaTeX subscripts.
Compiling the TeX file requires the following :math:`\text{\LaTeX}` Compiling the TeX file requires the following LaTeX
packages: ``geometry, fullpage, breqn``. packages: ``geometry, fullpage, breqn``.
.. command:: write_latex_dynamic_model ; .. command:: write_latex_dynamic_model ;
write_latex_dynamic_model (OPTIONS); write_latex_dynamic_model (OPTIONS);
|br| This command creates two :math:`\text{\LaTeX}` files: one containing |br| This command creates two LaTeX files: one containing
the dynamic model and one containing the :math:`\text{\LaTeX}` document the dynamic model and one containing the LaTeX document
header information. header information.
If your ``.mod`` file is ``FILENAME.mod``, then Dynare will create If your ``.mod`` file is ``FILENAME.mod``, then Dynare will create
@ -984,12 +984,12 @@ equations using the ``write_latex_static_model`` command.
called ``FILENAME_dynamic_content.tex`` (also created by Dynare) called ``FILENAME_dynamic_content.tex`` (also created by Dynare)
containing the list of all the dynamic model equations. containing the list of all the dynamic model equations.
If :math:`\text{\LaTeX}` names were given for variables and parameters If LaTeX names were given for variables and parameters
(see :ref:`var-decl`), then those will be used; otherwise, the (see :ref:`var-decl`), then those will be used; otherwise, the
plain text names will be used. plain text names will be used.
Time subscripts (``t``, ``t+1``, ``t-1``, ...) will be appended to Time subscripts (``t``, ``t+1``, ``t-1``, ...) will be appended to
the variable names, as :math:`\text{\LaTeX}` subscripts. the variable names, as LaTeX subscripts.
Note that the model written in the TeX file will differ from the Note that the model written in the TeX file will differ from the
model declared by the user in the following dimensions: model declared by the user in the following dimensions:
@ -1010,7 +1010,7 @@ equations using the ``write_latex_static_model`` command.
lags will also have been replaced by new auxiliary variables lags will also have been replaced by new auxiliary variables
and equations. and equations.
For the required :math:`\text{\LaTeX}` packages, see For the required LaTeX packages, see
:comm:`write_latex_original_model`. :comm:`write_latex_original_model`.
*Options* *Options*
@ -1023,8 +1023,8 @@ equations using the ``write_latex_static_model`` command.
.. command:: write_latex_static_model ; .. command:: write_latex_static_model ;
|br| This command creates two :math:`\text{\LaTeX}` files: one |br| This command creates two LaTeX files: one
containing the static model and one containing the :math:`\text{\LaTeX}` containing the static model and one containing the LaTeX
document header information. document header information.
If your ``.mod`` file is ``FILENAME.mod``, then Dynare will create If your ``.mod`` file is ``FILENAME.mod``, then Dynare will create
@ -1032,7 +1032,7 @@ equations using the ``write_latex_static_model`` command.
called ``FILENAME_static_content.tex`` (also created by Dynare) called ``FILENAME_static_content.tex`` (also created by Dynare)
containing the list of all the steady state model equations. containing the list of all the steady state model equations.
If :math:`\text{\LaTeX}` names were given for variables and parameters If LaTeX names were given for variables and parameters
(see :ref:`var-decl`), then those will be used; otherwise, the (see :ref:`var-decl`), then those will be used; otherwise, the
plain text names will be used. plain text names will be used.
@ -3209,7 +3209,7 @@ Computing the stochastic solution
.. option:: tex .. option:: tex
Requests the printing of results and graphs in TeX tables and Requests the printing of results and graphs in TeX tables and
graphics that can be later directly included in :math:`\text{\LaTeX}` graphics that can be later directly included in LaTeX
files. files.
.. option:: dr_display_tol = DOUBLE .. option:: dr_display_tol = DOUBLE
@ -10473,27 +10473,27 @@ Misc commands
.. matcomm:: write_latex_definitions ; .. matcomm:: write_latex_definitions ;
|br| Writes the names, :math:`\text{\LaTeX}` names and long names of |br| Writes the names, LaTeX names and long names of
model variables to tables in a file named model variables to tables in a file named
``<<M_.fname>>_latex_definitions.tex``. Requires the following ``<<M_.fname>>_latex_definitions.tex``. Requires the following
:math:`\text{\LaTeX}` packages: ``longtable``. LaTeX packages: ``longtable``.
.. matcomm:: write_latex_parameter_table ; .. matcomm:: write_latex_parameter_table ;
|br| Writes the :math:`\text{\LaTeX}` names, parameter names, and long |br| Writes the LaTeX names, parameter names, and long
names of model parameters to a table in a file named names of model parameters to a table in a file named
``<<M_.fname>>_latex_parameters.tex.`` The command writes the ``<<M_.fname>>_latex_parameters.tex.`` The command writes the
values of the parameters currently stored. Thus, if parameters are values of the parameters currently stored. Thus, if parameters are
set or changed in the steady state computation, the command should set or changed in the steady state computation, the command should
be called after a steady-command to make sure the parameters were be called after a steady-command to make sure the parameters were
correctly updated. The long names can be used to add parameter correctly updated. The long names can be used to add parameter
descriptions. Requires the following :math:`\text{\LaTeX}` packages: descriptions. Requires the following LaTeX packages:
``longtable, booktabs``. ``longtable, booktabs``.
.. matcomm:: write_latex_prior_table ; .. matcomm:: write_latex_prior_table ;
|br| Writes descriptive statistics about the prior distribution to |br| Writes descriptive statistics about the prior distribution to
a :math:`\text{\LaTeX}` table in a file named a LaTeX table in a file named
``<<M_.fname>>_latex_priors_table.tex``. The command writes the ``<<M_.fname>>_latex_priors_table.tex``. The command writes the
prior definitions currently stored. Thus, this command must be prior definitions currently stored. Thus, this command must be
invoked after the ``estimated_params`` block. If priors are invoked after the ``estimated_params`` block. If priors are
@ -10501,16 +10501,16 @@ Misc commands
preceeded by the declaration of the observed variables (with preceeded by the declaration of the observed variables (with
``varobs``). The command displays a warning if no prior densities ``varobs``). The command displays a warning if no prior densities
are defined (ML estimation) or if the declaration of the observed are defined (ML estimation) or if the declaration of the observed
variables is missing. Requires the following :math:`\text{\LaTeX}` variables is missing. Requires the following LaTeX
packages: ``longtable, booktabs``. packages: ``longtable, booktabs``.
.. matcomm:: collect_latex_files ; .. matcomm:: collect_latex_files ;
|br| Writes a :math:`\text{\LaTeX}` file named |br| Writes a LaTeX file named
``<<M_.fname>>_TeX_binder.tex`` that collects all TeX output ``<<M_.fname>>_TeX_binder.tex`` that collects all TeX output
generated by Dynare into a file. This file can be compiled using generated by Dynare into a file. This file can be compiled using
``pdflatex`` and automatically tries to load all required ``pdflatex`` and automatically tries to load all required
packages. Requires the following :math:`\text{\LaTeX}` packages: packages. Requires the following LaTeX packages:
``breqn``, ``psfrag``, ``graphicx``, ``epstopdf``, ``longtable``, ``breqn``, ``psfrag``, ``graphicx``, ``epstopdf``, ``longtable``,
``booktabs``, ``caption``, ``float,`` ``amsmath``, ``amsfonts``, ``booktabs``, ``caption``, ``float,`` ``amsmath``, ``amsfonts``,
and ``morefloats``. and ``morefloats``.

View File

@ -838,8 +838,8 @@ The dseries class
of strings with one entry for each variable name. The default of strings with one entry for each variable name. The default
name associated with column ``i`` of *DATA_MATRIX* is name associated with column ``i`` of *DATA_MATRIX* is
``Variable_i``. The final argument, *TEX_NAMES*, is a :math:`N ``Variable_i``. The final argument, *TEX_NAMES*, is a :math:`N
\times 1` cell of strings composed of the :math:`\text{\LaTeX}` names \times 1` cell of strings composed of the LaTeX names
associated with the variables. The default :math:`\text{\LaTeX}` name associated with the variables. The default LaTeX name
associated with column ``i`` of *DATA_MATRIX* is associated with column ``i`` of *DATA_MATRIX* is
``Variable\_i``. If the optional second input argument is a ``Variable\_i``. If the optional second input argument is a
range of dates, ``dates`` object *RANGE_OF_DATES*, the number range of dates, ``dates`` object *RANGE_OF_DATES*, the number