1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- \documentclass[11pt,a4paper]{article}
- % Config
- %%%%%%%%%%%
- % get settings from config
- \input{config}
- \title{\thetitle}
- \author{\theauthor}
- \date{\thedate}
- % Packages
- %%%%%%%%%%%
- % Document language
- \usepackage[dutch]{babel}
- % Extra font settings
- \usepackage[utf8]{inputenc}
- % Document size and marging
- \usepackage[
- a4paper,
- includeheadfoot,
- top=1cm,
- bottom=1.0cm,
- right=2.0cm,
- left=2.0cm
- ]{geometry}
- % Links and metadata
- \usepackage[
- hidelinks,
- pdfauthor={\theauthor},
- pdftitle={\thetitle}
- ]{hyperref}
- % Newline in front of paragraph
- \usepackage{parskip}
- % Enable importing graphics
- \usepackage{graphicx}
- \graphicspath{{figs/}}
- % Add formating for code
- \usepackage{listings}
- \lstset{
- language=Java,
- tabsize=4,
- framexleftmargin=5mm,
- breaklines=true
- }
- % Fancy header and footer
- \usepackage{fancyhdr}
- \fancyhf{}
- \pagestyle{fancy}
- % header
- \fancyhead[L]{\small\rm\textit{\rightmark}}
- \fancyhead[R]{\small\rm\textbf{\thepage}}
- \renewcommand{\headrulewidth}{0.5pt}
- % footer
- \fancyfoot[L]{\small\rm\textit{\thetitle}}
- \fancyfoot[R]{\small\rm\textit{\theauthor– \theschool}}
- \renewcommand{\footrulewidth}{0.5pt}
- \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
|