% !TEX root = ../Main.tex

% ==== Imports ====

% calc package
\usepackage{calc}

% fp package
\usepackage[nomessages]{fp}% http://ctan.org/pkg/fp

% xstring package
\usepackage{xstring}

% Glossaries package
\usepackage{glossaries}

% Import multicols
\usepackage{multicol}

% Silence package warnings
\usepackage{silence}

% Babel for language support
\usepackage[ngerman]{babel}

% Bibliography management with biber backend and IEEE style
\usepackage[
    backend=biber,
    sorting=none,
    style=ieee
]{biblatex}

% Context-sensitive quotation marks
\usepackage{csquotes}

% Clever referencing with hyperlinked references
\usepackage[nameinlink, noabbrev]{cleveref}

% Geometry for setting page dimensions and margins
\usepackage[a4paper, margin=2cm]{geometry}

% Booktabs for better table formatting
\usepackage{booktabs}

% Tabularx for tables with fixed width columns
\usepackage{tabularx}

% Longtable for tables that span multiple pages
\usepackage{longtable}

% Graphics support
\usepackage{graphicx}

% Enumitem for customized lists
\usepackage{enumitem}

% Verbatim for including literal text
\usepackage{verbatim}

% Captions for customizing figure and table captions
\usepackage{caption}

% Floatrow for advanced float customization
\usepackage{floatrow}

% Subcaption for subfigures within a figure
\usepackage[subrefformat=parens]{subcaption}

% Glossaries for glossary support
\usepackage{glossaries}

% Blindtext for generating dummy text
\usepackage{blindtext}

% Listings for including source code with syntax highlighting
\usepackage{listings}

% Hyphenation support for monospaced fonts
\usepackage[htt]{hyphenat}

% Color package for text coloring
\usepackage{color}

% Additional options for captions
\usepackage{caption,xparse}

% Multirow for table cells spanning multiple rows
\usepackage{multirow}

% Mathematical symbols and fonts
\usepackage{amssymb}

% Pifont for dingbat symbols
\usepackage{pifont}

% Epigraph for quotations
\usepackage{epigraph}

% Lipsum for generating dummy text
\usepackage{lipsum}

% Setspace for line spacing
\usepackage{setspace}

% Lmodern for scalable font
\usepackage{lmodern}

% Anyfontsize for using arbitrary font sizes
\usepackage{anyfontsize}

% For dotted lines in tables
\usepackage{arydshln}

% Boxes (for Info, Warning, etc.)
\usepackage[framemethod=TikZ]{mdframed}

% Emojis
\usepackage{twemojis}

% Euro Symbol
\usepackage{eurosym}

% To add a watermark
\usepackage{draftwatermark}

% Unicode Symbols
\usepackage{utfsym}

% For the \textsubscript command
\usepackage{accsupp}

% Modify TOC formatting
\usepackage{tocloft}

% Fontawesome for icons
\usepackage{fontawesome5}

% For better environment definitions
\usepackage{environ}

% http://ctan.org/pkg/keyval
\usepackage{keyval}

% For justified text
\usepackage{ragged2e}

% FPeval for floating point calculations
\usepackage{xfp}

% To refer to page text area
\usepackage{tikzpagenodes}

% Pie Chart
\usepackage{pgf-pie}

% ==== /Imports ====

% Tool to import relative to current file using
% the currfile package
\DeclareRobustCommand{\inputrelative}[1]{
    % Write \currfiledir#1 to the log file
    \typeout{Importing file: <\currfiledir>}
    \input{\currfiledir#1}
}