README.md

aswp

An opinionated LaTeX template for R Markdown working papers

Installation

You can install aswp from Github with:

remotes::install_github("svraka/aswp")

Usage

This package provides an aswp() function which is an R Markdown document format creator. To use it, you need to add aswp::aswp to the output field in the YAML metadata block of your R Markdown file. The recommended way to use this template is however by

rmarkdown::draft("paper.Rmd", template = "aswp", package = "aswp")

Or use your editor's interface to this function:

This provides a basic skeleton for the most important, and non-obvious features and helps setting up a more complex document with references and appendices which are often used in research papers.

Then knit and compile like any other R Markdown document and you'll get a nicely formatted PDF. TinyTeX should automatically take care of the required LaTeX packages.

Further details

See the vignette (PDF) for other functionalities and recommendations.



svraka/aswp documentation built on Dec. 3, 2020, 10:52 p.m.