\documentclass[a4paper]{article}
\usepackage[total={6in, 9in}]{geometry}
\usepackage{amsmath, amssymb, amsthm, stmaryrd, mathrsfs, gensymb, dsfont}
\usepackage{mathtools, adjustbox}
\usepackage[scr=esstix,cal=boondox]{mathalfa}
\usepackage{enumitem, xfrac, xcolor, cancel, multicol, tabularx, relsize}
\usepackage{hyperref}
\usepackage[backend=biber]{biblatex}
\usepackage{pgfplots, tikz, tikz-cd}
\usepackage{graphicx, wrapfig}
\usepackage[normalem]{ulem}

% Configure graphics
\pgfplotsset{compat=1.18}

% Use \blacksquare for \qed
\renewcommand{\qedsymbol}{\ensuremath{\blacksquare}}

% Get propper inequality symbols
\renewcommand{\leq}{\leqslant}
\renewcommand{\le}{\leqslant}
\renewcommand{\geq}{\geqslant}
\renewcommand{\ge}{\geqslant}
\renewcommand{\preceq}{\preccurlyeq}
\renewcommand{\succeq}{\succcurlyeq}

% Add missing arrows
\newcommand{\longhookrightarrow}{\lhook\joinrel\longrightarrow}

% Fix the subset symbol
\renewcommand{\subset}{\subseteq}

% Display long arrows instead of short ones
\renewcommand{\to}{\longrightarrow}
\renewcommand{\mapsto}{\longmapsto}

% Absolute value and vector norm
\newcommand{\abs}[1]{\left|\nobreak#1\nobreak\right|}
\newcommand{\norm}[1]{\left\lVert\nobreak#1\nobreak\right\rVert}

\newcommand{\dt}{\mathrm{d} t}
\newcommand{\dd}{\mathrm{d}}

% Isomorphism arrow
\newcommand{\isoto}{\xlongrightarrow{\sim}}

% Configure how link look
\hypersetup{
  colorlinks,
  citecolor=black,
  filecolor=black,
  linkcolor=black
}

% Configure the enumerate environment to use bold roman numerals
\setenumerate[0]{label={\normalfont\bfseries(\roman*)}}

% Useful theorem definitions
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{proposition}{Proposition}[section]
\theoremstyle{remark}
\newtheorem*{note}{Remark}
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\newtheorem{example}{Example}[section]

