% Created 2014-02-01 Sat 11:40
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usetheme{default}
\author{}
\date{\today}
\title{test}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Emacs 24.3.1 (Org mode 8.2.5h)}}
\begin{document}

\maketitle

\begin{frame}[fragile,label=sec-1]{src block}
 \begin{itemize}
\item Only spaces here, but tabs will appear in .tex
\end{itemize}

\begin{verbatim}
a <- "Test of whitespace preservation"

b <- cat("Let's see what happens when we spill",
	 "onto multiple lines but want the text",
	 "being passed to cat() to be aligned")
\end{verbatim}
\end{frame}
\begin{frame}[fragile,label=sec-2]{example block}
 \begin{itemize}
\item Only spaces here, which will be unchanged in .tex
\end{itemize}

\begin{verbatim}
a <- "Test of whitespace preservation"

b <- cat("Let's see what happens when we spill",
         "onto multiple lines but want the text",
         "being passed to cat() to be aligned")
\end{verbatim}
\end{frame}

\begin{frame}[fragile,label=sec-3]{src block}
 \begin{itemize}
\item Idea to play with less spaces (< 5)
\end{itemize}

\begin{verbatim}
a <- "Test of whitespace preservation"

b <- cat("Let's see what happens when we spill",
  "onto multiple lines but want the text",
   "being passed to cat() to be aligned")
\end{verbatim}
\end{frame}
\begin{frame}[fragile,label=sec-4]{example block}
 \begin{verbatim}
a <- "Test of whitespace preservation"

b <- cat("Let's see what happens when we spill",
  "onto multiple lines but want the text",
   "being passed to cat() to be aligned")
\end{verbatim}
\end{frame}
% Emacs 24.3.1 (Org mode 8.2.5h)
\end{document}
