-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.tex
45 lines (32 loc) · 950 Bytes
/
test.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\documentclass[a4paper]{article}
\usepackage{natbib}
% version.tex needs to define the command \version
\IfFileExists{version.tex}
{\input{version.tex}}
{\newcommand{\version}{unknown}}
\usepackage[yyyymmdd,24hr]{datetime}
\renewcommand{\dateseparator}{-}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\fancyhead{}
\fancyfoot[L]{v.\version\ \today\ \currenttime}
\title{My super fancy paper}
\author{
Markus Klinik
\and Markus Klinik
\and Markus Klinik
}
\begin{document}
\maketitle
\thispagestyle{fancy}
\begin{abstract}
An example article with custom bibliographystyle and git version number.
\end{abstract}
\section{Introduction}
In this paper we cite \citet{Nielson1999}, which is a pretty good book.
Thanks. Bye!
Use {\version} in any way you want, in headers, footers, pdf metadata.
\bibliographystyle{bibliography/myplainnat}
\bibliography{bibliography/computer_science}
\end{document}