Paginate the HTML Output of R Markdown with CSS for Print
Paginate the HTML Output of R Markdown with CSS for Print. You only need a modern web browser (e.g., Google Chrome or Microsoft Edge) to generate PDF. No need to install LaTeX to get beautiful PDFs. This R package stands on the shoulders of two giants to support typesetting with CSS for R Markdown documents: Paged.js and ReLaXed (we only borrowed some CSS from the ReLaXed repo and didn't really use the Node package).
An R package maintained by RStudio (now Posit) that supplies journal-specific R Markdown output formats and article templates to generate formatted LaTeX/PDF submissions across academic publishers.