How to Adapt Any LaTeX Template for Use With R Markdown in Four Steps
You may often want to use a LaTeX template from some journal with R Markdown. Is is relatively simple to do so, but it can be frustrating to figure out how.
You may often want to use a LaTeX template from some journal with R Markdown. Is is relatively simple to do so, but it can be frustrating to figure out how.
What to do when the chunk options you need to get R Markdown to do what you want are missing? You create the ones you need. It is incredibly useful to be able to do so — unfortunately it can be a bit tricky to figure out how. Here’s a quick guide.
In a previous blog post, I detailed at length the nitty-gritty of how one might take the ACM Master Article LaTeX templates and get them to play nicely with R Markdown. To make it super easy in practice, I created two R packages which supply easy-to-use R Markdown templates in RStudio for CHI Proceedings and CHI Extended Abstracts.
I love R Markdown, but struggled for hours and hours to get it to play nicely with arbitrary LaTeX templates, especially for submissions to the ACM CHI conference. I cracked it in the end (I think). Here’s a tutorial explaining how to write CHI articles in R Markdown using ACM’s new article template.
Science is in trouble. We find ourselves with a mess of publications in which true findings are scattered among false positives. An unacceptably wide range of claims can be made to seem legitimate by cherrypicking the literature. We urgently need a transparent metric for the level of confidence to have in specific findings — a ‘Reproducibility Index’.