aboutsummaryrefslogtreecommitdiff
path: root/_report.yml
blob: bad7757892332ad5e7ee815ac6b367396d89a0af (plain)
  1. toc: true
  2. toc-depth: 2
  3. comments:
  4. hypothesis:
  5. showHighlights: whenSidebarOpen
  6. format:
  7. pdf:
  8. # links-as-notes: true
  9. colorlinks: false
  10. pdf-engine: lualatex
  11. # permit preprocessing PlantUML SVG files with inkscape
  12. pdf-engine-opt: --shell-escape
  13. documentclass: scrreprt
  14. classoption:
  15. - DIV=calc
  16. csquotes: true
  17. papersize: a4
  18. fontsize: 12pt
  19. template: ../_templates/template.tex
  20. template-partials:
  21. - ../_templates/doc-class.tex
  22. - ../_templates/title.tex
  23. include-in-header:
  24. # declare license
  25. - text: |
  26. \usepackage{hyperref}
  27. \usepackage[type={CC}, modifier={by-sa}, version={4.0}]{doclicense}
  28. \publishers{\vspace*{\fill}\small\par\doclicenseThis}
  29. # define missing danish locale strings (must load after package codlicense)
  30. # TODO: override URI suffix (curently ignored and using default URI)
  31. - text: |
  32. \makeatletter
  33. \@namedef{doclicense@lang@thisDoc}{Dette værk er licenseret under en}
  34. \makeatother
  35. \makeatletter
  36. \@namedef{doclicense@lang@word@license}{-licens}
  37. \makeatother
  38. \makeatletter
  39. \@namedef{doclicense@lang@lic@CC@code}{da}
  40. \makeatother
  41. \makeatletter
  42. \@namedef{doclicense@lang@lic@CC@by-sa@4.0}{Kreditering-DelPåSammeVilkår 4.0 International}
  43. \makeatother
  44. # recalculate page margins, since mainfont was set after documentclass
  45. - text: |
  46. \KOMAoptions{DIV=last}
  47. # avoid widow or orphan lines
  48. - text: |
  49. \usepackage[defaultlines=4,all]{nowidow}
  50. include-before-content:
  51. # avoid english style of double space after punctuation
  52. - text: |
  53. \frenchspacing
  54. # setup graph visualization libraries
  55. - text: |
  56. \usepackage{tikz}
  57. \usetikzlibrary{arrows.meta,chains,positioning,shapes.geometric}
  58. \tikzset{
  59. node distance = 0.75cm and 2cm, font=\bfseries,
  60. >=stealth,
  61. vertex/.style={circle,draw,minimum size=1.5em}
  62. }
  63. \tikzstyle{bag} = [align=center]