Commit 466ebc70 authored by Caleb Maclennan's avatar Caleb Maclennan

use hack to get document title into header

parent fed2f620
# Stock LaTeX related stuff
*.acn
*.acr
*.alg
......@@ -30,3 +31,6 @@
*.vrb
*.xdy
*.tdo
# This project
pub/*
......@@ -14,7 +14,6 @@
\usepackage{lastpage}
\usepackage{blindtext}
\makeatletter
\AtBeginDocument{
\hypersetup{
......@@ -29,6 +28,12 @@
\ifoot{}
\ofoot{}
}
% hack to get title macro back after \maketitle clears it
% see http://tex.stackexchange.com/a/164232/5100
\let\svmaketitle\maketitle
\def\maketitle{\protected@edef\saved@title{\@title}%
\svmaketitle%
\let\@title\saved@title}%
\makeatother
......@@ -37,6 +42,7 @@
\author{Caleb Maclennan}
\begin{document}
\maketitle
\begin{abstract}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment