bachelor-thesis/thesis.tex

98 lines
2.8 KiB
TeX
Raw Normal View History

2020-05-10 10:03:14 +00:00
\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}
2020-05-11 20:22:44 +00:00
% 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}
% Also, this is the official recommendation (a bit harsh though):
2020-05-10 10:03:14 +00:00
%\usepackage[textwidth=145mm,textheight=247mm]{geometry}
2020-05-11 19:43:55 +00:00
%%% FONTS %%%
\usepackage{lmodern} % TeX "original" (this sets up the latin mono)
% Optionally choose an override for the main font for typesetting
2020-05-10 20:35:12 +00:00
\usepackage[mono=false]{libertinus} % popular for comp-sci (ACM uses this)
2020-05-10 10:03:14 +00:00
%\usepackage{tgschola} % Schoolbook-like (gives a bit of historic feel)
2020-05-11 19:43:55 +00:00
%\usepackage[scale=0.96]{tgpagella} % Palladio-like (popular in formal logic).
% Optionally choose a custom sans-serif fonts (e.g. for figures and tables).
2020-05-11 20:22:44 +00:00
% Default sans-serif font is usually Latin Modern Sans. Some font packages
2020-05-11 19:43:55 +00:00
% (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!
2020-05-11 20:22:44 +00:00
% The serifs make the text easily readable on the paper.
2020-05-11 19:43:55 +00:00
2020-05-11 20:22:44 +00:00
% 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).
2020-05-11 19:43:55 +00:00
2020-05-10 10:03:14 +00:00
2020-05-11 20:22:44 +00:00
% some useful packages
2020-05-10 10:03:14 +00:00
\usepackage{amsmath,amsfonts,amsthm,bm}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{booktabs}
\usepackage{float}
% load bibliography tools
\usepackage[backend=bibtex,natbib]{biblatex}
\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}
2020-05-11 20:22:44 +00:00
\usetikzlibrary{positioning} %add libraries as needed (shapes, decorations, ...)
2020-05-10 10:03:14 +00:00
% remove this if you won't typeset any pseudocode
\usepackage{algpseudocode}
\usepackage{algorithm}
2020-05-11 20:22:44 +00:00
% remove this if you won't list any source code
2020-05-10 10:03:14 +00:00
\usepackage{listings}
2020-05-11 20:22:44 +00:00
2020-05-10 10:03:14 +00:00
\hypersetup{unicode}
\hypersetup{breaklinks=true}
\usepackage[noabbrev]{cleveref}
2020-05-11 20:22:44 +00:00
\input{todos} % remove this before compiling the final version
\input{macros} % use this file for various custom definitions
2020-05-10 10:03:14 +00:00
\begin{document}
\include{title}
\tableofcontents
\include{intro}
\include{ch1}
\include{ch2}
\include{ch3}
\include{conclusion}
\include{bibliography}
\appendix
\include{howto}
2020-05-11 20:22:44 +00:00
% if your attachments are complicated, describe them in a separate appendix
%\include{attachments}
2020-05-10 10:03:14 +00:00
\openright
\end{document}