block-headings
make \paragraph
and \subparagraph
(fourth- and fifth-level headings, or fifth- and sixth-level with book classes) free-standing rather than run-in; requires further formatting to distinguish from \subsubsection
(third- or fourth-level headings). Instead of using this option, KOMA-Script can adjust headings more extensively:
---
documentclass: scrartcl
header-includes: |
\RedeclareSectionCommand[
beforeskip=-10pt plus -2pt minus -1pt,
afterskip=1sp plus -1sp minus 1sp,
font=\normalfont\itshape]{paragraph}
\RedeclareSectionCommand[
beforeskip=-10pt plus -2pt minus -1pt,
afterskip=1sp plus -1sp minus 1sp,
font=\normalfont\scshape,
indent=0pt]{subparagraph}
...
classoption
option for document class, e.g. oneside
; repeat for multiple options:
---
classoption:
- twocolumn
- landscape
...
documentclass
document class: usually one of the standard classes, article
, book
, and report
; the KOMA-Script equivalents, scrartcl
, scrbook
, and scrreprt
, which default to smaller margins; or memoir
geometry
option for geometry
package, e.g. margin=1in
; repeat for multiple options:
---
geometry:
- top=30mm
- left=20mm
- heightrounded
...
indent
uses document class settings for indentation (the default LaTeX template otherwise removes indentation and adds space between paragraphs)
linestretch
adjusts line spacing using the setspace
package, e.g. 1.25
, 1.5
margin-left
, margin-right
, margin-top
, margin-bottom
sets margins if geometry
is not used (otherwise geometry
overrides these)
pagestyle
control \pagestyle{}
: the default article class supports plain
(default), empty
(no running heads or page numbers), and headings
(section titles in running heads)
papersize
paper size, e.g. letter
, a4
secnumdepth
numbering depth for sections (with --number-sections
option or numbersections
variable)