title: Using the Tufte-Latex class in Sweave
body: <p>I must confess that today is my first day using either Sweave or LaTeX. Yes, it's true. I realized today that my "before 40" bucket list was not going to resolve itself in the absence of my involvement. And like so many men of my generation, learning Sweave and LaTeX is on my bucket list. </p>
  
  <p>So with that long preamble, I have a very nice first Sweave document:</p>
  
  <pre><code>\documentclass{article}
  \begin{document}
  \title{Look Mom! I'm doing \LaTeX}
  \author{JD Long}
  \maketitle
  \section{Where I get both funky and fresh}
  &lt;&lt;make some randomness&gt;&gt;=
    set.seed(12)
    t &lt;- rnorm(100)
  @
  and an example plot
  \begin{center}
  &lt;&lt;fig=TRUE,echo=FALSE&gt;&gt;=
    plot(density(t))
  @
  \end{center}
  This is a very simple example of how we might get started with Sweave. You know what comes next, right? That's right... Lorem Ipsum, ladies! 
  
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin sed sem est. Pellentesque massa magna, ullamcorper eget lacinia sit amet, dignissim ac leo. Fusce hendrerit elit vitae lacus mollis suscipit. 
  \end{document}
  </code></pre>
  
  <p>Which produces this wonderful output:</p>
  
  <p><img src="https://i.stack.imgur.com/KA9E7.png" alt="enter image description here"></p>
  
  <p>So that much is great. But what I really would like to do is start bringing in wonderful LaTeX classes like the <a href="http://code.google.com/p/tufte-latex/" rel="nofollow noreferrer">Tufte-LaTeX</a> class which, from what I understand, basically turns my documents into brilliant, inspired works of art. </p>
  
  <p>So how would I bring the Tufte-LaTeX business into my Sweave document and use it to make my documents more magical? </p>