demo.tex 6.89 KB
Newer Older
1
2
\documentclass[a4paper,11pt]{book}

3
4
5
6
7
8
% ----------------------------------------------------------------------------------------------------------------------------
% Document Setup
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[subpreambles,sort]{standalone}

\usepackage[utf8]{inputenc}
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
\usepackage[T1]{fontenc}

% ----------------------------------------------------------------------------------------------------------------------------
% Bibliography/References
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[square,numbers,sort]{natbib}
\bibliographystyle{IEEEtranSNC}

% --------------------------------------------------------------------------------------------------------------------------------
% Acronyms
% --------------------------------------------------------------------------------------------------------------------------------
% \usepackage[hyperref=true]{acro}
\usepackage{acro}
\usepackage{enumitem}
\acsetup{ first-long-format = \itshape }
\acsetup{ list-foreign-format = \itshape\acroenparen }
\newlist{acronyms}{description}{1}
\setlist[acronyms]{labelwidth = 5em}
\DeclareAcroListStyle{acrostyle}{list}{ list = acronyms }
\acsetup{ list-style = acrostyle }
\input{acronyms}

% ----------------------------------------------------------------------------------------------------------------------------
% Languagues
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[french,german,english]{babel}

% ----------------------------------------------------------------------------------------------------------------------------
% Units
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[binary-units]{siunitx}
\usepackage{xfrac}
\sisetup{quotient-mode=fraction,fraction-function=\sfrac,product-units=single,exponent-product=\times}

% ----------------------------------------------------------------------------------------------------------------------------
% Tables
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage{booktabs,tabu}
\usepackage{multirow}
\usepackage{multicol}

% ----------------------------------------------------------------------------------------------------------------------------
% Packages
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage{blindtext}
\usepackage{fhtw}
\usepackage{graphicx}
\usepackage{textcomp}
% \usepackage{hyperref}
58

59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81

% \usepackage{adjustbox}
\usepackage[graphicx]{realboxes}

\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{shapes}
\usepackage{tikz-timing}
\usepackage{xcolor}
\definecolor{bgblue}{rgb}{0.41961,0.80784,0.80784}%
\definecolor{bgred}{rgb}{1,0.61569,0.61569}%
\definecolor{fgblue}{rgb}{0,0,0.6}%
\definecolor{fgred}{rgb}{0.6,0,0}%
% TODO: provide examples
% \usepackage{usebib}
% \bibinput{references}


% ----------------------------------------------------------------------------------------------------------------------------
% ----------------------------------------------------------------------------------------------------------------------------
% Document
% ----------------------------------------------------------------------------------------------------------------------------
\begin{document}
82
83
    \def\biblio{}
    \def\bibliolist{}
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143

    % Add acronyms used in images or not used at all by adding to the list
    \acuse{FHTW,FG,SI}

    % \frontmatter

    % ------------------------------------------------------------------------------------------------------------------------
    % Table of Contents
    % ------------------------------------------------------------------------------------------------------------------------
    \tableofcontents

    % ------------------------------------------------------------------------------------------------------------------------
    % Chapter 01
    % ------------------------------------------------------------------------------------------------------------------------
    \subfile{chapter01}

    % ------------------------------------------------------------------------------------------------------------------------
    % Chapter 02
    % ------------------------------------------------------------------------------------------------------------------------
    \subfile{chapter02}

    % ------------------------------------------------------------------------------------------------------------------------
    % Chapter 03
    % ------------------------------------------------------------------------------------------------------------------------
    \subfile{chapter03}

    % ------------------------------------------------------------------------------------------------------------------------
    % Bibliography/References
    % ------------------------------------------------------------------------------------------------------------------------
    \renewcommand{\bibname}{References}
    \addcontentsline{toc}{chapter}{\bibname}
    \bibliography{references}

    % ------------------------------------------------------------------------------------------------------------------------
    % Acronyms
    % ------------------------------------------------------------------------------------------------------------------------
    \def\acrotitle{List of Acronyms}
    \chapter*{\acrotitle} \addcontentsline{toc}{chapter}{\acrotitle}
    \printacronyms[heading=none]\vfill\pagebreak

    % ------------------------------------------------------------------------------------------------------------------------
    % Lists of Figures
    % ------------------------------------------------------------------------------------------------------------------------
    % \renewcommand{\listfigurename}{\listfigurename}
    \listoffigures     \addcontentsline{toc}{chapter}{\listfigurename}
    
    % ------------------------------------------------------------------------------------------------------------------------
    % Lists of Tables
    % ------------------------------------------------------------------------------------------------------------------------
    % \renewcommand{\listtablename}{\listtablename}
    \listoftables      \addcontentsline{toc}{chapter}{\listtablename}
    
    % ------------------------------------------------------------------------------------------------------------------------
    % Lists of Listings
    % ------------------------------------------------------------------------------------------------------------------------
    \renewcommand{\lstlistlistingname}{List of Listings}
    \lstlistoflistings \addcontentsline{toc}{chapter}{\lstlistlistingname}


\end{document}