liteformats provides lightweight, carefully typeset document formats for litedown. The first formats are a professional resume and a two-column cover letter. They use HTML and CSS, paginate with a packaged copy of Yihui Xie's pages.js, and require neither Pandoc nor LaTeX.
You can install liteformats from CRAN:
install.packages("liteformats")
Or try the development version from GitHub:
# install.packages("pak")
# pak::pak("nanxstats/liteformats")
install.packages("liteformats", repos = c('https://nanxstats.r-universe.dev', 'https://cloud.r-project.org'))
Create the resume starter, then render it to self-contained HTML or PDF:
liteformats::use_resume("resume.Rmd")
liteformats::resume("resume.Rmd", "resume.html")
liteformats::resume("resume.Rmd", "resume.pdf")
Use the matching cover_letter() renderer for the cover letter starter:
liteformats::use_cover_letter("cover-letter.Rmd")
liteformats::cover_letter("cover-letter.Rmd", "cover-letter.html")
liteformats::cover_letter("cover-letter.Rmd", "cover-letter.pdf")
HTML output is self-contained. A .pdf output path prints the HTML through
headless Chrome, which must be installed to create PDFs but is not needed for
HTML output.
Start with Get started with liteformats. The shared guides cover configuration, typography, and automated builds.
For format-specific metadata and authoring, see resumes and cover letters.