Skip to content

Instantly share code, notes, and snippets.

@JossWhittle
Created February 19, 2020 14:26
Show Gist options
  • Save JossWhittle/bb623bc322ebbfccd5951a9d2d4b970a to your computer and use it in GitHub Desktop.
Save JossWhittle/bb623bc322ebbfccd5951a9d2d4b970a to your computer and use it in GitHub Desktop.
\usepackage{listings,lstautogobble}
\usepackage{sourcecodepro}
\pdfmapfile{=SourceCodePro.map}
\lstset{
xleftmargin=0.5cm,frame=tlbr,framesep=4pt,framerule=0.5pt,
language=,
upquote=true,
columns=fixed,
tabsize=2,
extendedchars=true,
breaklines=true,
numbers=left,
numbersep=10pt,
basicstyle=\ttfamily\scriptsize,
numberstyle=\tiny,
stringstyle=\ttfamily,
captionpos=b,
showstringspaces=false,
autogobble=true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment