Math & Science ⇒ Sweave Soutput environment
Sweave Soutput environment
I have created a *.tex file from Sweave package in R. The Sweave.sty defines a verbatim environment as follows
\DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl}
\DefineVerbatimEnvironment{Soutput}{Verbatim}{}
\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl}
My problem is that Emacs doesnt seem to recognize the environment as a verbatim environment and so special characters like '$' are not protected. Any clues to work around wqould be great!cullisb
(PS also sent this to the Auctex list as I am not sure where is the best for this problem)
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis