hw_471: STAT471 Homework Format

Description Usage Arguments Value Examples

Description

STAT471 Homework Format

Usage

1
2
3
hw_471(documentclass = "hw_471", fig_width = 4, fig_height = 2.5,
  fig_crop = TRUE, dev = "pdf", highlight = "default",
  template = template_resources("hw_471", "template.tex"), ...)

Arguments

fig_width

Default width (in inches) for figures

fig_height

Default width (in inches) for figures

fig_crop

TRUE to automatically apply the pdfcrop utility (if available) to pdf figures

dev

Graphics device to use for figure output (defaults to pdf)

highlight

Syntax highlighting style. Supported styles include "default", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn", and "haddock". Pass NULL to prevent syntax highlighting.

template

Pandoc template to use for rendering. Pass "default" to use the rmarkdown package default template; pass NULL to use pandoc's built-in template; pass a path to use a custom template that you've created. See the documentation on for details on creating custom templates.

...

Arguments to rmarkdown::pdf_document

Value

R Markdown output format to pass to render

Examples

1
2
3
4
5
## Not run: 
library(rmarkdown)
draft("MyArticle.Rmd", template = "hw_471", package = "stat471")

## End(Not run)

stillmatic/stat471 documentation built on May 30, 2019, 5:44 p.m.