I am putting together a beamer presentation with some programming code. However, the verbatim package by default places the code on the left most fringe of the slide. I want the slide to be a little closer to the center of the slide, but still left alligned. How can I do this? can't find anything on google
\begin{frame}[fragile]
\begin{center}
\begin{verbatim}
> library(memisc)
> x <- round(rnorm(3),1)
> y <- round(rnorm(3)*2,1)
> mytable <- genTable(y ~ x)
> toLatex( mytable )
\end{verbatim}
\end{center}
\end{frame}
Best Answer