1 %%% The main file. It contains definitions of basic parameters and includes all other parts.
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
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
29 \usepackage[a-2u]{pdfx}
31 %% Character encoding: usually latin2, cp1250 or utf8:
32 \usepackage[utf8]{inputenc}
34 %% Prefer Latin Modern fonts
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
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[usenames]{xcolor} % typesetting in color
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]}}
62 %%% Basic information on the thesis
64 % Thesis title in English (exactly as in the formal assignment)
65 \def\ThesisTitle{Thesis title \X{as in the formal assignment}}
67 % Author of the thesis
68 \def\ThesisAuthor{Name Surname}
70 % Year when the thesis is submitted
71 \def\YearSubmitted{YEAR}
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}}
78 % Is it a department (katedra), or an institute (ústav)?
79 \def\DeptType{Department}
81 % Thesis supervisor: name, surname and titles
82 \def\Supervisor{Supervisor's Name \X{+titles}}
84 % Supervisor's department (again according to Organizational structure of MFF)
85 \def\SupervisorsDepartment{department}
87 % Study programme and specialization
88 \def\StudyProgramme{study programme}
89 \def\StudyBranch{study branch}
91 % An optional dedication: you can thank whomever you wish (your supervisor,
92 % consultant, a person who lent the software, etc.)
97 % Abstract (recommended length around 80-200 words; this is not a copy of your thesis assignment!)
99 Abstract. \X{Recommended length around 80--200 words. This is not a~copy of your thesis assignment!}
102 % 3 to 5 keywords (recommended), each enclosed in curly braces
104 {key} {words} \X{usually 3 to~5 key words or phrases}
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.
111 \hypersetup{breaklinks=true}
113 % Definitions of macros (see description inside)
116 % Title page and various mandatory informational pages
120 %%% A page with automatically generated table of contents of the bachelor thesis
124 %%% Each chapter is kept in a separate file
132 \include{bibliography}
134 %%% Figures used in the thesis (consider if this is needed)
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.
140 \XXX{In mathematical theses, it could be better to move the list of tables to the beginning of the thesis.}
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.}
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.}
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
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. 13/2017.
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. 13/2017.}
169 \section{First Attachment}