two column beamer/sweave slide with grid graphic
问题 I'm trying to make a presentation on ggplot2 graphics using beamer + sweave. Some slides should have two columns; the left one for the code, the right one for the resulting graphic. Here's what I tried, \documentclass[xcolor=dvipsnames]{beamer} \usepackage{/Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/Sweave} \usepackage[english]{babel} \usepackage{tikz} \usepackage{amsmath,amssymb}% AMS standards \usepackage{listings} \usetheme{Madrid} \usecolortheme{dove} \usecolortheme