search for: xdefinecolor

Displaying 1 result from an estimated 1 matches for "xdefinecolor".

Did you mean: definecolor
2012 Nov 01
1
How to nicely display R code with the LaTeX package 'listings'?
...nd{lstlisting} \end{document} ### Version 2 ################################################################## \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage[american]{babel} \usepackage{graphicx} \usepackage{fancyvrb} \usepackage{listings} \usepackage{bm} \usepackage{xcolor} \xdefinecolor{gray}{rgb}{0.4,0.4,0.4} \xdefinecolor{blue}{RGB}{58,95,205}% R's royalblue3; #3A5FCD \lstset{% setup listings language=R,% set programming language basicstyle=\ttfamily\small,% basic font style keywordstyle=\color{blue},% keyword style commentstyle=\color{gray},% comment style numb...