Commit 724a8e8e authored by Antonios Angelakis's avatar Antonios Angelakis

Prettier listings

parent 6e49e3b0
...@@ -2,6 +2,22 @@ ...@@ -2,6 +2,22 @@
\setlength\parindent{0pt} \setlength\parindent{0pt}
\usepackage{listings} \usepackage{listings}
\lstset{%
language=C++,
basicstyle=\ttfamily,
basewidth=0.6em,
showspaces=false,
showstringspaces=false,
showtabs=false,
rulecolor=\color{black},
tabsize=2,
breaklines=true,
breakatwhitespace=false,
frame=trbl,
xleftmargin=17pt,
aboveskip=\bigskipamount,
belowskip=\bigskipamount,
}
\usepackage[section]{placeins} \usepackage[section]{placeins}
\usepackage{hyperref} \usepackage{hyperref}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment