%% Import graphics \usepackage{graphicx} %% IEEEtran V1.6 and later pre-defines the format of the cite.sty package %% \cite{} output to follow that of the IEEE. \usepackage{cite} %% For the `\url' command. \usepackage{url} %% No need to load xcolor, its included by others below (it conflicts with %% the listings package. %\usepackage{xcolor} %% To have links. \usepackage[ colorlinks, urlcolor=gray, citecolor=gray, linkcolor=gray, linktocpage]{hyperref} \renewcommand\UrlFont{\rmfamily} %% To have typewriter font \usepackage{courier} %% To have bold monospace %\usepackage[scaled=0.85]{beramono} \usepackage{inconsolata} %% To display codes. \usepackage{listings} \usepackage{etoolbox} \input{listings-bash.prf} \lstset{ frame=lines, numbers=none, language=bash, commentstyle=\color{gray}, abovecaptionskip=0mm, belowcaptionskip=0mm, keywordstyle=\mdseries, basicstyle=\small\ttfamily\color{blue!35!black}, } \makeatletter \preto\lstlisting{\def\@captype{table}} \lst@AddToHook{OnEmptyLine}{\vspace{-0.5\baselineskip}} \pretocmd\lst@makecaption{\noindent{\rule{\linewidth}{1pt}}}{}{} \makeatother %% Custom macros \newcommand{\inlinecode}[1]{\textcolor{blue!35!black}{\texttt{#1}}} \newcommand\eprint[1]{\href{https://arXiv.org/abs/#1}{{arXiv:#1}}} \newcommand\doi[1]{\href{https://oadoi.org/#1}{{DOI:#1}}}