summaryrefslogtreecommitdiff
path: root/tryk/_issue.yml
blob: 0f24ee2faab5eb6e4187ab8334ba09947ff909c9 (plain)
  1. format:
  2.   pdf:
  3. # links-as-notes: true
  4. colorlinks: false
  5. pdf-engine: lualatex
  6. documentclass: scrartcl
  7. csquotes: true
  8. papersize: a4
  9. # extract-media: img
  10. include-in-header:
  11. # support multiple tagged columns (class option twocolumn is not tagged)
  12. - text: |
  13. \usepackage[a4paper, margin=0.5in, bottom=1in]{geometry} % Set all margins to zero
  14. \usepackage{multicol}
  15. \setlength{\columnsep}{20pt} % Adjust space between columns
  16. \setlength{\columnwidth}{0.45\textwidth} % Set column width (optional)
  17. # avoid widow headline or definition description
  18. - text: |
  19. \usepackage{needspace}
  20. \let\oldsection\section
  21. \renewcommand{\section}[1]{%
  22. \needspace{6\baselineskip}
  23. \oldsection{#1}%
  24. }
  25. \let\olddesc\description
  26. \renewcommand{\description}[1][]{%
  27. \olddesc[#1]%
  28. \needspace{2\baselineskip}
  29. }
  30. # avoid widow or orphan lines
  31. - text: |
  32. \usepackage[defaultlines=3,all]{nowidow}
  33. # set page footer to danish page count "side X af Y"
  34. - text: |
  35. \usepackage{lastpage}
  36. \usepackage{scrlayer-scrpage}
  37. \cfoot{side \thepage\ af \pageref{LastPage}}
  38. # suppress figure label
  39. - text: |
  40. \usepackage[labelformat=empty]{caption}
  41. include-before-body:
  42. - text: |
  43. # enable multiple tagged columns
  44. - text: |
  45. \begin{multicols}{2}
  46. \raggedcolumns
  47. include-after-body:
  48. # conclude multiple tagged columns
  49. - text: |
  50. \end{multicols}