Docs/cookbook: add an R + latex example.
This shows how to dynamically generate a plot in R+ggplot2, then embed it into a latex document, and compile it to pdf, all with proper autodependencies.
This commit is contained in:
parent
461ef57b26
commit
2e84c1bc02
14 changed files with 366 additions and 0 deletions
17
Documentation/cookbook/latex/paper.latex
Normal file
17
Documentation/cookbook/latex/paper.latex
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
\documentclass{article}
|
||||
\usepackage{graphicx}
|
||||
|
||||
\title{A very brief note on relativity}
|
||||
\author{The Redo Contributors}
|
||||
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\tableofcontents
|
||||
|
||||
\newpage
|
||||
\section{Amazing Discovery}
|
||||
\input{discovery.txt}
|
||||
|
||||
\section{Irrelevant Chart}
|
||||
\includegraphics{mpg.eps}
|
||||
\end{document}
|
||||
Loading…
Add table
Add a link
Reference in a new issue