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 % Recommended layout mentions line spacing 1.5, but this is not relevant to TeX.
15 % \openright makes the following text appear on a right-hand page
16 \let\openright=\clearpage
18 %% Settings for two-sided (duplex) printing
19 % \documentclass[12pt,a4paper,twoside,openright]{report}
20 % \setlength\textwidth{145mm}
21 % \setlength\textheight{247mm}
22 % \setlength\oddsidemargin{14.2mm}
23 % \setlength\evensidemargin{0mm}
24 % \setlength\topmargin{0mm}
25 % \setlength\headsep{0mm}
26 % \setlength\headheight{0mm}
27 % \let\openright=\cleardoublepage
29 %% Character encoding: usually latin2, cp1250 or utf8:
30 \usepackage[utf8]{inputenc}
36 %%% Basic information on the thesis
38 % Thesis title in English (exactly as in the formal assignment)
39 \def\ThesisTitle{Thesis title}
41 % Author of the thesis
42 \def\ThesisAuthor{Name Surname}
44 % Year when the thesis is submitted
45 \def\YearSubmitted{YEAR}
47 % Name of the department or institute, where the work was officially assigned
48 % (according to the Organizational Structure of MFF UK in English,
49 % or a full name of a department outside MFF)
50 \def\Department{Name of the department}
52 % Is it a department (katedra), or an institute (ústav)?
53 \def\DeptType{Department}
55 % Thesis supervisor: name, surname and titles
56 \def\Supervisor{Supervisor's Name}
58 % Supervisor's department (again according to Organizational structure of MFF)
59 \def\SupervisorsDepartment{department}
61 % Study programme and specialization
62 \def\StudyProgramme{study programme}
63 \def\StudyBranch{study branch}
65 % An optional dedication: you can thank whomever you wish (your supervisor,
66 % consultant, a person who lent the software, etc.)
71 % Abstract (recommended length around 80-200 words; this is not a copy of your thesis assignment!)
76 % 3 to 5 keywords (recommended), each enclosed in curly braces
81 %% The hyperref package for clickable links in PDF and also for storing
82 %% metadata to PDF (including the table of contents).
83 \usepackage[pdftex,unicode]{hyperref} % Must follow all other packages
84 \hypersetup{breaklinks=true}
85 \hypersetup{pdftitle={\ThesisTitle}}
86 \hypersetup{pdfauthor={\ThesisAuthor}}
87 \hypersetup{pdfkeywords=\Keywords}
91 %%% A page with automatically generated content of the bachelor thesis. For
92 %%% a mathematical thesis, it is permissible to have a list of tables and abbreviations,
93 %%% if any, at the beginning of the thesis instead of at its end.
97 %%% Each chapter is kept in a separate file
102 % An example of LaTeX use (uncomment, if you wish)
108 \include{bibliography}
110 %%% Figures used in the thesis (consider if this is needed)
113 %%% Tables used in the thesis (consider if this is needed)
116 %%% Abbreviations used in the thesis, if any, including their explanation
117 \chapwithtoc{List of Abbreviations}
119 %%% Attachments to the bachelor thesis, if any (various additions such
120 %%% as programme extracts, diagrams, etc.). Each attachment must be referred to
121 %%% at least once from one's own text of the thesis. Attachments are numbered.
122 \chapwithtoc{Attachments}