Hi,
I work with sweave a lot and it often happens that my generated R code has a "$" sign symbol, such as when I reference an element of a list. However, when I get my code into texmaker, all the syntax after the dollar symbol is highlighted green.
For example, in my code I have the following:
\begin{Schunk}
\begin{Sinput}
......data$age....
\end{Sinput}
\end{Schunk}
However, because of the dollar sign, all my code afterwards is the wrong color. This doesn't happen in Texshop on my mac and I was wondering if there is a way around this?
Thanks!
Texmaker and TeXstudio ⇒ Sweave Syntax Highlighting
NEW: TikZ book now 40% off at Amazon.com for a short time.