]> mj.ucw.cz Git - diplomky.git/blob - en/thesis.tex
Slidy: Verze 2022
[diplomky.git] / en / thesis.tex
1 %%% The main file. It contains definitions of basic parameters and includes all other parts.
2
3 %% Settings for single-side (simplex) printing
4 % Margins: left 40mm, right 25mm, top and bottom 25mm
5 % (but beware, LaTeX adds 1in implicitly)
6 \documentclass[12pt,a4paper]{report}
7 \setlength\textwidth{145mm}
8 \setlength\textheight{247mm}
9 \setlength\oddsidemargin{15mm}
10 \setlength\evensidemargin{15mm}
11 \setlength\topmargin{0mm}
12 \setlength\headsep{0mm}
13 \setlength\headheight{0mm}
14 % \openright makes the following text appear on a right-hand page
15 \let\openright=\clearpage
16
17 %% Settings for two-sided (duplex) printing
18 % \documentclass[12pt,a4paper,twoside,openright]{report}
19 % \setlength\textwidth{145mm}
20 % \setlength\textheight{247mm}
21 % \setlength\oddsidemargin{14.2mm}
22 % \setlength\evensidemargin{0mm}
23 % \setlength\topmargin{0mm}
24 % \setlength\headsep{0mm}
25 % \setlength\headheight{0mm}
26 % \let\openright=\cleardoublepage
27
28 %% Generate PDF/A-2u
29 \usepackage[a-2u]{pdfx}
30
31 %% Character encoding: usually latin2, cp1250 or utf8:
32 \usepackage[utf8]{inputenc}
33
34 %% Prefer Latin Modern fonts
35 \usepackage{lmodern}
36
37 %% Further useful packages (included in most LaTeX distributions)
38 \usepackage{amsmath}        % extensions for typesetting of math
39 \usepackage{amsfonts}       % math fonts
40 \usepackage{amsthm}         % theorems, definitions, etc.
41 \usepackage{bbding}         % various symbols (squares, asterisks, scissors, ...)
42 \usepackage{bm}             % boldface symbols (\bm)
43 \usepackage{graphicx}       % embedding of pictures
44 \usepackage{fancyvrb}       % improved verbatim environment
45 \usepackage{natbib}         % citation style AUTHOR (YEAR), or AUTHOR [NUMBER]
46 \usepackage[nottoc]{tocbibind} % makes sure that bibliography and the lists
47                             % of figures/tables are included in the table
48                             % of contents
49 \usepackage{dcolumn}        % improved alignment of table columns
50 \usepackage{booktabs}       % improved horizontal lines in tables
51 \usepackage{paralist}       % improved enumerate and itemize
52 \usepackage{xcolor}         % typesetting in color
53
54 %% SPECIMEN
55 % Parts marked as SPECIMEN are used for building the example PDF.
56 % When the official template is generated by ./mkdist, all such parts
57 % are deleted, as well as all calls of \X and \XXX macros.
58 \def\X#1{\textcolor{red}{[#1]}}
59 \def\XXX#1{\par\smallskip\noindent \textcolor{red}{[#1]}}
60 %% NEMICEPS
61
62 %%% Basic information on the thesis
63
64 % Thesis title in English (exactly as in the formal assignment)
65 \def\ThesisTitle{Thesis title \X{as in the formal assignment}}
66
67 % Author of the thesis
68 \def\ThesisAuthor{Name Surname}
69
70 % Year when the thesis is submitted
71 \def\YearSubmitted{YEAR}
72
73 % Name of the department or institute, where the work was officially assigned
74 % (according to the Organizational Structure of MFF UK in English,
75 % or a full name of a department outside MFF)
76 \def\Department{Name of the department \X{as per Organizational Structure of MFF UK in English}}
77
78 % Is it a department (katedra), or an institute (ústav)?
79 \def\DeptType{Department}
80
81 % Thesis supervisor: name, surname and titles
82 \def\Supervisor{Supervisor's Name \X{+titles}}
83
84 % Supervisor's department (again according to Organizational structure of MFF)
85 \def\SupervisorsDepartment{department}
86
87 % Study programme and specialization
88 \def\StudyProgramme{study programme}
89 \def\StudyBranch{study branch}
90
91 % An optional dedication: you can thank whomever you wish (your supervisor,
92 % consultant, a person who lent the software, etc.)
93 \def\Dedication{%
94 Dedication.
95 }
96
97 % Abstract (recommended length around 80-200 words; this is not a copy of your thesis assignment!)
98 \def\Abstract{%
99 Abstract. \X{Recommended length around 80--200 words. This is not a~copy of your thesis assignment!}
100 }
101
102 % 3 to 5 keywords (recommended), each enclosed in curly braces
103 \def\Keywords{%
104 {key} {words} \X{usually 3 to~5 key words or phrases}
105 }
106
107 %% The hyperref package for clickable links in PDF and also for storing
108 %% metadata to PDF (including the table of contents).
109 %% Most settings are pre-set by the pdfx package.
110 \hypersetup{unicode}
111 \hypersetup{breaklinks=true}
112
113 % Definitions of macros (see description inside)
114 \include{macros}
115
116 % Title page and various mandatory informational pages
117 \begin{document}
118 \include{title}
119
120 %%% A page with automatically generated table of contents of the bachelor thesis
121
122 \tableofcontents
123
124 %%% Each chapter is kept in a separate file
125 \include{preface}
126 \include{chap01}
127 \include{chap02}
128
129 \include{epilog}
130
131 %%% Bibliography
132 \include{bibliography}
133
134 %%% Figures used in the thesis (consider if this is needed)
135 \listoffigures
136
137 %%% Tables used in the thesis (consider if this is needed)
138 %%% In mathematical theses, it could be better to move the list of tables to the beginning of the thesis.
139 \listoftables
140 \XXX{In mathematical theses, it could be better to move the list of tables to the beginning of the thesis.}
141
142 %%% Abbreviations used in the thesis, if any, including their explanation
143 %%% In mathematical theses, it could be better to move the list of abbreviations to the beginning of the thesis.
144 \chapwithtoc{List of Abbreviations}
145 \XXX{In mathematical theses, it could be better to move the list of abbreviations to the beginning of the thesis.}
146
147 %% PHDONLY
148 %%% Doctoral theses must contain a list of author's publications
149 \chapwithtoc{List of publications}
150 \XXX{Doctoral theses must contain a list of author's publications.}
151 %% ONLYPHD
152
153 %%% Attachments to the bachelor thesis, if any. Each attachment must be
154 %%% referred to at least once from the text of the thesis. Attachments
155 %%% are numbered.
156 %%%
157 %%% The printed version should preferably contain attachments, which can be
158 %%% read (additional tables and charts, supplementary text, examples of
159 %%% program output, etc.). The electronic version is more suited for attachments
160 %%% which will likely be used in an electronic form rather than read (program
161 %%% source code, data files, interactive charts, etc.). Electronic attachments
162 %%% should be uploaded to SIS and optionally also included in the thesis on a~CD/DVD.
163 %%% Allowed file formats are specified in provision of the rector no. 72/2017.
164 \appendix
165 \chapter{Attachments}
166 \XXX{Attachments to the bachelor thesis, if any. Each attachment must be referred to at least once from the text of the thesis. Attachments are numbered.}
167 \XXX{The printed version should preferably contain attachments, which can be read (additional tables and charts, supplementary text, examples of program output, etc.). The electronic version is more suited for attachments which will likely be used in an electronic form rather than read (program source code, data files, interactive charts, etc.). Electronic attachments should be uploaded to SIS and optionally also included in the thesis on a~CD/DVD. Allowed file formats are specified in provision of the rector no. 72/2017.}
168
169 \section{First Attachment}
170
171 \openright
172 \end{document}