Using LaTeX templates with R Markdown in RStudio

If the event organizers had their collective act together, they would have taken the slight amount of trouble to upload this to CTAN, where it could be installed into your \LaTeX environment and invoked with

header-includes:
  - \usepackage{SDSS2020}

and all would be well. Or if they kept the template constant from year-to-year and just set a date argument. If that were the case, some kind soul would contribute it to @yihui's rticles package and it could be a dropdown choice.

But alas, you have two choices.

  1. Compile to the standard template, specify save tex and edit the result by hand (not a lot of time left to go down that road).
  2. Try your luck at installing the package, as outlined in this post by siulkilulki