format:
  html:
    toc: false
  pdf:
    colorlinks: false
    pdf-engine: lualatex
    documentclass: scrartcl
    classoption:
    - DIV=calc
    csquotes: true
    papersize: a4

    include-in-header:
# recalculate page margins, since mainfont was set after documentclass
    - text: |
        \KOMAoptions{DIV=last}
# avoid widow or orphan lines
    - text: |
        \usepackage[defaultlines=4,all]{nowidow}

    include-before-content:
# avoid english style of double space after punctuation
    - text: |
        \frenchspacing
# setup graph visualization libraries
    - text: |
        \usepackage{tikz}
        \usetikzlibrary{arrows.meta,chains,positioning,shapes.geometric}
        \tikzset{
         node distance = 0.75cm and 2cm, font=\bfseries,
         >=stealth,
         vertex/.style={circle,draw,minimum size=1.5em}
        }
        \tikzstyle{bag} = [align=center]