-
Mark Pascal Sanders authoredMark Pascal Sanders authored
custom_packages.tex 2.80 KiB
% !TeX root = ./main.tex
% Use this file to load custom packages you have added yourself.
\usepackage{nameref}
\usepackage{pdfpages}
\usepackage{booktabs}
\usepackage{verbatim}
\usepackage{enumitem}
\usepackage[super]{nth}
\usepackage{draftwatermark}
% \usepackage{libertinus}
%\usepackage{tabularx}
% Rotate tables
% \usepackage{rotating}
%\usepackage{adjustbox}
\usepackage{pdflscape}
\usepackage{afterpage}
% \usepackage{capt-of}% or use the larger `caption` package
\usepackage{booktabs}
\usepackage{adjustbox}
\usepackage{rotating}
% for table footnote
% \usepackage{tablefootnote}
%\newcolumntype{b}{X}
%\newcolumntype{s}{>{\hsize=.7\hsize}X}
% \usepackage{tabu}
%\usepackage{footnote}
% \usepackage{footnotehyper}
%\usepackage[textwidth=20mm]{todonotes}
% \reversemarginpar
% % Better cell formatting in tables
% \usepackage{makecell}
% \usepackage{diagbox}
% \usepackage{lipsum}
% Have Tabluarx in Longtables
\usepackage{xltabular}
% Have labels for tables
\makeatletter
\newcommand{\tablelabel}[2]{% \speciallabel{<stuff>}{<label>}
\edef\@currentlabel{#1}\label{#2}%
}
\makeatother
% Exkursboxen:
\usepackage{framed}
% Strikeout text
\usepackage[normalem]{ulem}
% Load special fonts
\usepackage{fontspec}
%\pdfmapline{+Iokharic < Iokharic.ttf <T1-WGL4.enc}
%\newcommand\Iokharic[1]{{\usefont{T1}{Iokharic}{m}{n} #1 }}
%\pdfmapline{+Iokharic < Iokharic.tfm}
%\newcommand{\Iokharic}[1]{{\usefont{T1}{Iokharic}{m}{n} #1}}
% Roman numbers
\usepackage{romanbar}
% Make all todonotes inline
\usepackage{regexpatch}
\makeatletter
\xpatchcmd{\@todo}{\setkeys{todonotes}{#1}}{\setkeys{todonotes}{inline,#1}}{}{}
\makeatother
% Summary Boxes
\usepackage{tcolorbox}
\tcbuselibrary{theorems}
\makeatletter
\newtcbtheorem{thm}{Theorem}{code={\edef\@currentlabelname{#2}}}{thm}
%\newtcbtheorem{thm}{Theorem}{code={\NR@gettitle{#2}}}{thm} % alternatively, if nameref is loaded
\makeatother
\newtcbtheorem{Summary}{\bfseries Zusammenfassung}{
code={\edef\@currentlabelname{#2}}
%enhanced,
%drop shadow={black!50!white},
%coltitle=black,
%top=0.3in,
%attach boxed title to top left=
% {xshift=1.5em,
% yshift=-\tcboxedtitleheight/2},
%boxed title style={size=small,colback=pink}
}{summary}
% Fix a bug with PDF Images included
%\pdfminorversion=7
% Packags for titlepage
\usepackage{tikzpagenodes}
%% Init Tikz
\usetikzlibrary{arrows,positioning,shapes.geometric,backgrounds}
\usetikzlibrary{arrows.meta}
%% Set up Bibliography
\usepackage{biblatex}
\bibliography{lit/References.bib}
% Vor den Kapiteln
% \renewcommand{\chaptercolor}{RWTHPetrol100}
% Nach den Kapiteln
% \renewcommand{\chaptercolor}{RWTHBlau100}
% Draconic
\newfontfamily\Iokharic[Path=./format/fonts/Iokharic/]{Iokharic.ttf}
% \usepackage{ifthen}
\usepackage{todonotes}
\usepackage{svg}
\svgsetup{inkscapelatex=false}
\usepackage[normalem]{ulem}