I am using TeXstudio to typeset some R code with environment
Routput and command
\Rinline (provided by
SASnRdisplay package). Whenever there is a
$ sign appears in the code, TeXstudio will recognize it as the beginning of inline math and render everything after that differently. It does not affect the compiled file but it can be annoying while editing.
I can make
Routput to act like verbatim by changing the the custom highlighting option. However it does not work for
\Rinline since it is not an environment. Is there a workaround for this?