title: Change background colour of rmarkdown pdf output
body: <p>I am currently using RStudio 0.98.1091 and I am trying to create a pdf document with the render function from the rmarkdown package.</p>
  
  <p>R script:</p>
  
  <pre><code>library("rmarkdown")
  render("input.Rmd", "pdf_document")
  </code></pre>
  
  <p>input.Rmd</p>
  
  <pre><code>---
  title: "Report"
  output: pdf_document 
  ---
  
  
  &lt;style&gt;
    body {background-color:lightgray}
  &lt;/style&gt;
  &lt;body&gt;
    &lt;h1&gt;This is a heading&lt;/h1&gt;
    &lt;p&gt;This is a paragraph.&lt;/p&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>I would like to set the background color of the whole report, out of desperation I tried a few things like using html; with no results.</p>
  
  <p>The document has graphs plotted with R code chunks, tables, and text. </p>
  
  <p>Again, I would like to set the document background color to something else (currently white).</p>
  
  <p>Thanks,</p>
  
  <p>ZeroStack</p>
  
  <p>I am using OS X 10.10.3 with pandoc and MacTex installed.</p>