Skip to content

Commit

Permalink
Setup line numbering in listings (still off by default)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdlm committed Mar 25, 2020
1 parent e0a059e commit 6ba943f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sbabook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,12 @@
keywordstyle={},
stringstyle={},
commentstyle={},
numberstyle = \tiny\ttfamily,
numberblanklines = false,
% numberfirstline = true,
firstnumber = 1,
stepnumber = 2, % number placement varies from listing to listing…
numbersep = 7pt,
}
\lstset{style = sbabook}

Expand Down

0 comments on commit 6ba943f

Please sign in to comment.