Skip to content

Instantly share code, notes, and snippets.

@JDevlieghere
Last active December 20, 2015 00:09
Show Gist options
  • Save JDevlieghere/6039263 to your computer and use it in GitHub Desktop.
Save JDevlieghere/6039263 to your computer and use it in GitHub Desktop.
\documentclass[11pt,a4paper,oneside]{article}
% Essential
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage{titling}
% Optional
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{tikz}
\usepackage{multicol}
\usepackage{float}
\usepackage{amsmath}
\usepackage{longtable}
\usepackage[official]{eurosym}
\restylefloat{figure}
% Titleplage
\title{Title}
\date{\today}
\author{Jonas Devlieghere}
% Margins
\setlength{\topmargin}{0in}
\setlength{\footskip}{0.5in}
\setlength{\textwidth}{6.5in}
\setlength{\oddsidemargin}{0in}
\setlength{\evensidemargin}{0in}
\setlength{\textheight}{8.5in}
% Header configuration
\pagestyle{fancy}
\fancyhead{}
\fancyhead[L]{\thetitle}
\fancyhead[R]{\thedate}
\fancyfoot{}
\fancyfoot[L]{\theauthor}
\fancyfoot[R]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment