-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
117 lines (96 loc) · 3.13 KB
/
thesis.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
\documentclass[a4paper,12pt]{report} %,draft,openright
\usepackage{polski}
\usepackage[utf8]{inputenc}
\usepackage{gensymb}
\usepackage{textcomp}
\usepackage{tikz}
\usepackage{icomma}
\usepackage{epsf,graphicx}
\usepackage{float}
\usepackage{listings}
\usepackage{subcaption}
\usepackage{latexsym,amssymb}
\usepackage{setspace}
\usepackage[hidelinks]{hyperref}
\usepackage[noadjust]{cite}
\usepackage{indentfirst}
\usepackage{mathtools}
\usepackage[justification=centering]{caption}
\usepackage{multirow}
\newcommand{\nm}{\,\mathrm{nm}}
\newcommand{\um}{\,\mathrm{\mu m}}
\newcommand{\fs}{\,\mathrm{fs}^2}
\usepackage[figuresright]{rotating}
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{bullet} = [rectangle, rounded corners, minimum width=3cm, text width=0.4\linewidth , minimum height=1cm,text centered, draw=black]
\tikzstyle{arrow} = [thick,->,>=stealth]
% for margins left, right top bottom
\usepackage{anysize}
\marginsize{3cm}{2.5cm}{2.5cm}{2.5cm}
\let\origdoublepage\cleardoublepage %%komenda wstawiająca czyste kartki
\newcommand{\clearemptydoublepage}{%
\clearpage
{\pagestyle{empty}\origdoublepage}%
}
\let\cleardoublepage\clearemptydoublepage
\def\abstract{
\vspace{1cm}
\begin{center}%
{\bfseries \abstractname\vspace{-.5em}}%
\end{center}
\quotation
}
\def\endabstract{\par
\endquotation
}
%\usepackage{draft} %draft option - doesn't put full figures in -
% useful when editing
%does the headers on the pages - keep in
\usepackage{fancyhdr}
%omitting any of these makes the thesis compile without the omitted
%chapter - good for editing single chapters.
%\includeonly{header,appendix}
\begin{document}
\newpage
%Puts page numbering of preamble in roman and of main body of thesis in
%arabic. Also defines how chapters and sections are made
%\pagenumbering{arabic}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername%
\ \thechapter:\,\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\,\ #1}}
%DEFINES TITLE PAGE, and contains abstract, acknowledgements, etc.
\include{header}
\newpage
%sets up headers for lefthand and righthand pages. To alter, edit
%these lines and the chaptermark/sectionmark lines above
%\addtolength{\headheight}{3pt} \fancyhead{}
%\fancyhead[LE]{\sl\leftmark} \fancyhead[LO,RE]{\rm\thepage}
%\fancyhead[RO]{\sl\rightmark} \fancyfoot[C,L,E]{}
%\pagenumbering{arabic}
\fancyhead[LE,RO]{\slshape \rightmark}
\fancyhead[LO,RE]{\slshape \leftmark}
\fancyfoot[C]{\thepage}
\setlength{\parskip}{1ex} %odstępy między akapitami
%\singlespacing
%\doublespacing
\onehalfspacing
\input{symbols.tex}
\input{Rozdzialy/wprowadzenie.tex}
%\input{Rozdzialy/przeglad_literatury.tex}
%\input{Rozdzialy/macierz_przejscia.tex}
\input{Rozdzialy/algorytmy_rojowe.tex}
\input{Rozdzialy/Implementacja.tex}
%\input{Rozdzialy/wyniki.tex}
\input{Rozdzialy/podsumowanie.tex}
% this is for BibTeX. remove if you plan to write the references in the document
\newpage
\addcontentsline{toc}{chapter}
{\protect\numberline{Bibliografia\hspace{-96pt}}}
\bibliographystyle{plunsrt}
\bibliography{refs}
%adds the bibliography to the table of contents
%dodatki
\appendix
\input{appendix.tex}
\end{document}