diff --git a/doc/manual/source/dynare-misc-commands.rst b/doc/manual/source/dynare-misc-commands.rst
index 3d19a87a6b4def88a0d1db30f42ecf553b12de08..7fa7da3ebe6e71702a0facebe9f454d9f13c71ba 100644
--- a/doc/manual/source/dynare-misc-commands.rst
+++ b/doc/manual/source/dynare-misc-commands.rst
@@ -12,7 +12,7 @@ Dynare misc commands
 
     Executes a user-defined function on parameter draws from the prior
     distribution. Dynare returns the results of the computations for
-    all draws in an $ndraws$ by $n$ cell array named
+    all draws in an `ndraws` by :math:`n` cell array named
     ``oo_.prior_function_results``.
 
     *Options*