\usepackage[square]{natbib} % Cite bib entry completely
\setlength{\bibsep}{0.0pt}
\def\bibfont{\footnotesize}
%\setcitestyle{numbers}
%\bibliographystyle{alpha}
\bibliographystyle{\subfix{myabbrvnat}}
\usepackage{ragged2e}
\apptocmd{\thebibliography}{\RaggedRight}{}{}

\makeatletter
\let\saved@bibitem\@bibitem%
\makeatother

\newcommand{\refurl}[2]{\url{#1}, accessed on: #2}

\makeatletter
\newcommand{\citepage}[1]{p.~#1}
\newcommand{\citepages}[1]{pp.~#1}
\newcommand{\citechapter}[1]{\cref@chapter@name~#1}
\newcommand{\citechapters}[1]{\cref@chapter@name@plural~#1}
\newcommand{\citesection}[1]{\cref@section@name~#1}
\newcommand{\citesections}[1]{\cref@section@name@plural~#1}
%\newcommand{\citesection}[1]{\S.~#1}
%\newcommand{\citesections}[1]{\S\S.~#1}
\newcommand{\citeparagraph}[1]{\P.~#1}
\newcommand{\citeparagraphs}[1]{\P\P.~#1}
\newcommand{\citelisting}[1]{\cref@listing@name~#1}
\makeatother
