summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-05-27 16:09:32 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-05-27 16:09:32 +0200
commit0ac99d9a4349ee76f44ba8180abb72eb79f98e69 (patch)
treed3212dd63ef298fb7c10d14920dccbbc5d8e5c74
parenta7e230c2dba72eebf4cf09b848b960cb29304d00 (diff)
Control Linenumbers in code
-rw-r--r--templates/book.latex5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/book.latex b/templates/book.latex
index 5f5150c..b496157 100644
--- a/templates/book.latex
+++ b/templates/book.latex
@@ -256,7 +256,10 @@ $endif$
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{
commandchars=\\\{\},
- fontsize=\footnotesize}
+ fontsize=\footnotesize,
+ xleftmargin=4mm,
+ numbersep=2mm
+}
\newenvironment{Shaded}{}{}
\newcommand{\AlertTok}[1]{\textbf{#1}}
\newcommand{\AnnotationTok}[1]{\textit{#1}}