[R] Bugreport on integration of Sweave and latex beamer

Ajay Shah ajayshah at mayin.org
Fri Aug 31 19:30:24 CEST 2007


> Sweave makes a lot of use of verbatim environments, and beamer doesn't 
> like those.  You need to declare that a slide contains verbatim or you 
> get errors like that.
> 
> I'm sure there are other ways to do this, but one that works is to use
> 
> \begin{frame}[containsverbatim]
> 
> at the start of each slide.  This makes some other beamer features stop 
> working, but I forget which.

Thanks! This works. :-)

-- 
Ajay Shah                                      http://www.mayin.org/ajayshah  
ajayshah at mayin.org                             http://ajayshahblog.blogspot.com
<*(:-? - wizard who doesn't know the answer.



More information about the R-help mailing list