preamble_main.tex 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. %%%%%%% Packages %%%%%%%
  2. \usepackage[dutch]{babel}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage[T1]{fontenc}
  5. % micro-typographic extensions
  6. \usepackage{microtype}
  7. % Allow collumns in page
  8. \usepackage{multicol}
  9. % Table options
  10. \usepackage{booktabs}
  11. %%%%%%% Settings %%%%%%%
  12. % Metadata
  13. \title{Rival Regions Tutorial}
  14. \author{B\`{e}rg C.}
  15. \date{\today}
  16. \newcommand{\theversion}{v0.3}
  17. % Set variables
  18. \makeatletter
  19. \let\thetitle\@title
  20. \let\theauthor\@author
  21. \let\thedate\@date
  22. \makeatother
  23. % Font
  24. \usepackage[scaled]{berasans}
  25. \renewcommand*\familydefault{\sfdefault}
  26. \usepackage{tgschola}
  27. % Title
  28. \usepackage{titlesec}
  29. \titleformat{\section}[runin]
  30. {\rmfamily\Large\uppercase}
  31. {\thesection}
  32. {1ex}
  33. {}
  34. \titleformat{\subsection}[runin]
  35. {\rmfamily\large\uppercase}
  36. {\thesubsection}
  37. {1ex}
  38. {}
  39. \titleformat{\subsubsection}[runin]
  40. {\rmfamily\normalsize\uppercase}
  41. {\thesubsubsection}
  42. {1ex}
  43. {}
  44. %%%%%%% Commands %%%%%%%
  45. \newcommand{\premium}{{\fontfamily{lmr}\selectfont$\star$\hspace{1ex}}}
  46. \newcommand{\state}{Verenigde Nederlanden}
  47. \newcommand{\horrule}{\par\noindent\rule{\textwidth}{0.4pt}}