-
-
Save vermiculus/590ec4d6edfeb415592a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\lstset{ | |
rangeprefix=\#\%\ , | |
rangesuffix=\ \%\#, | |
includerangemarker=false, | |
%gobble=2,% TODO doesn't work for inputlisting | |
frame=single, | |
frameround=tttt, | |
backgroundcolor=\color{blue!5}, | |
rulecolor=\color{blue!50!black}, % TODO background color extends past rounded corner | |
language=Python, | |
morekeywords={assert,self}, | |
showstringspaces=false, | |
showspaces=false, | |
showtabs=false, | |
basicstyle=\small\ttfamily, | |
moredelim=*[s][\lst@stringstyle]{"""}{"""}, | |
moredelim=[s][\lst@commentstyle]{<<}{>>}, | |
} | |
\renewcommand*\lstlistlistingname{List of Listings} | |
\lstMakeShortInline[basicstyle=\small\ttfamily]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment