Improve the looks of the listing a bit.
Fixing some reference styles and shrink the size of the text.
This commit is contained in:
parent
f4cc4ed993
commit
f469451755
1 changed files with 5 additions and 4 deletions
|
@ -1,11 +1,12 @@
|
|||
\usepackage{listings}
|
||||
\lstset{
|
||||
numbers = left
|
||||
basicstyle=\footnotesize
|
||||
, numbers = left
|
||||
, showstringspaces = false
|
||||
, tabsize = 4
|
||||
, frame = single
|
||||
, xrightmargin = -7em
|
||||
, xleftmargin = -7em
|
||||
, xrightmargin = -3.6em
|
||||
, xleftmargin = -3.6em
|
||||
}
|
||||
|
||||
\lstdefinestyle{C++}{
|
||||
|
@ -15,5 +16,5 @@
|
|||
\lstdefinelanguage{WML}{}
|
||||
\lstdefinestyle{WML}{
|
||||
language = WML
|
||||
, escapeinside = {\#*@}{@*\#}}
|
||||
, escapeinside = {/*@}{@*/}}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue