Skip to content

Instantly share code, notes, and snippets.

@sliminality
Created November 19, 2018 19:36
Show Gist options
  • Save sliminality/bd7bc43088b7e931d9212dbe8a132722 to your computer and use it in GitHub Desktop.
Save sliminality/bd7bc43088b7e931d9212dbe8a132722 to your computer and use it in GitHub Desktop.
Simple document template for LaTeX
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in,top=1.25in,headsep=0.25in]{geometry}
\usepackage{fancyhdr}
\title{Final Project Prospectus, HUM 325}
\author{Sarah Lim}
\date{February 2017}
\makeatletter
\let\runauthor\@author
\let\runtitle\@title
\let\rundate\@date
\makeatother
\pagestyle{fancy}
\lhead{\textit{\runtitle: \runauthor}}
\rhead{\textit{\rundate}}
\renewcommand{\headrulewidth}{0pt}
\begin{document}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment