Re: [R] Sweave and Slides (Beamer)

From: Liviu Andronic <landronimirc_at_gmail.com>
Date: Fri, 15 Apr 2011 07:44:29 +0200

Hello
I sympathise with you, since Beamer can quickly drive one mad.

On Fri, Apr 15, 2011 at 3:11 AM, Brett Presnell <presnell_at_stat.ufl.edu> wrote:

> So, is this useful to anyone besides me?  What trick(s) am I missing
> that would make it easier/better, or that would obviate altogether the
> need for such manipulations?
>

Not a solution that would work in all cases, have you tried reducing the font size? Default Beamer font size is quite generous and leaves some space for manoeuvring. For example, in my Beamer Sweave presentations I put this in the preamble:
\AtBeginDocument{
\DefineVerbatimEnvironment{Sinput}{Verbatim} {xleftmargin=2em,fontsize=
\footnotesize}
\DefineVerbatimEnvironment{Soutput}{Verbatim}{xleftmargin=2em,fontsize=
\footnotesize}
\DefineVerbatimEnvironment{Scode}{Verbatim}{xleftmargin=2em,fontsize=
\footnotesize}
}

Regards
Liviu



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 15 Apr 2011 - 05:49:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 15 Apr 2011 - 10:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive