From 1ef2032e90f9da1b27d3afcbffa50c0e74c3c61c Mon Sep 17 00:00:00 2001 From: Bart Jacobs Date: Sun, 17 May 2020 09:19:37 +0200 Subject: [PATCH] PDF: Comments upright and blue --- latex.template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/latex.template b/latex.template index bd55a7b..9fa7b94 100644 --- a/latex.template +++ b/latex.template @@ -240,13 +240,19 @@ $if(beamer)$ $endif$ $if(listings)$ %\usepackage{geometry} +\definecolor{ogpjavadoc}{HTML}{3F5FBF} \addtolength{\hoffset}{-2cm} \usepackage{listings} \newcommand{\passthrough}[1]{#1} \lstset{defaultdialect=[5.3]Lua} \lstset{defaultdialect=[x86masm]Assembler} \usepackage[scaled]{luximono} -\lstset{language=java,basicstyle=\ttfamily\footnotesize,frame=lines} +\lstset{ + language=java, + basicstyle=\ttfamily\footnotesize, + commentstyle=\color{ogpjavadoc}\ttfamily\footnotesize, + frame=lines, + rulecolor=\color{black}} %\lstset{xleftmargin=-2cm,xrightmargin=-2cm} $endif$ $if(lhs)$