Problem with write_latex_dynamic_model

Hello,
I have a problem when using the write_latex_dynamic_model command:
Suppose a variable "eff $B^{problem}$" enters the equation as "eff(-1)^rho" (see attached modfile). This will result in the tex file as "B^{problem}_{t-1}^{\rho}". However, this produces an error because there is a "double superscript".
Does any know how I can avoid this?
(One possible solution would be to use additional curly brackets like "eff ${B^{problem}}$". The resulting tex command will be "{B^{problem}}_{t-1}^{\rho}", but it does not look very nice since the time index is too far away then from the letter.)
Thanks in advance,
best,
Nikals
I have a problem when using the write_latex_dynamic_model command:
Suppose a variable "eff $B^{problem}$" enters the equation as "eff(-1)^rho" (see attached modfile). This will result in the tex file as "B^{problem}_{t-1}^{\rho}". However, this produces an error because there is a "double superscript".
Does any know how I can avoid this?
(One possible solution would be to use additional curly brackets like "eff ${B^{problem}}$". The resulting tex command will be "{B^{problem}}_{t-1}^{\rho}", but it does not look very nice since the time index is too far away then from the letter.)
Thanks in advance,
best,
Nikals