Provide an escape comments = yes|no option that will not escape \{} inside the Comment regions. The current behaviour is equivalent to escapecomments=no. With escapecomments=yes, one can say:
/* The following function computers the roots of \m{ax^2 + bx + c = 0} using the
determinant \m{\Delta = \frac {-b \pm \sqrt{b^2 - 2ac}}{2a}} */
double root (double a, double b, double c) {....}
so that the \ in the comments are not escaped and then the math is typeset using TeX.
Provide an
escape comments = yes|no
option that will not escape\{}
inside theComment
regions. The current behaviour is equivalent toescapecomments=no
. Withescapecomments=yes
, one can say:so that the
\
in the comments are not escaped and then the math is typeset using TeX.