Template_Summary/Packages.tex

173 lines
3.5 KiB
TeX
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

%--------------------
%encoding
%--------------------
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%--------------------
%language
%--------------------
\usepackage{babel}
%--------------------
%images
%--------------------
\usepackage{graphicx}
\graphicspath{ {./images/} }
%figure wrapping
\usepackage{wrapfig}
%precise image placement
\usepackage{float}
%svg images
\usepackage{svg}
%subfigures
\usepackage{subcaption}
%borders around images
\usepackage[export]{adjustbox}
%align graphics at bottom
\usepackage{graphbox}
%--------------------
%german quotation
%--------------------
\usepackage[%
left = \glqq,%
right = \grqq,%
leftsub = \glq,%
rightsub = \grq%
]{dirtytalk}
%--------------------
%enumeration
%--------------------
\usepackage{enumerate}
\usepackage[shortlabels]{enumitem}
%--------------------
%references
%--------------------
\usepackage{hyperref}
%--------------------
%for code snippets
%--------------------
\usepackage{xcolor}
\usepackage{listings}
% highlight block in equations
\newcommand{\highlight}[2]{%
\colorbox{#1}{$\displaystyle#2$}}
%--------------------
%footnotes
%--------------------
%fix footnotes at the bottom of the page
\usepackage[bottom]{footmisc}
%--------------------
%tables
%--------------------
%enable X columns (columns with automatic width)
\usepackage{tabularx}
\newcolumntype{Y}{>{\centering\arraybackslash}X} %for centered X column
%table longer than one page
\usepackage{longtable}
%colorfull tables
\usepackage{colortbl}
%multirows in tables
\usepackage{multirow}
%enable line break in nomenclature
\usepackage{array}
%footnotes for tables
\usepackage{threeparttable}
%enable rotation of table headers
\newcommand\rothead{\bfseries\rotatebox{90}}
%--------------------
%glossary & acronyms
%--------------------
\usepackage{datatool}
\usepackage[automake,acronym]{glossaries-extra}
%dynamic spaces after a link
\usepackage{xspace}
%--------------------
%header and footer
%--------------------
\usepackage{fancyhdr}
%--------------------
%custom font sizes
%--------------------
\usepackage{anyfontsize}
%--------------------
%bibliography
%--------------------
\usepackage[square, numbers]{natbib}
%--------------------
%conditional formating
%--------------------
\usepackage{ifthen}
%--------------------
%equations
%--------------------
%math symbols and more
\usepackage{amsmath}
%special symbols
\usepackage{fontawesome}
\usepackage{amssymb}
%si units
\usepackage[output-decimal-marker={,}]{siunitx}
%referencing equations
\usepackage[noabbrev, nameinlink]{cleveref}
%decimal comma
\usepackage{icomma}
%bold math
\usepackage{bm}
%--------------------
%drawings & diagrams
%--------------------
\usepackage{tikz,pgfplots}
\DeclareUnicodeCharacter{2212}{}
\usepgfplotslibrary{groupplots,dateplot}
\pgfplotsset{compat=newest}
\usetikzlibrary{calc,3d,shapes.arrows,patterns,shapes.geometric}
\usepackage{pgf-umlsd}
\usepackage{environ}
\makeatletter
\newsavebox{\measure@tikzpicture}
\NewEnviron{scaletikzpicturetowidth}[1]{%
\def\tikz@width{#1}%
\def\tikzscale{1}\begin{lrbox}{\measure@tikzpicture}%
\BODY
\end{lrbox}%
\pgfmathparse{#1/\wd\measure@tikzpicture}%
\edef\tikzscale{\pgfmathresult}%
\BODY
}
\makeatother
%boxes
\usepackage[framemethod=tikz]{mdframed}
\newmdenv[roundcorner=2mm, linecolor=blue, backgroundcolor=blue!5]{mybox}
%--------------------
% landscape
%--------------------
\usepackage{pdflscape}
%--------------------
% algorithms
%--------------------
\usepackage{algorithm}
\usepackage{algpseudocode}
%--------------------
% quick and dirty tabstops
%--------------------
\usepackage{tabto}