aboutsummaryrefslogtreecommitdiff
path: root/_report.yml
blob: 2b07e5f253790019268a21a6527e5c46d8f78ed1 (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. \usepackage{titling}
  29. \renewcommand{\maketitlehookd}{\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]