Skip to content

Instantly share code, notes, and snippets.

@JossWhittle
Created April 17, 2020 11:31
Show Gist options
  • Save JossWhittle/ffeefbacae483a77d250045a8416d356 to your computer and use it in GitHub Desktop.
Save JossWhittle/ffeefbacae483a77d250045a8416d356 to your computer and use it in GitHub Desktop.
\usepackage{listings}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage[TS1,T1]{fontenc}
\usepackage[english]{babel}
\usepackage{sourcecodepro}
\usepackage{scrextend}
\addtokomafont{labelinglabel}{\sffamily}
\pdfmapfile{=SourceCodePro.map}
\lstset{
xleftmargin=0cm,frame=tlbr,framesep=4pt,framerule=0.5pt,
language=,
upquote=true,
columns=fixed,
tabsize=2,
extendedchars=true,
breaklines=true,
numbers=left,
numbersep=10pt,
basicstyle=\ttfamily,
numberstyle=\scriptsize,
stringstyle=\ttfamily,
captionpos=b,
showstringspaces=false,
autogobble=true,
keepspaces
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment