\usepackage{array}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{capt-of}
\usepackage{subcaption}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{pdflscape}
\usepackage{cleveref}
\newcommand{\footnotehyperlink}[1]{\footnote{\hyperlink{#1}{#1}}}
\newcommand\TODO[1]{
  \def\hugeRedExclamationMark{\textcolor{red}{\Huge\bfseries !}}
  \textcolor{red}{\bfseries(TODO: #1)}%
  %\marginpar{\hugeRedExclamationMark}
}
\newcommand{\pdfplotcolumns}[3][0.2\columnwidth]{
  \parbox[c]{#1}{\includegraphics[width=#1, trim={5mm 5mm 5mm 5mm}, clip]{#2_unconditional_#3.pdf}} &
  \parbox[c]{#1}{\includegraphics[width=#1, trim={5mm 5mm 5mm 5mm}, clip]{#2_conditional_#3.pdf}}
}
\newcommand{\includeqqplot}[2][0.8\columnwidth]{
  \parbox[c]{#1}{\includegraphics[width=#1]{#2}}
}
% Use glossaries pkg to define acronymes
\usepackage[acronym]{glossaries}
% \makeglossaries
\glsdisablehyper

% Methods
\newacronym{BNF}{BNF}{elementwise Bernstein normalizing fLow}
\newacronym{CDF}{CDF}{cumulative distribution function}
\newacronym{ECDF}{ECDF}{empirical \gls{CDF}}
\newacronym{PDF}{PDF}{probability density function}
\newacronym{CTM}{CTM}{conditional transformation model}
\newacronym{GAM}{GAM}{generalized additive model}
\newacronym{IAF}{IAF}{inverse autoregressive flow}
\newacronym{MADE}{MADE}{masked autoencoder for distribution estimation}
\newacronym{MAF}{MAF}{masked autoregressive flow}
\newacronym{CF}{CF}{coupling flow}
\newacronym{HMAF}{HMAF}{hybrid \gls{MAF}}
\newacronym{HCF}{HCF}{hybrid \gls{CF}}
\newacronym{MCTM}{MCTM}{multivariate conditional transformation model}
\newacronym{MVN}{MVN}{multivariate normal}
\newacronym{NF}{NF}{normalizing flow}
\newacronym{NVP}{real NVP}{real-valued non-volume preserving flows}
\newacronym{PIT}{PIT}{probability integral transform}
\newacronym{SAP}{SAP}{structured additive predictor}
\newacronym{xAI}{xAI}{explainable AI}
\newacronym{NLL}{NLL}{negative logarithmic likelihood}
\newacronym{QQ}{Q-Q}{quantile-quantile}

% Tikz
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\definecolor{mpl_blue}{HTML}{1f77b4}
\definecolor{mpl_orange}{HTML}{ff7f0e}

% Declarations
\DeclareMathOperator*{\argmin}{arg\,min}
\DeclareMathOperator*{\nll}{NLL}
\DeclareMathOperator*{\ecdf}{ECDF}
\DeclareMathOperator{\softmax}{softmax}
\DeclareMathOperator{\softplus}{softplus}
\DeclareMathOperator{\Be}{Be}

%\usepackage[
%backend = biber,
%natbib  = true,
%sorting = nyt,
%style=ieee,
%dashed=false,
%hyperref,
%]{biblatex}
%\addbibresource{main.bib}

\graphicspath{{./gfx}}
