From 8162934857a4920bc80f740126a41263ae970520 Mon Sep 17 00:00:00 2001 From: Leonardo Robol Date: Wed, 25 Nov 2009 23:14:36 +0100 Subject: [PATCH] Qualche modifica ai colori dei listati --- CalcoloScientifico.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CalcoloScientifico.tex b/CalcoloScientifico.tex index 69c9332..4a64577 100644 --- a/CalcoloScientifico.tex +++ b/CalcoloScientifico.tex @@ -149,15 +149,16 @@ %% Codice fortran \definecolor{listinggray}{gray}{0.95} +\definecolor{keycolor}{rgb}{0.1,0.1,0.1} \lstset{language=fortran} \lstset{backgroundcolor=\color{listinggray}} \lstset{frameround=trbl} \lstset{% general command to set parameter(s) - basicstyle=\footnotesize\ttfamily, % print whole listing small - keywordstyle=\color{black}\bfseries\underbar, + basicstyle=\footnotesize, % print whole listing small + keywordstyle=\color{keycolor}\bfseries\ttfamily\underbar, % underlined bold black keywords identifierstyle=, % nothing happens - commentstyle=\color{red!80}, % white comments + commentstyle=\color{red!80}\ttfamily, % white comments stringstyle=\ttfamily, % typewriter type for strings numbers=left, % numbers numberstyle=\scriptsize, % che non rompano troppo -- 2.1.4