Actually, I figured out that you can, but the syntax is different. You don't declare using \usedocument{beamer} \usetheme{PaloAlto}, instead, title and output are the correct syntax.
Is there a full conversion list from Latex Beamer to Markdown Beamer? Thanks! On Mon, Jan 23, 2017 at 7:20 PM, C W <tmrs...@gmail.com> wrote: > Hi R list, > > Is it possible to use R markdown with beamer palo alto theme? Are they > compatible? > > I copy pasted my LaTex code over to R, I get the following error message: > > ! LaTeX Error: Can be used only in preamble. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H <return> for immediate help. > ... > > l.89 \end{frame} > > pandoc: Error producing PDF > Error: pandoc document conversion failed with error 43 > Execution halted > > Thanks for your help in advance! > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.