\documentclass[a4paper,12pt]{book} % nie: report!
\usepackage{url}
% \usepackage{hyperref}
\usepackage{amsfonts} % pakiety od AMS, ułatwiają składanie pewnych techniczno-matematcyznych rzeczy
\usepackage{amsmath} % to do dodatkowych symboli, przydatne
\usepackage{amssymb} % to też do dodatkowych symboli, też przydatne
\usepackage{amsthm}
\usepackage{cmap}
\usepackage{babel}
\selectlanguage{polish}
\usepackage[T1,plmath]{polski} % lepiej to zamiast babel!
\usepackage[utf8]{inputenc} % w razie kłopotów spróbować: \usepackage[utf8x]{inputenc}
\usepackage[
backend=biber,
style=numeric,
sorting=ynt,
defernumbers=true
]{biblatex}
\addbibresource{refs.bib} % plik z bibliografią
\usepackage{fancyhdr} % nagłówki i stopki
\usepackage{indentfirst} % WAŻNE, MA BYĆ!
\usepackage[pdftex]{graphicx} % to do wstawiania rysunków
\usepackage[pdftex,
left=1.1in,right=1.1in,
top=1.1in,bottom=1.1in]{geometry} % marginesy
\usepackage{float}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage[colorlinks=true]{hyperref} % odnośniki interaktywne w PDFie
\hypersetup{allcolors=black}
\usepackage{listings}
\lstset{
basicstyle=\footnotesize\tt,
numbers=left,
numberstyle=\tiny,
frame=tb,
tabsize=4,
columns=fixed,
showstringspaces=false,
showtabs=false,
keepspaces,
commentstyle=\color{red},
keywordstyle=\color{blue}
}
\newfloat{lstfloat}{htbp}{lolst}[chapter]
\floatname{lstfloat}{Listing}
\def\lstfloatautorefname{Listing}
% jesli potrzeb, można oczywiście wstawić inne pakiety i swoje definicje...
% definicje nagłówków i stopek
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]{\footnotesize\bfseries\thepage}
\fancyhead[LO]{\footnotesize\rightmark}
\fancyhead[RE]{\footnotesize\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{1.5pt}
\fancypagestyle{plain}{\fancyhead{}\cfoot{\footnotesize\bfseries\thepage}\renewcommand{\headrulewidth}{0pt}}
% interlinia
\linespread{1.25}
\begin{document}
\include{src/start.tex}
\include{src/wstep.tex}
\include{src/tutorial.tex}
\include{src/istniejace-rozwiazania.tex}
\include{src/zalozenia-implementacja.tex}
\include{src/wdrozenie-testy.tex}
\include{src/wnioski.tex}
\include{src/end.tex}
\end{document}

PDF Preview
Create an account to compile and preview