R Markdown Templates for the 'KOMA-Script' Classes

R Markdown templates based on the 'KOMA-Script' classes for LaTeX, additionally offering cross-referencing via the 'bookdown' package.

Travis-CI BuildStatus AppVeyor BuildStatus CRANstatus codecov

komadown provides R Markdown templates for the KOMA-Script classes (currently only koma-scartcl). It is intended only for pdf (LaTeX) output.

It wraps around bookdown to enable cross-referencing of figures, sections. theorems, and equations.


You can install komadown from CRAN with


or install the latest development version from github with

# install.packages("devtools")


  • komadown is licensed under GPL-3
  • The Vancouver (brackets) style is licensed under CC BY-SA 3.0.
  • Copied and modified code from rticles is licensed under GPL-3.


komadown 0.2.0

Minor changes

  • Added option margin=1em to the subfig LaTeX package in template.
  • The .Rmd skeleton now includes a hook by default that enables subfigures via the subfig package for LaTeX.
  • amsmath was replaced by/extended with the mathtools packages.
  • amssymb and mathtools are now used when no fontpackage or fontfamily is specified.
  • Times newtxtext was once again made the default font package after the compatibility issue with KOMA-Script and footnotes was (fixed in newtx 1.526)[https://www.ctan.org/tex-archive/fonts/newtx].
  • Allow custom .csl bibliography styles (see #2).

Bug fixes

  • Properly setup natbib if required.
  • Append .bib to bibliography items when biblatex is used.

komadown 0.1.0

  • This is the first release of komadown.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.0 by Johan Larsson, a year ago


Report a bug at https://github.com/jolars/komadown/issues

Browse source code at https://github.com/cran/komadown

Authors: Johan Larsson [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports bookdown, rmarkdown

Suggests testthat, covr, knitr

See at CRAN