-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tex
More file actions
94 lines (77 loc) · 3.09 KB
/
index.tex
File metadata and controls
94 lines (77 loc) · 3.09 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
% =========================================================================== %
% Generic LaTeX template for a document
% Copyright (C) 2015 Federico "MrModd" Cosentino (http://mrmodd.it/)
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% =========================================================================== %
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass{article}
\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
% Graphic packages
\usepackage{graphicx} % Required to insert images
\usepackage{float} % Required to use [H] parameter in figure blocks
\usepackage{wrapfig} % Wrapping figure around text
% Bibliography
\usepackage{cite} % Bibtex
% Appendix
\usepackage[title,titletoc]{appendix} % title: shows the appendix title at the begining of the section; titletoc: shows the appendix title in the index
% Maths packages
\usepackage{amsmath} % Required for equation blocks
\numberwithin{equation}{subsection} % Defines how to enumerate equations
% Other packages
\usepackage{hyperref} % Used for links
\usepackage{lastpage} % Required to determine the last page for the footer
\hypersetup {
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=red,
urlcolor=red,
linktocpage
}
\graphicspath{ {images/} } % All images must be placed under "images" directory and must be in png format
\newcommand{\sourcepath}{sources/} % All codes must be placed under "sources" directory
\include{header} % Check here for title, authors and other definitions
\include{lang_header} % Just leave this file as it is, unless you know what are you doing
\include{front} % Modify this page if you'd like to remove some fields on the front page
\begin{document}
\pagenumbering{roman}
\rfoot{\thepage}
% Front page
\printtitle
\thispagestyle{empty} % Hide header and footer for this page
% Table of Contents
\newpage
%\setcounter{tocdepth}{1} % Uncomment this line if you don't want subsections listed in the ToC
\tableofcontents
\newpage
\pagenumbering{arabic}
\rfoot{Page\ \thepage\ of\ \protect\pageref{LastPage}} % Bottom right footer
% Main sections
\include{section1}
\include{section2}
\include{section3}
\begin{appendices}
\include{appendices}
\end{appendices}
% Choose the style of bibliography
\bibliographystyle{plain}
%\bibliographystyle{ieeetr}
%\bibliographystyle{unsrt}
%\bibliographystyle{alpha}
%\bibliographystyle{apalike}
%\bibliographystyle{siam}
\bibliography{bibliography}
\end{document}