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