]> mj.ucw.cz Git - diplomky.git/blob - thesis.tex
Metadata: We prefer British English in comments
[diplomky.git] / thesis.tex
1 %%% The main file. It contains definitions of basic parameters and includes all other parts.
2
3 % Meta-data of your thesis (please edit)
4 \input metadata.tex
5
6 % Generate metadata in XMP format for use by the pdfx package
7 \input xmp.tex
8
9 %% Settings for single-side (simplex) printing
10 % Margins: left 40mm, right 25mm, top and bottom 25mm
11 % (but beware, LaTeX adds 1in implicitly)
12 \documentclass[12pt,a4paper]{report}
13 \setlength\textwidth{145mm}
14 \setlength\textheight{247mm}
15 \setlength\oddsidemargin{15mm}
16 \setlength\evensidemargin{15mm}
17 \setlength\topmargin{0mm}
18 \setlength\headsep{0mm}
19 \setlength\headheight{0mm}
20 % \openright makes the following text appear on a right-hand page
21 \let\openright=\clearpage
22
23 %% Settings for two-sided (duplex) printing
24 % \documentclass[12pt,a4paper,twoside,openright]{report}
25 % \setlength\textwidth{145mm}
26 % \setlength\textheight{247mm}
27 % \setlength\oddsidemargin{14.2mm}
28 % \setlength\evensidemargin{0mm}
29 % \setlength\topmargin{0mm}
30 % \setlength\headsep{0mm}
31 % \setlength\headheight{0mm}
32 % \let\openright=\cleardoublepage
33
34 %% Generate PDF/A-2u
35 \usepackage[a-2u]{pdfx}
36
37 %% Character encoding: usually latin2, cp1250 or utf8:
38 \usepackage[utf8]{inputenc}
39
40 %% Prefer Latin Modern fonts
41 \usepackage{lmodern}
42
43 %% Further useful packages (included in most LaTeX distributions)
44 \usepackage{amsmath}        % extensions for typesetting of math
45 \usepackage{amsfonts}       % math fonts
46 \usepackage{amsthm}         % theorems, definitions, etc.
47 \usepackage{bbding}         % various symbols (squares, asterisks, scissors, ...)
48 \usepackage{bm}             % boldface symbols (\bm)
49 \usepackage{graphicx}       % embedding of pictures
50 \usepackage{fancyvrb}       % improved verbatim environment
51 \usepackage{natbib}         % citation style AUTHOR (YEAR), or AUTHOR [NUMBER]
52 \usepackage[nottoc]{tocbibind} % makes sure that bibliography and the lists
53                             % of figures/tables are included in the table
54                             % of contents
55 \usepackage{dcolumn}        % improved alignment of table columns
56 \usepackage{booktabs}       % improved horizontal lines in tables
57 \usepackage{paralist}       % improved enumerate and itemize
58 \usepackage{xcolor}         % typesetting in color
59
60 %% The hyperref package for clickable links in PDF and also for storing
61 %% metadata to PDF (including the table of contents).
62 %% Most settings are pre-set by the pdfx package.
63 \hypersetup{unicode}
64 \hypersetup{breaklinks=true}
65
66 % Definitions of macros (see description inside)
67 \include{macros}
68
69 % Title page and various mandatory informational pages
70 \begin{document}
71 \include{title}
72
73 %%% A page with automatically generated table of contents of the thesis
74
75 \tableofcontents
76
77 %%% Each chapter is kept in a separate file
78 \include{preface}
79 \include{chap01}
80 \include{chap02}
81
82 \include{epilog}
83
84 %%% Bibliography
85 \include{bibliography}
86
87 %%% Figures used in the thesis (consider if this is needed)
88 \listoffigures
89
90 %%% Tables used in the thesis (consider if this is needed)
91 %%% In mathematical theses, it could be better to move the list of tables to the beginning of the thesis.
92 \listoftables
93
94 %%% Abbreviations used in the thesis, if any, including their explanation
95 %%% In mathematical theses, it could be better to move the list of abbreviations to the beginning of the thesis.
96 \chapwithtoc{List of Abbreviations}
97
98 %%% Doctoral theses must contain a list of author's publications
99 \ifx\ThesisType\TypePhD
100 \chapwithtoc{List of publications}
101 \fi
102
103 %%% Attachments to the thesis, if any. Each attachment must be referred to
104 %%% at least once from the text of the thesis. Attachments are numbered.
105 %%%
106 %%% The printed version should preferably contain attachments, which can be
107 %%% read (additional tables and charts, supplementary text, examples of
108 %%% program output, etc.). The electronic version is more suited for attachments
109 %%% which will likely be used in an electronic form rather than read (program
110 %%% source code, data files, interactive charts, etc.). Electronic attachments
111 %%% should be uploaded to SIS and optionally also included in the thesis on a~CD/DVD.
112 %%% Allowed file formats are specified in provision of the rector no. 72/2017.
113 \appendix
114 \chapter{Attachments}
115
116 \section{First Attachment}
117
118 \openright
119 \end{document}