]> gitweb.michael.orlitzky.com - mjotex.git/commitdiff
mjo-listing.tex: put a \baseline skip above and below sage listings.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 24 Feb 2020 22:38:53 +0000 (17:38 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 24 Feb 2020 22:38:53 +0000 (17:38 -0500)
mjo-listing.tex

index cf3fc582a1d1e7fa8aefb8a62e7488477ade3dbf..bcfe25f4af5673bfbcd9bf6ab58094fae5343f6a 100644 (file)
@@ -58,6 +58,8 @@
 \newcommand*{\sagelisting}[1]{\tcbinputlisting{listing only,%
                colback=codebg,%
                coltext=codefg,%
+               enlarge bottom finally by=\baselineskip,%
+               enlarge top initially by=\baselineskip,%
                left=2em,%
                listing options={language=sage,style=sage},%
                listing file=sage_listings/#1.listing}}