forked from TheProphetOfRa/latexForAbertayStyleRefernces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocument.tex
62 lines (51 loc) · 1.46 KB
/
document.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
\documentclass[11pt, oneside]{article} % use "amsart" instead of "article" for AMSLaTeX format
%set up page geomotry
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{a4paper} % ... or a4paper or a5paper or ...
\geometry
{
top=25mm,
right=25mm,
bottom=25mm,
left=38mm
}
\usepackage{graphicx} % Use pdf, png, jpg, or eps§ with pdflatex; use eps in DVI mode
% TeX will automatically convert eps --> pdf in pdflatex
\usepackage{amssymb}
%spacing package for double spacing
\usepackage{setspace}
%utf-8 font encoding
\usepackage{mathptmx}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
%todo notes
\usepackage{xcolor}
\newcommand\todo[1]{\textcolor{red}{#1}}
%bibiligraphy
\usepackage{natbib}
%hyperlinks and pdfbookmarks
\usepackage[bookmarks=true,
pdfborder={0 0 0},
backref
]{hyperref}
\hypersetup{
bookmarksopen=true,
colorlinks = true,
linkcolor = blue,
urlcolor = blue,
citecolor = red
}
%Create title information
\title{TITLE_OF_DOCUMENT}
\author{YOUR_NAME}
%set date to date compiled
\date{\today}
%end preamble start document
\begin{document}
%adds a phantom section so contents page link will point to correct page
\phantomsection
\addcontentsline{toc}{section}{References} %add section to contents page
\bibliographystyle{abertay} %use abertay refernce style
\bibliography{ref} load refernce file
\end{document}