From 0ac99d9a4349ee76f44ba8180abb72eb79f98e69 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 27 May 2020 16:09:32 +0200 Subject: Control Linenumbers in code --- templates/book.latex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates') 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}} -- cgit v1.2.3