diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-05-27 16:09:32 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-05-27 16:09:32 +0200 |
commit | 0ac99d9a4349ee76f44ba8180abb72eb79f98e69 (patch) | |
tree | d3212dd63ef298fb7c10d14920dccbbc5d8e5c74 | |
parent | a7e230c2dba72eebf4cf09b848b960cb29304d00 (diff) |
Control Linenumbers in code
-rw-r--r-- | templates/book.latex | 5 |
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}} |