Is it possible to make a mathematical symbol being displayed inside a verbatim environment without affecting the other "verbatim" symbols?
For instance if I use:
\begin{Verbatim}[commandchars=\\\{\},
codes={\catcode`$=3\catcode`^=7}]
param rate {PROD, STAGE} > 0;
#rate[p,s] $\equiv r\sb{ps}^i$
\end{Verbatim}
the mathematical symbol is displayed correctly but
{PROD, STAGE} is displayed without the {}!
Text Formatting ⇒ mathematical symbols in verbatim
NEW: TikZ book now 40% off at Amazon.com for a short time.
mathematical symbols in verbatim
1,1,2,3,5,8,13,21,34,55,89,144,233,...