\ProvidesPackage{header}[2024/12/23 v1.0]
\usepackage[dvipsnames]{xcolor}
\usepackage{graphicx}
\usepackage{tabularx, ragged2e, array, multicol, hologo}
\usepackage{parskip, fancyvrb, float, caption}
\usepackage{amsmath, mathtools}
\usepackage[hidelinks]{hyperref}
\usepackage[newfloat]{minted}
\newmintinline[inline]{text}{fontsize=\normalsize}
\newmintinline[inlinec]{c}{fontsize=\normalsize}
\newmintinline[inlineb]{bash}{fontsize=\normalsize}
\usemintedstyle{gruvbox-light}
\newenvironment{code}{\captionsetup{type=listing}}{}
\SetupFloatingEnvironment{listing}{name=Code}
\newcommand{\hr}{\rule{8cm}{1pt}}
\setminted{autogobble,breakbytokenanywhere,frame=single,obeytabs=true,tabsize=2,baselinestretch=1}

\renewcommand{\figurename}{Fig.}
\renewcommand{\tablename}{Table.}
\renewcommand\tabularxcolumn[1]{m{#1}}
% \renewcommand\tabularxcolumn[1]{>{\Centering}p{m{#1}}}

% itemize with title
\newenvironment{titlemize}[1]{%
  \paragraph{#1}
  \begin{itemize}}
  {\end{itemize}}
% enumerate with title
\newenvironment{titlerate}[1]{%
  \paragraph{#1}
  \begin{enumerate}}
  {\end{enumerate}}

\hypersetup {
  hidelinks,
  linkbordercolor = {white},
}

\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}

\usepackage{titling}
\usepackage{etoolbox, setspace}

\newsavebox\mybox
\newenvironment{aquote}[1]
{\savebox\mybox{\small #1}\begin{quote}}
  {\par\usebox\mybox\end{quote}}

