project:
  type: website

#subtitle: |
# HumTek-B-23, Basisprojekt 2 \
# eksamensgruppe V2324788176

lang: da

website:
  title: "Oversigt"
  navbar:
    left:
      - text: Produktioner
        menu:
        - text: Fælles
          href: graph/index.qmd
        - text: Sproget
          href: graphlang/index.qmd
        - text: Redskaber
          href: graphtools/index.qmd
        - text: Anvendelser
          href: graphuse/index.qmd
      - text: Planer
        href: plans/index.qmd
      - text: Redskaber
        href: tools/index.qmd

mainfont: ETbb
mainfontoptions:
#- Ligatures=TeX
- Numbers=Lowercase
#- Mapping=tex-text
#- Numbers=OldStyle
sansfont: TeX Gyre Heros
sansfontoptions:
#- Ligatures=TeX
- Scale=MatchLowercase
monofont: Inconsolata
monofontoptions:
- Scale=MatchLowercase

title-block-banner: true

format:
  html:
    default-image-extension: svg
    theme:
      light: flatly
      dark: darkly
    css: styles.css
    toc: true
  pdf:
#    links-as-notes: true
    colorlinks: false
    pdf-engine: lualatex
    documentclass: scrreprt
    classoption:
    - DIV=calc
    csquotes: true
    papersize: a4
    template-partials:
      - title.tex

    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]

# override colors otherwise inherited from html theme
mermaid:
  theme: neutral

link-citations: true
bibliography: ref.bib
csl: apa
resource-path:
- /usr/share/citation-style-language/styles