Skip to content

Instantly share code, notes, and snippets.

@timcdlucas
Created February 12, 2020 10:54
Show Gist options
  • Save timcdlucas/103b282455686ad7ed2cc32e0887a4bc to your computer and use it in GitHub Desktop.
Save timcdlucas/103b282455686ad7ed2cc32e0887a4bc to your computer and use it in GitHub Desktop.
pdf markdown
#'---
#'output:
#' pdf_document:
#' number_sections: true
#' toc: true
#' toc_depth: 2
#' keep_tex: true
#'title: "test"
#'author: Tim Lucas
#'fontsize: 8pt
#'geometry: margin=0.5in
#'---
#' words
#+setup, echo = FALSE, cache = FALSE, results = 'hide'
knitr::opts_chunk$set(
tidy=TRUE,
fig.width=12,
fig.height=8,
fig.cap=FALSE,
fig.crop=TRUE,
fig.pos='h',
tidy.opts=list(width.cutoff=60))
#+ plot
plot(1:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment