preamble.tex 1000 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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=0.5cm,
  20. bottom=3.0cm,
  21. right=2.0cm,
  22. left=2.0cm
  23. ]{geometry}
  24. % Links in file
  25. \usepackage[hidelinks]{hyperref}
  26. % Newline in front of paragraph
  27. \usepackage{parskip}
  28. % Enable importing graphics
  29. \usepackage{graphicx}
  30. \graphicspath{{figs/}}
  31. % Fancy header and footer
  32. \usepackage{fancyhdr}
  33. \fancyhf{}
  34. \pagestyle{fancy}
  35. % Header
  36. \fancyhead[L]{\small\rm\textit{\rightmark}}
  37. \fancyhead[R]{\small\rm\textbf{\thepage}}
  38. \renewcommand{\headrulewidth}{0.5pt}
  39. % Footer
  40. \fancyfoot[L]{\small\rm\textit{\thetitle}}
  41. \fancyfoot[R]{\small\rm\textit{\theauthor}}
  42. \renewcommand{\footrulewidth}{0.5pt}
  43. \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}