%%% The main file. It contains definitions of basic parameters and includes all other parts. %% Settings for single-side (simplex) printing % Margins: left 40mm, right 25mm, top and bottom 25mm % (but beware, LaTeX adds 1in implicitly) \documentclass[12pt,a4paper]{report} \setlength\textwidth{145mm} \setlength\textheight{247mm} \setlength\oddsidemargin{15mm} \setlength\evensidemargin{15mm} \setlength\topmargin{0mm} \setlength\headsep{0mm} \setlength\headheight{0mm} % Recommended layout mentions line spacing 1.5, but this is not relevant to TeX. % \openright makes the following text appear on a right-hand page \let\openright=\clearpage %% Settings for two-sided (duplex) printing % \documentclass[12pt,a4paper,twoside,openright]{report} % \setlength\textwidth{145mm} % \setlength\textheight{247mm} % \setlength\oddsidemargin{14.2mm} % \setlength\evensidemargin{0mm} % \setlength\topmargin{0mm} % \setlength\headsep{0mm} % \setlength\headheight{0mm} % \let\openright=\cleardoublepage %% Character encoding: usually latin2, cp1250 or utf8: \usepackage[utf8]{inputenc} %% Further packages \usepackage{graphicx} \usepackage{amsthm} %%% Basic information on the thesis % Thesis title in English (exactly as in the formal assignment) \def\ThesisTitle{Thesis title} % Translation of the title to Czech \def\ThesisTitleCS{Název práce} % Author of the thesis \def\ThesisAuthor{Name Surname} % Year when the thesis is submitted \def\YearSubmitted{YEAR} % Name of the department or institute, where the work was officially assigned % (according to the Organizational Structure of MFF UK in English, % or a full name of a department outside MFF) \def\Department{Name of the department} \def\DepartmentCS{Název katedry nebo ústavu} % Is it a department (katedra), or an institute (ústav)? \def\DeptType{Department} \def\DeptTypeCS{Katedra} % Thesis supervisor: name, surname and titles \def\Supervisor{Supervisor's Name} % Supervisor's department (again according to Organizational structure of MFF) \def\SupervisorsDepartment{department} \def\SupervisorsDepartmentCS{pracoviště} % Study programme and specialization \def\StudyProgramme{study programme} \def\Specialization{specialization} % An optional dedication: you can thank whomever you wish (your supervisor, % consultant, a person who lent the software, etc.) \def\Dedication{% Dedication. } % Abstract (around 80-200 words; this is not a copy of your thesis assignment!) \def\Abstract{% Abstract. } \def\AbstractCS{% Abstract. } % 3 to 5 keywords, each enclosed in curly braces \def\Keywords{% {klíčová} {slova} } \def\KeywordsCS{% {key} {words} } %% The hyperref package for clickable links in PDF and also for storing %% metadata to PDF (including the table of contents). \usepackage[pdftex,unicode]{hyperref} % Must follow all other packages \hypersetup{breaklinks=true} \hypersetup{pdftitle={\ThesisTitle}} \hypersetup{pdfauthor={\ThesisAuthor}} \hypersetup{pdfkeywords=\Keywords} \input title.tex %%% A page with automatically generated content of the bachelor thesis. For %%% a mathematical thesis, it is permissible to have a list of tables and abbreviations, %%% if any, at the beginning of the thesis instead of at its end. \openright \pagestyle{plain} \setcounter{page}{1} \tableofcontents %%% Each chapter is kept in a separate file \include{preface} \include{chap1} \include{chap2} % An example of LaTeX use (uncomment, if you wish) % \include{example} \include{epilog} %%% Bibliography \include{bibliography} %%% Tables used in the thesis, if any \chapwithtoc{List of Tables} %%% Abbreviations used in the thesis, if any, including their explanation \chapwithtoc{List of Abbreviations} %%% Attachments to the bachelor thesis, if any (various additions such %%% as programme extracts, diagrams, etc.). Each attachment must be referred to %%% at least once from one's own text of the thesis. Attachments are numbered. \chapwithtoc{Attachments} \openright \end{document}