Skip to content

This R package provides a template for writing ACM CHI Extended Abstract papers in R Markdown, and compiling to PDF via the ACM Master LaTeX Template (v. 1.56).

Notifications You must be signed in to change notification settings

ulyngs/chi-2019-ea-rmd-template

Repository files navigation

ACM CHI Extended Abstracts R Markdown Template

This R package provides a template for writing ACM CHI Extended Abstract papers in R Markdown, and compiling to PDF via the LaTeX templates from the ACM Master Article Template (v. 1.56).

How to cite

DOI

@misc{lyngsChiEaRmdTemplate2018,
  author = {Lyngs, Ulrik},
  title = {chi-ea-rmd-template},
  year = {2018},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/ulyngs/chi-ea-rmd-template}},
  doi = {10.5281/zenodo.3524926},
}

Overview

Using a tool like R Markdown to write scientific papers makes your work more transparent and reproducible, and reduces the risk of introducing errors by manually transfering results from statistical software to manuscript.

However, getting R Markdown to play nicely with the latest ACM LaTeX templates can be tricky.

This R package makes it easy, by providing a ready-made .Rmd template with YAML metadata and body text illustrations of what you need to know, which compiles to the latest CHI Extended Abstracts (used for CHI'19 submissions) format via the ACM Master Article LaTeX template.

Installation

# The package isn't on CRAN - install the development version from GitHub:
# install.packages("devtools")
devtools::install_github("ulyngs/chi-ea-rmd-template")

Usage

The easiest way to use the template is with RStudio, via File -> New File -> R Markdown... In the dialog box, click 'From Template', then find the new 'ACM CHI Extended Abstracts {CHIExtendedAbstracts}' option, give your manuscript a name (e.g. 'Test'), then click OK: R Markdown template dialog

A new folder named Test is created, and you see an open Test.Rmd file: Test.Rmd with illustration content

If you click 'Knit', it compiles to the example PDF output with the illustration content from Test.Rmd: Compiled result - PDF output in CHI Extended Abstracts format

It also keeps the intermediary generated Test.tex file from which the PDF output was created: Intermediary Test.tex from which the PDF output was created

Now go ahead and replace the content of Test.Rmd with your own fantastic work!

NOTE: include the initial setup_output code chunk at the top of your .Rmd file, as it creates custom chunk options that allow you to e.g. add image descriptions for visually impaired readers.

About

This R package provides a template for writing ACM CHI Extended Abstract papers in R Markdown, and compiling to PDF via the ACM Master LaTeX Template (v. 1.56).

Resources

Stars

Watchers

Forks

Packages

No packages published