Writing and styling PDF documents with RStudio