-
Notifications
You must be signed in to change notification settings - Fork 5
/
main.tex
executable file
·68 lines (62 loc) · 2.06 KB
/
main.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
63
64
65
66
67
68
\documentclass[12pt,twoside,openright,final]{report}
\usepackage{style_and_pkg}
% Option 'openright' forces chapters start on right hand side
% when the report is printed as a book.
%
% Option 'draft' makes compilation time shorter and by
% excluding images and hyperrefs etc.
% It also enables info text in yellow boxes in the pdf.
% Remove 'draft' to remove info text and compile correctly
% Change it to 'final' to remove todos
%%=========================================
% GRAPHICS
%%-----------------------------------------
% Figures in this path can be included
% using filename only, from any tex-file in the
% project. You can add more folders as needed
% but it is probably easiest to centralise them.
\graphicspath{{Figures/}}
%%=========================================
\begin{document}
%%=========================================
% PREAMBLE
%%-----------------------------------------
\subimport{Preamble/}{front.tex}
\pagenumbering{Roman}
\setcounter{page}{0}
\subimport{Preamble/}{preface.tex}
\subimport{Preamble/}{acknowledgement.tex}
\subimport{Preamble/}{abstract.tex}
%%=========================================
\listoftodos % Is removed when 'final' is set
\tableofcontents
\setcounter{page}{0}
\pagenumbering{arabic}
%%=========================================
% CHAPTERS
%%-----------------------------------------
\subimport{Chapters/Introduction/}{introduction.tex}
\subimport{Chapters/Theory/}{theory.tex}
%-------Include chapters as required-------
\ifdraft{
\subimport{Chapters/SampleChapter/}{sample_chapter.tex}
}
\subimport{Chapters/Conclusions/}{conclusions.tex}
%%=========================================
% APPENDIX
%%-----------------------------------------
\appendix
\subimport{Appendix/}{acronyms.tex}
%------Include appendices as required------
\ifdraft{
\subimport{Appendix/}{appendix-b.tex}
}
%%=========================================
% BIBLIOGRAPHY
%%-----------------------------------------
\addcontentsline{toc}{chapter}{\bibname}
\printbibliography
\ifdraft{
\todo[inline]{Bibliography will not show in draft mode}
}
\end{document}