\usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman,english]{babel} % -- https://www.ctan.org/pkg/newtx?lang=en \usepackage{newtxtext,newtxmath} % -- https://www.ctan.org/pkg/scrextend \usepackage{scrextend} \usepackage{booktabs} \usepackage{tabularx} \usepackage{threeparttable} \usepackage{multirow} \usepackage{pifont} % get layout information \usepackage{layout} \usepackage{rotating} \usepackage{adjustbox} \usepackage{setspace} \usepackage{ragged2e} \usepackage{lipsum} \usepackage{blindtext} \usepackage{calc} \usepackage{eqnarray,amsmath} \usepackage[linesnumbered]{algorithm2e} % -- Absolute positions \usepackage[absolute,overlay]{textpos} \usepackage{tcolorbox} \tcbuselibrary{most} \usepackage{soul} %improve wrapping of URLs - hint by http://tex.stackexchange.com/a/10419/9075 \makeatletter \g@addto@macro{\UrlBreaks}{\UrlOrds} \makeatother % ------------------------------------------------------------- % Hyperreferences % ------------------------------------------------------------- \usepackage{hyperref} \hypersetup{colorlinks=true,linkcolor=,urlcolor=gray70,citecolor=blue1} % ------------------------------------------------------------- % Bibliography % ------------------------------------------------------------- \usepackage[% %sorting=debug, %natbib=true, %backend=biber,bibencoding=utf8, backend=bibtex8,bibencoding=ascii,language=auto,natbib=true,%maxbibnames=10, sorting=nyt, style=alphabetic, maxalphanames=1 %minnames=3, %maxnames=6, %doi=false ]{biblatex} % -- remove plus sign in labels [Stö+18] \renewcommand*{\labelalphaothers}{} % -- make bibliography entries smaller \renewcommand\bibfont{\scriptsize} % -- and kill the abominable icon \setbeamertemplate{bibliography item}[text] %\addbibresource{bibliography.bib} %\addbibresource{bibliography-2.bib} % ------------------------------------------------------------- % Minted Code Listing % ------------------------------------------------------------- % Need the following Python package: % - Pygments (http://pygments.org/) % % Requires the -shell-escape flag when calling LaTeX !!!! % % List all styles: % $ pygmentize -L styles % \usemintedstyle{monokai} % % List all Languages: % $ pygmentize -L lexers %\usepackage[titles]{tocloft} %\newlistof{listing}{lol}{Listings} %\usepackage[newfloat]{minted} %\usepackage{caption} %\renewcommand{\cftlistingpresnum}{Listing~} %\setlength{\cftlistingnumwidth}{2,8cm} \usepackage{minted} % ------------------------------------------------------------- % Captions % ------------------------------------------------------------- \usepackage{caption} \captionsetup{% justification=raggedright, singlelinecheck=false } % ------------------------------------------------------------- \renewcommand\thefootnote{\textbf{\textcolor{blue1}{\arabic{footnote}}}} \renewcommand{\footnotesize}{\fontsize{6pt}{7pt}\selectfont} %% Insert line break in algorithm \newcommand{\WRP}{\par\qquad\(\hookrightarrow\)\enspace} %\newcommand{\showHorizontalNavBar}{} \def\showHorizontalNavBar{} % ------------------------------------------------------------- % Color Boxes % ------------------------------------------------------------- \newtcolorbox{shadowbox1}[2][]{% enhanced, size=small, width=#2, colback=gray1, colframe=gray1, sharp corners, drop small lifted shadow=black, #1 } % ------------------------------------------------------------- % Images % ------------------------------------------------------------- \newcommand{\rotimagewithsource}[3]{% \begin{figure} \hypersetup{urlcolor=gray50} \setbeamerfont{caption}{size=\fontsize{2pt}{3pt}\selectfont} \setbeamercolor{caption}{fg=gray50} \captionsetup{labelformat=empty,justification=raggedright,singlelinecheck=false}% \begin{adjustbox}{addcode={\begin{minipage}{\width}}{\caption{#3}\end{minipage}},#1,center} #2 \end{adjustbox} \addtocounter{figure}{-1} \end{figure} } \newcommand{\rotimagewithcaption}[3]{% \begin{figure} \begin{adjustbox}{addcode={\begin{minipage}{\width}}{\caption{#3}\end{minipage}},#1,center} #2 \end{adjustbox} \end{figure} }