\usepackage[utf8]{inputenc} % allow utf-8 input
\usepackage[T1]{fontenc}    % use 8-bit T1 fonts
\usepackage{hyperref}       % hyperlinks
\usepackage{url}            % simple URL typesetting
\usepackage{booktabs}       % professional-quality tables
\usepackage{amsfonts}       % blackboard math symbols
\usepackage{nicefrac}       % compact symbols for 1/2, etc.
\usepackage{microtype}      % microtypography
\usepackage{xcolor}         % colors
\usepackage{adjustbox}

% personal settings
\usepackage{multirow}
\usepackage{adjustbox}
\usepackage{wrapfig}
\usepackage{caption}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{cleveref}
% subfigure hyperlink
\newcommand{\crefsub}[2]{%
    \namecref{#1}~\hyperref[#1]{\ref*{#1}#2}%
}
\newcommand{\Crefsub}[2]{%
    \nameCref{#1}~\hyperref[#1]{\ref*{#1}#2}%
}

\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{decorations.markings, arrows, arrows.meta, pgfplots.groupplots, positioning, shapes.geometric, matrix, fit}
\usepgfplotslibrary{statistics}

\newcommand{\red}[1]{\textcolor{red}{#1}}
\definecolor{gr}{RGB}{40,140,80}
\definecolor{bl}{RGB}{70,70,240}
\definecolor{sky}{RGB}{100,180,240}
\definecolor{yl}{RGB}{250,170,30}
\definecolor{or}{RGB}{220,140,80}
\definecolor{pp}{RGB}{200,150,240}
\definecolor{dr}{RGB}{200,30,0}
\definecolor{dg}{RGB}{110,175,70}
\definecolor{dp}{RGB}{225,110,150}
\definecolor{db}{RGB}{40,40,210}

\newcommand{\rplus}{\raisebox{.2ex}{$+$}}
\DeclareMathSymbol{\shortminus}{\mathbin}{AMSa}{"39}
\newcommand{\minus}{\raisebox{.75pt}{$\shortminus$}}
