Changes to the write_latex_{static,dynamic}_model:
* fixed bug in the dynamic version (was putting time subscripts to parameters) * changed symbol for multiplication to a space (was a dot) git-svn-id: https://www.dynare.org/svn/dynare/trunk@2802 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
fbff270180
commit
db382f1f6f
|
@ -327,7 +327,8 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
|
|||
if (IS_LATEX(output_type))
|
||||
{
|
||||
output << datatree.symbol_table.getTeXName(symb_id);
|
||||
if (output_type == oLatexDynamicModel)
|
||||
if (output_type == oLatexDynamicModel
|
||||
&& (type == eEndogenous || type == eExogenous || type == eExogenousDet || type == eModelLocalVariable))
|
||||
{
|
||||
output << "_{t";
|
||||
if (lag != 0)
|
||||
|
@ -1651,7 +1652,7 @@ BinaryOpNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
|
|||
break;
|
||||
case oTimes:
|
||||
if (IS_LATEX(output_type))
|
||||
output << "\\cdot ";
|
||||
output << "\\, ";
|
||||
else
|
||||
output << "*";
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue