GEX thesis source code, full text, references
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gex-thesis/document_config.tex

120 lines
3.0 KiB

7 years ago
% extra balíky a jejich nastavení
% this fixes a latex bug with 'not enough writes'
\usepackage{morewrites}
\usepackage{calc} % fixes calculations in width params not working right
7 years ago
\usepackage{todonotes} % todos
\usepackage{blindtext} % lorem
\usepackage{csquotes} % some macros for nice quotes or whatever
\usepackage{wrapfig} % figs floating next to text
7 years ago
\usepackage{svg}
\svgpath{img/}
7 years ago
\usepackage[all]{nowidow} % fix for orphaned lines of text
\usepackage{fancyvrb}
\usepackage{siunitx} % this was not used, but should have been
7 years ago
\usepackage{sectsty}
\usepackage{titlecaps}
\usepackage{cprotect} % this is for some hacks with math in caption or whatever
7 years ago
\usepackage{framed}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{tabulary}
\usepackage{longtable}
\usepackage{tabu} % longtabu
\usepackage{pmboxdraw} % ???
\usepackage{xcolor}
\definecolor{RubineRed}{HTML}{C30067} % used in command tables bc it's pretty
7 years ago
\usepackage{flafter} % ensures embeds won't go before their references
\usepackage{enumitem} % better list spacing
7 years ago
\usepackage{bigfoot} % verbatin in footnote
\usepackage{makecell} % cells with custom align in tabular
\usepackage{tabto} % tabs, but kinda buggy
\usepackage{ragged2e} % this was supposed to improve text alignment
7 years ago
% typesetting C# lol
7 years ago
\newcommand{\CS}{C\nolinebreak\hspace{-.05em}\raisebox{.4ex}{\scriptsize\bf \#}}
% some symbols. skip integrals because asmmath also defines them and is loaded by the thesis class
\usepackage[nointegrals]{wasysym}
7 years ago
7 years ago
\usepackage[
style=numeric,
7 years ago
backend=biber,
sorting=none
7 years ago
]{biblatex}
7 years ago
% Uvozovky v češtině
\iffalse
% makro pro uvozovky
\renewcommand\uv[1]{\enquote{#1}}
% \DeclareQuoteStyle{czech}
{\quotedblbase}
{\textquotedblleft}
{\textquoteleft}
{\textquoteright}
\fi
\input{pre.minted}
\input{pre.ctuthesis_config}
\input{pre.spacing_config}
%% LINK COLORS
7 years ago
\hypersetup{
colorlinks,
linkcolor={red!50!black},
citecolor={blue!50!black},
urlcolor={blue!80!black}
}
\usepackage{bookmark}
\bookmarksetup{
numbered,
}
%nice referencing with the words auto generated
\usepackage[nameinlink,capitalize,noabbrev]{cleveref}
%% ACRONYM CONFIG
\usepackage[xindy,nonumberlist,nomain,acronym,nopostdot,toc=false]{glossaries}
%\glssetwidest{ABCD}
\renewcommand*{\glsclearpage}{}
\usepackage{glossary-mcols}
\renewcommand*{\glspostdescription}{}
\makeglossaries
\glsaddall
% make glsosary entries black
%\renewcommand*{\glstextformat}[1]{\textcolor{black}{#1}}
\input{pre.utils}
7 years ago
\input{pre.gex_command_tables}
7 years ago
7 years ago
% custom style for the appendix
\fancyfoot[LE,RO]{\thepage} % Left side on Even pages; Right side on Odd pages
\fancypagestyle{appendix}{%
\fancyfootoffset[lef,rof]{60pt}
\fancyfootoffset[leh,roh]{60pt}
\renewcommand{\headrulewidth}{0pt}%
\fancyhf{}%
\fancyhf[leh,roh]{\vspace{.9cm}\leftmark}%
\fancyhf[lef,rof]{\thepage}%
}
7 years ago
% this moves table captions above the float, which is apparently The Way to Do It
7 years ago
\usepackage{float}
\floatstyle{plaintop}
\restylefloat{table}
\usepackage[tableposition=top]{caption}