svmiller / svm-r-markdown-templates

This is my (deprecated) suite of R Markdown templates for academic manuscripts, beamer presentations, and syllabi. DOWNLOAD {stevetemplates} INSTEAD.
http://svmiller.com/stevetemplates/
Other
896 stars 737 forks source link

Enhancement: option to repeat header section #15

Open joelmaxuel opened 5 years ago

joelmaxuel commented 5 years ago

First and foremost, I want to give thanks for this template. I wanted to rework my Resume in R markdown, and I was getting nowhere fast hacking the YAML. This saved me countless hours, and simplified what I wanted to accomplish all along.

The habit with my old Resume was to have a single double-sided sheet, however the header remained on both pages. In the rework, I got the core info down to one core page (with a second for some recent, vaguely relevant things). I still wanted to have a repeating header in the same document.

The patch linked below does this (in a rather crude fashion) by allowing the editor to insert a \NewPageHeader at any desired page break. The original header is stored above the document start and is invoked originally by a \AtBeginDocument. This does not handle wrapped pages but a use case for that scenario seems slim.

At any rate, less talk, more action - here is the patch:

https://pastebin.com/GM33Mzc1