| 1 | %\documentclass [a4paper,12pt]{report}                              %print on one side | 
|---|
| 2 | \documentclass [a4paper,12pt,twoside,notitlepage,openright]{report} %print on both side | 
|---|
| 3 | \usepackage[bookmarks=false, colorlinks=false,unicode]{hyperref} | 
|---|
| 4 | % \usepackage[abbr,dcucite]{harvard}      %style ofliterature | 
|---|
| 5 | \usepackage{Styles/Skripta} | 
|---|
| 6 | \usepackage{Styles/Diplomka} | 
|---|
| 7 | \usepackage{Styles/Colors} | 
|---|
| 8 | \usepackage{listings} | 
|---|
| 9 | \usepackage[dvips]{graphics} | 
|---|
| 10 | \usepackage{multirow} | 
|---|
| 11 | \usepackage{dcolumn} | 
|---|
| 12 | %\usepackage{showframe}                  %show edges of pages | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 |  | 
|---|
| 16 | %-----<<<<<<<<<<<< NAMES NAD PATHS >>>>>>>>>>>>----- | 
|---|
| 17 | \def \BookName {BAKALÁŘSKÁ PRÁCE} | 
|---|
| 18 | \def \Bookname {Decentralizované řízení dopravní signalizace: nastavení délky cyklu} | 
|---|
| 19 | \def \BooknameEN {Decentralized control of traffic lights: setting of cycle time} | 
|---|
| 20 | \newcommand{\katedra}{Katedra matematiky} | 
|---|
| 21 | \newcommand{\obor}{Inženýrská informatika} | 
|---|
| 22 | \newcommand{\zamereni}{Tvorba softwaru} | 
|---|
| 23 | % \def \Authors {Autor\?: Jakub Novotný Vedoucí práce\?: Ing. Václav Šmídl, Ph.D.} | 
|---|
| 24 | \def \DatumDP {Praha, 2010} | 
|---|
| 25 | \def \autor {Jakub Novotný} | 
|---|
| 26 | \def \vedouci {Ing. Václav Šmídl, Ph.D.} | 
|---|
| 27 | \def \konzultant {Dr. Ing. Jan Přikryl, Ph.D.} | 
|---|
| 28 |  | 
|---|
| 29 |  | 
|---|
| 30 | \def \CVUT {České vysoké učení technické v Praze} | 
|---|
| 31 |  | 
|---|
| 32 | \def \cestaFiles {00_Chapters/} | 
|---|
| 33 | \def \cesta01 {01_Intro/} | 
|---|
| 34 | \def \cestaAP {Appendix/} | 
|---|
| 35 | %-----<<< --------------------------------- >>>----- | 
|---|
| 36 |  | 
|---|
| 37 |  | 
|---|
| 38 |  | 
|---|
| 39 | %-----<<<<<<<<<<<< DOCUMENT >>>>>>>>>>>>----- | 
|---|
| 40 | \begin{document} | 
|---|
| 41 |  | 
|---|
| 42 |  | 
|---|
| 43 | %-----<<< HEAD >>>----- | 
|---|
| 44 | \pagestyle{empty}                       %no pagination | 
|---|
| 45 |  | 
|---|
| 46 | \BookHeadDP | 
|---|
| 47 |  | 
|---|
| 48 | \cleardoublepage | 
|---|
| 49 | %-----<<< ---- >>>----- | 
|---|
| 50 |  | 
|---|
| 51 |  | 
|---|
| 52 | %-----<<< DECLARATION >>>----- | 
|---|
| 53 | \pagestyle{plain}                       %no pagination | 
|---|
| 54 | \pagenumbering{roman}                   %start roman pagination from 1 | 
|---|
| 55 | \input{\cestaFiles Declar.tex}          %input file | 
|---|
| 56 | \newpage | 
|---|
| 57 | %-----<<< ----------- >>>----- | 
|---|
| 58 |  | 
|---|
| 59 |  | 
|---|
| 60 | %-----<<< ACKNOWLEDGEMENT >>>----- | 
|---|
| 61 | \input{\cestaFiles Acknow.tex}          %input file | 
|---|
| 62 | \cleardoublepage | 
|---|
| 63 | %-----<<< --------------- >>>----- | 
|---|
| 64 |  | 
|---|
| 65 |  | 
|---|
| 66 | %-----<<< ABSTRACT >>>----- | 
|---|
| 67 | \input{\cestaFiles Abstract.tex}        %input file | 
|---|
| 68 | \cleardoublepage | 
|---|
| 69 | %-----<<< -------- >>>----- | 
|---|
| 70 |  | 
|---|
| 71 |  | 
|---|
| 72 | %-----<<< ZADÁNÍ BAKALÁŘSKÉ PRÁCE >>>----- | 
|---|
| 73 |  | 
|---|
| 74 | Zadání práce s podpisem děkana | 
|---|
| 75 |  | 
|---|
| 76 | \cleardoublepage | 
|---|
| 77 | %-----<<< ---------------------- >>>----- | 
|---|
| 78 |  | 
|---|
| 79 |  | 
|---|
| 80 | %-----<<< TABLE OF CONTENTS >>>----- | 
|---|
| 81 | \setcounter{secnumdepth}{4}             %number of section to 4 | 
|---|
| 82 | \setcounter{tocdepth}{4}                %number of section in table of contents greater then 3 | 
|---|
| 83 | \tableofcontents | 
|---|
| 84 | \cleardoublepage | 
|---|
| 85 | %-----<<< ----------------- >>>----- | 
|---|
| 86 |  | 
|---|
| 87 |  | 
|---|
| 88 | %-----<<< TABLE OF FIGURES >>>----- | 
|---|
| 89 | \addcontentsline{toc}{chapter}{Seznam obrázků} | 
|---|
| 90 | \listoffigures | 
|---|
| 91 | \cleardoublepage | 
|---|
| 92 | %-----<<< ---------------- >>>----- | 
|---|
| 93 |  | 
|---|
| 94 |  | 
|---|
| 95 | %-----<<< TABLE OF TABLES >>>----- | 
|---|
| 96 | \addcontentsline{toc}{chapter}{Seznam tabulek} | 
|---|
| 97 | \listoftables | 
|---|
| 98 | \cleardoublepage | 
|---|
| 99 | %-----<<< --------------- >>>----- | 
|---|
| 100 |  | 
|---|
| 101 |  | 
|---|
| 102 | %-----<<< TABLE OF CONTENTS PAGINATION >>>----- | 
|---|
| 103 | \pagenumbering{arabic}                  %start arabic pagination from 1 | 
|---|
| 104 | %-----<<< ---------------------------- >>>----- | 
|---|
| 105 |  | 
|---|
| 106 |  | 
|---|
| 107 | %-----<<< CHAPTERS >>>----- | 
|---|
| 108 | \hyphenation{Automatica}                %no divide words | 
|---|
| 109 | \pagestyle{headings} | 
|---|
| 110 |  | 
|---|
| 111 | \input{01_Intro/Intro.tex}              %input fiel | 
|---|
| 112 | \input{02_Aimsun/Aimsun.tex}              %input fiel | 
|---|
| 113 | \input{03_Agents/Agents.tex}              %input fiel | 
|---|
| 114 | \input{05_AlgorithmDescription/AlgorithmDescription.tex}              %input fiel | 
|---|
| 115 | \input{06_Results/Results.tex}              %input fiel | 
|---|
| 116 | \input{07_Ending/Ending.tex}              %input fiel | 
|---|
| 117 |  | 
|---|
| 118 | %-----<<< -------- >>>----- | 
|---|
| 119 |  | 
|---|
| 120 |  | 
|---|
| 121 | %-----<<< REFERENCES >>>----- | 
|---|
| 122 | %\input{05_Refer/Refer.tex} | 
|---|
| 123 | % \bibliographystyle{Styles/Skripta} | 
|---|
| 124 | \bibliographystyle{czechiso} | 
|---|
| 125 | \bibliography{Styles/Refer}\nocite{*}              %references from BIBTEX | 
|---|
| 126 | \addcontentsline{toc}{chapter}{Literatura} | 
|---|
| 127 |  | 
|---|
| 128 | %-----<<< ---------- >>>----- | 
|---|
| 129 |  | 
|---|
| 130 | %-----<<< APPENDIXS >>>----- | 
|---|
| 131 | \cleardoublepage | 
|---|
| 132 | \def\appendixname{Příloha} | 
|---|
| 133 | \pagenumbering{Roman}                   %start arabic pagination from 1 | 
|---|
| 134 | \begin{appendix} | 
|---|
| 135 | \input{\cestaAP/01.tex}             %input file | 
|---|
| 136 | \end{appendix} | 
|---|
| 137 | %-----<<< --------- >>>----- | 
|---|
| 138 |  | 
|---|
| 139 | \end{document} | 
|---|
| 140 | %-----<<<<<<<<< END OF DOCUMENT >>>>>>>>>----- | 
|---|
| 141 |  | 
|---|