From 4708c6a4f6c0135279f178d77c3e4748dba892cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemia=20=28Scylla=29?= Date: Tue, 5 Feb 2019 10:26:42 +0100 Subject: [PATCH] Add write_equation_tags option to write_latex_original_model and write_latex_static_model. See 1551d33e9e3a6eaaec846be9ce352a3ef95516ab. --- src/source/the-model-file.rst | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/source/the-model-file.rst b/src/source/the-model-file.rst index 8a4b9a4e0..466de31eb 100644 --- a/src/source/the-model-file.rst +++ b/src/source/the-model-file.rst @@ -951,7 +951,7 @@ command, the list of transformed model equations using the ``write_latex_dynamic_model command``, and the list of static model equations using the ``write_latex_static_model`` command. -.. command:: write_latex_original_model ; +.. command:: write_latex_original_model (OPTIONS); |br| This command creates two LaTeX files: one containing the model as defined in the model block and one @@ -972,6 +972,13 @@ equations using the ``write_latex_static_model`` command. Compiling the TeX file requires the following LaTeX packages: ``geometry, fullpage, breqn``. + *Options* + + .. option:: write_equation_tags + + Write the equation tags in the LaTeX output. The + equation tags will be interpreted with LaTeX markups. + .. command:: write_latex_dynamic_model ; write_latex_dynamic_model (OPTIONS); @@ -1017,11 +1024,10 @@ equations using the ``write_latex_static_model`` command. .. option:: write_equation_tags - Write the equation tags in the :math:`\text{\LaTeX}` output. NB: the - equation tags will be interpreted with :math:`\text{\LaTeX}` markups. + See :opt:`write_equation_tags` -.. command:: write_latex_static_model ; +.. command:: write_latex_static_model (OPTIONS); |br| This command creates two LaTeX files: one containing the static model and one containing the LaTeX @@ -1046,9 +1052,15 @@ equations using the ``write_latex_static_model`` command. (i.e. without leads and lags) of the dynamic ``model`` declared in the model block. - For the required :math:`\text{\LaTeX}` packages, see + For the required LaTeX packages, see :comm:`write_latex_original_model`. + *Options* + + .. option:: write_equation_tags + + See :opt:`write_equation_tags`. + .. _aux-variables: Auxiliary variables