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 % Translation of the title to Czech
42 \def\ThesisTitleCS{Název práce}
44 % Author of the thesis
45 \def\ThesisAuthor{Name Surname}
47 % Year when the thesis is submitted
48 \def\YearSubmitted{YEAR}
50 % Name of the department or institute, where the work was officially assigned
51 % (according to the Organizational Structure of MFF UK in English,
52 % or a full name of a department outside MFF)
53 \def\Department{Name of the department}
54 \def\DepartmentCS{Název katedry nebo ústavu}
56 % Is it a department (katedra), or an institute (ústav)?
57 \def\DeptType{Department}
58 \def\DeptTypeCS{Katedra}
60 % Thesis supervisor: name, surname and titles
61 \def\Supervisor{Supervisor's Name}
63 % Supervisor's department (again according to Organizational structure of MFF)
64 \def\SupervisorsDepartment{department}
65 \def\SupervisorsDepartmentCS{pracoviště}
67 % Study programme and specialization
68 \def\StudyProgramme{study programme}
69 \def\StudyBranch{study branch}
71 % An optional dedication: you can thank whomever you wish (your supervisor,
72 % consultant, a person who lent the software, etc.)
77 % Abstract (recommended length around 80-200 words; this is not a copy of your thesis assignment!)
85 % 3 to 5 keywords (recommended), each enclosed in curly braces
93 %% The hyperref package for clickable links in PDF and also for storing
94 %% metadata to PDF (including the table of contents).
95 \usepackage[pdftex,unicode]{hyperref} % Must follow all other packages
96 \hypersetup{breaklinks=true}
97 \hypersetup{pdftitle={\ThesisTitle}}
98 \hypersetup{pdfauthor={\ThesisAuthor}}
99 \hypersetup{pdfkeywords=\Keywords}
103 %%% A page with automatically generated content of the bachelor thesis. For
104 %%% a mathematical thesis, it is permissible to have a list of tables and abbreviations,
105 %%% if any, at the beginning of the thesis instead of at its end.
109 %%% Each chapter is kept in a separate file
114 % An example of LaTeX use (uncomment, if you wish)
120 \include{bibliography}
122 %%% Figures used in the thesis (consider if this is needed)
125 %%% Tables used in the thesis (consider if this is needed)
128 %%% Abbreviations used in the thesis, if any, including their explanation
129 \chapwithtoc{List of Abbreviations}
131 %%% Attachments to the bachelor thesis, if any (various additions such
132 %%% as programme extracts, diagrams, etc.). Each attachment must be referred to
133 %%% at least once from one's own text of the thesis. Attachments are numbered.
134 \chapwithtoc{Attachments}