From 52d4da2d0fd313c23dc12d53af8ed6f859c0c23b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Fri, 19 Feb 2021 17:45:58 +0100 Subject: [PATCH] Remove time subscript in LaTeX output of model-local variables See https://forum.dynare.org/t/tex-output-unwanted-subscript-t/16072 (cherry picked from commit ca4b1ba4edf1470d16005df10f067fa8ced13aad) --- src/ExprNode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ExprNode.cc b/src/ExprNode.cc index b01bd5ba..4c76b537 100644 --- a/src/ExprNode.cc +++ b/src/ExprNode.cc @@ -979,7 +979,7 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type, output << R"(\bar)"; output << "{" << datatree.symbol_table.getTeXName(symb_id) << "}"; if (output_type == ExprNodeOutputType::latexDynamicModel - && (type == SymbolType::endogenous || type == SymbolType::exogenous || type == SymbolType::exogenousDet || type == SymbolType::modelLocalVariable || type == SymbolType::trend || type == SymbolType::logTrend)) + && (type == SymbolType::endogenous || type == SymbolType::exogenous || type == SymbolType::exogenousDet || type == SymbolType::trend || type == SymbolType::logTrend)) { output << "_{t"; if (lag != 0) -- GitLab