diff --git a/.gitignore b/.gitignore index b989be6..41c0ce1 100644 --- a/.gitignore +++ b/.gitignore @@ -103,3 +103,17 @@ venv.bak/ # mypy .mypy_cache/ + +# latex related +_minted* +*.aux +*.bbl +*.out +*.log +*.fls +*.aux +*.blg +*.synctex.gz +*.fdb_latexmk +*.bcf +*.run.xml diff --git a/tex/explanation.bib b/tex/explanation.bib new file mode 100644 index 0000000..e69de29 diff --git a/tex/explanation.sty b/tex/explanation.sty new file mode 100644 index 0000000..f96ec03 --- /dev/null +++ b/tex/explanation.sty @@ -0,0 +1,88 @@ +\ProvidesPackage{explanation} + +% ~~~~~~~~ % +% PACKAGES % +% ~~~~~~~~ % + +% Subtle Rasmus rigid changes to columns. +\usepackage{microtype} +% For language dependent spelling processing. +\usepackage[english]{babel} +% Encoding +\usepackage[utf8]{inputenc} +% Links +\usepackage[hidelinks]{hyperref} +% for some nice pics +\usepackage{graphicx} +\graphicspath{ {../img/} {../} {img/}} +% for code highlighting +\usepackage{minted} +\usemintedstyle{murphy} +% For correctly set quotes depending on language set in babel. +\usepackage{csquotes} +% for algorithm env +\usepackage{algpseudocode, algorithm} +% for subfigures +\usepackage{subcaption} +% for math env (amsthm for proof) +\usepackage{mathtools,amsthm} +% for checkmarks! +\usepackage{amssymb} +% for the f***ing euro symbol +\usepackage[official]{eurosym} +% for the f***ing degree symbol +\usepackage{siunitx} +% for color (e.g. in equations) +\usepackage[usenames,dvipsnames]{xcolor} +% for the header +\usepackage{fancyhdr} +% for thicker hrules +\usepackage{booktabs} +% For inserting a spac after own commands. +\usepackage{xspace} +% For horizontal lists (enumerate*) +\usepackage[inline]{enumitem} +% For Biblatex + +\usepackage[ + style=alphabetic, + maxbibnames=99, + backend=biber % !! needs biber to be installed +]{biblatex} + +% Geometrystuff +\usepackage{geometry} +% for own geometry configurations +% \geometry{a4paper,left=1.5cm, right=1.5cm, top=2.5cm, bottom=2.5cm} + + +% ~~~~~~~~~~~~~ % +% OWN FUNCTIONS % +% ~~~~~~~~~~~~~ % + +% For nice ceiling functions. +\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil} +\DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor} + + +% Convenience functions regarding floating images. +%