bachelor-thesis/thesis.tex
2020-06-04 13:25:23 +02:00

102 lines
3.0 KiB
TeX

\documentclass[12pt,a4paper,twoside,openright]{report}
\let\openright=\cleardoublepage
\input{metadata}
\usepackage[a-2u]{pdfx}
\ifEN\else\usepackage[czech,shorthands=off]{babel}\fi
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% See https://en.wikipedia.org/wiki/Canons_of_page_construction before
% modifying the size of printable area. LaTeX defaults are great.
% If you feel it would help anything, you can enlarge the printable area a bit:
%\usepackage[textwidth=390pt,textheight=630pt]{geometry}
% The official recommendation expands the area quite a bit (looks pretty harsh):
%\usepackage[textwidth=145mm,textheight=247mm]{geometry}
%%% FONTS %%%
\usepackage{lmodern} % TeX "original" (this sets up the latin mono)
% Optionally choose an override for the main font for typesetting
\usepackage[mono=false]{libertinus} % popular for comp-sci (ACM uses this)
%\usepackage{tgschola} % Schoolbook-like (gives a bit of historic feel)
%\usepackage[scale=0.96]{tgpagella} % Palladio-like (popular in formal logic).
% Optionally choose a custom sans-serif fonts (e.g. for figures and tables).
% Default sans-serif font is usually Latin Modern Sans. Some font packages
% (e.g. libertinus) replace that with a better matching sans-serif font.
%\usepackage{tgheros} % recommended and very readable (Helvetica-like)
%\usepackage{FiraSans} % looks great
% DO NOT typeset the main text in sans-serif font!
% The serifs make the text easily readable on the paper.
% IMPORTANT FONT NOTE: Some fonts require additional PDF/A conversion using
% the pdfa.sh script. These currently include only 'tgpagella'; but various
% other fonts from the texlive distribution need that too (mainly the Droid
% font family).
% some useful packages
\usepackage{amsmath,amsfonts,amsthm,bm}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{booktabs}
\usepackage{float}
% load bibliography tools
\usepackage[backend=bibtex,natbib,style=numeric]{biblatex}
% alternative with alphanumeric citations (more informative than plain numbers):
%\usepackage[backend=bibtex,natbib,style=alphabetic]{biblatex}
% load the file with bibliography entries
\addbibresource{refs}
% remove this if you won't use fancy verbatim environments
\usepackage{fancyvrb}
% remove this if you won't typeset TikZ graphics
\usepackage{tikz}
\usetikzlibrary{positioning} %add libraries as needed (shapes, decorations, ...)
% remove this if you won't typeset any pseudocode
\usepackage{algpseudocode}
\usepackage{algorithm}
% remove this if you won't list any source code
\usepackage{listings}
\hypersetup{unicode}
\hypersetup{breaklinks=true}
\usepackage[noabbrev]{cleveref}
\input{todos} % remove this before compiling the final version
\input{macros} % use this file for various custom definitions
\begin{document}
\include{title}
\tableofcontents
\include{intro}
\include{ch1}
\include{ch2}
\include{ch3}
\include{conclusion}
\include{bibliography}
\appendix
\include{howto}
% if your attachments are complicated, describe them in a separate appendix
%\include{attachments}
\openright
\end{document}