\usepackage{siunitx} % typeset units
\usepackage{xcolor} % colors
\usepackage{fnpct} % footnotekerning
+\usepackage[all]{nowidow} % Kill widows and orphans
\DeclareSIUnit\noop{\relax}
\DeclareSIUnit\celcius{{}^{\circ}\kern-\scriptspace\mathsf{C}}
\everymath{\it\/}
\makeatother
\usepackage{framed}
-%\newenvironment{chapterabstract}{\begin{quotation}\em\noindent}{\end{quotation}} %chktex 6
\definecolor{lstbg}{gray}{.95}
\definecolor{shadecolor}{named}{lstbg}
-\newenvironment{chapterabstract}{\begin{shaded}\em}{\end{shaded}} %chktex 6
+\newenvironment{chapterabstract}{\begin{shaded}\begin{quotation}}{\end{quotation}\end{shaded}} %chktex 6
% Increase the depth for the table of contents
\setcounter{secnumdepth}{3}
\usepackage{appendix} % subappendices, appendices per chapter
% Bibliography
-\usepackage{natbib} % Cite bib entry completely
+\usepackage[square]{natbib} % Cite bib entry completely
\setlength{\bibsep}{0.0pt}
-\def\bibfont{\small}
+%\def\bibfont{\small}
%\bibliographystyle{alpha}
\bibliographystyle{abbrvnat}
-\apptocmd{\thebibliography}{\raggedright}{}{}
+%\apptocmd{\thebibliography}{\raggedright}{}{}
\usepackage{bibentry} % Cite bib entry completely
\nobibliography*
\newcommand{\citeentry}[1]{\begin{NoHyper}\bibentry{#1}\end{NoHyper}. \citep{#1}}
+\newcommand{\refurl}[2]{\url{#1}, accessed on: #2}
\makeatletter
\newcommand{\citepage}[1]{p.~#1}
\newcommand{\orcid}[1]{\href{https://orcid.org/#1}{\hspace{1mm}\includegraphics[width=1em]{orcid}\hspace{2mm} https://orcid.org/#1}}
\usepackage{tikz}
+% Index
+%\usepackage{makeidx}
+%\makeindex% Enable the index
+
+% Custom enumerations
+\usepackage[inline,shortlabels]{enumitem}
+\setlist{noitemsep}
+\setlist[description]{leftmargin=\parindent}
% Hyperlinks and metadata
\usepackage[hyphens]{url}
\def\MakeUppercase#1{}%
}
-% Index
-%\usepackage{makeidx}
-%\makeindex% Enable the index
-
-% Custom enumerations
-\usepackage[inline,shortlabels]{enumitem}
-\setlist{noitemsep}
-\setlist[description]{leftmargin=\parindent}
-
% Initialize the glossaries
\makeglossaries%
\input{glossaries}