Skip to contents

Add Formatting Arguments for YAML Header

Usage

format_quarto(format = NULL)

Arguments

format

format for rendering (pdf, html, or docx)

Value

This function returns part of a quarto YAML header that helps with formatting the document during rendering.

Examples

format_quarto(format = "pdf")
#> [1] "format: \n  pdf: \n    documentclass: scrartcl\n    number-sections: true\n    template-partials:\n      - 'support_files/before-body.tex'\n      - 'support_files/_titlepage.tex'\n    include-in-header:\n      - 'support_files/in-header.tex'\n    toc: true\n    lof: true\n    lot: true\n    titlepage-geometry: \n      - top=2in\n      - bottom=1in\n      - right=1in\n      - left=1in\n"