-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
119 lines (87 loc) · 2.96 KB
/
Copy pathmain.tex
File metadata and controls
119 lines (87 loc) · 2.96 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{titlesec}
\usepackage{geometry}
\usepackage{etoolbox}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage{amsmath}
\usepackage{xstring}
\usepackage{multicol}
\usepackage{tikz-dimline}
\usepackage{pdfpages}
% bibliography setup %
\usepackage[backend = biber,sorting = none]{biblatex}
\addbibresource{references.bib}
% appendix setup %
\usepackage{appendix}
\renewcommand{\appendixtocname}{Datasheets of all components}
\renewcommand{\appendixpagename}{Datasheets of all components}
% On the spot circuit creation %
\usepackage[american]{circuitikz}
\usepackage{tikz}
\usetikzlibrary{graphs}
% On the spot flowchart creation %
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30]
\tikzstyle{io} = [trapezium, trapezium left angle=70, trapezium right angle=110, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=blue!30]
\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=orange!30]
\tikzstyle{arrow} = [thick,->,>=stealth]
% Image setup %
\usepackage{graphicx}
\graphicspath{{./images/}}
% Link setup %
\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=black, urlcolor=blue, citecolor = black}
% caption layout for tables and images %
\usepackage{caption}
\usepackage{subcaption}
\captionsetup[table]{skip=7pt}
\captionsetup[figure]{skip=7pt}
\geometry{a4paper,left = 30mm,right = 20mm,top = 30mm,bottom = 22mm}
\textwidth = 160mm
\textheight = 245mm
\footskip = 7mm
% Paragraph and line spacing %
\setlength{\parindent}{12mm}
\setlength{\parskip}{2.5mm}
% title formatting %
\titleformat{\chapter}[block]{\Huge\bfseries}{Chapter \ \thechapter}{0.5ex}
{
\rule{\textwidth}{0pt}
\vspace{1ex}
\centering
}
\titlespacing{\thechapter}{0mm}{12mm}{12mm}
% Section formatting %
\titleformat{\section}[hang]{\fontsize{16}{16}\bfseries}{ \thesection}{1.4em}{}
\titlespacing{\thesection}{}{15mm}{15mm}
% Subsection formatting %
\titleformat{\subsection}[hang]{\fontsize{14}{14}\bfseries}{ \thesubsection}{1.4em}{}
\titlespacing{\thesubsection}{}{15mm}{15mm}
% First level ordered list %
\setlist[enumerate,1]{label=(\alph*)}
\begin{document}
\includepdf[pages=-]{title_page}
\pagenumbering{roman}
\input{abstract}
\setcounter{page}{4}
\renewcommand*\contentsname{Table of Contents}
\tableofcontents
\listoffigures
\listoftables
\input{content/Chapter1}
\input{content/Chapter2}
\input{content/Chapter3}
\input{content/Chapter4}
\input{content/Chapter5}
\input{content/Chapter6}
\input{content/Chapter7}
\newpage
\input{appendices/appendices}
\newpage
\printbibliography
\addcontentsline{toc}{chapter}{Bibliography}
\input{acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements}
\end{document}