preamble.tex 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. \documentclass[11pt,a4paper]{article}
  2. % Config
  3. %%%%%%%%%%%
  4. % get settings from config
  5. \input{config}
  6. \title{\thetitle}
  7. \author{\theauthor}
  8. \date{\thedate}
  9. % Packages
  10. %%%%%%%%%%%
  11. % Document language
  12. \usepackage[dutch]{babel}
  13. % Extra font settings
  14. \usepackage[utf8]{inputenc}
  15. % Document size and marging
  16. \usepackage[
  17. a4paper,
  18. includeheadfoot,
  19. top=1cm,
  20. bottom=1cm,
  21. right=2.0cm,
  22. left=2.0cm
  23. ]{geometry}
  24. % Links and metadata
  25. \usepackage[
  26. hidelinks,
  27. pdfauthor={\theauthor},
  28. pdftitle={\thetitle}
  29. ]{hyperref}
  30. % Newline in front of paragraph
  31. \usepackage{parskip}
  32. % Enable importing graphics
  33. \usepackage{graphicx}
  34. \graphicspath{{figs/}}
  35. % Fancy header and footer
  36. \usepackage{fancyhdr}
  37. \fancyhf{}
  38. \pagestyle{fancy}
  39. % Header
  40. \fancyhead[L]{\small\rm\textit{\rightmark}}
  41. \fancyhead[R]{\small\rm\textbf{\thepage}}
  42. \renewcommand{\headrulewidth}{0.5pt}
  43. % Footer
  44. \fancyfoot[L]{\small\rm\textit{\thetitle}}
  45. \fancyfoot[R]{\small\rm\textit{\theauthor}}
  46. \renewcommand{\footrulewidth}{0.5pt}
  47. \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}