I am using TeXstudio to typeset some R code with environment Rcode, 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 Rcode and 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?
\( x \)for (inline) math and to customize TXS to not render$as math. – henry Mar 05 '15 at 14:23