summaryrefslogtreecommitdiff
path: root/sandbox/stylesheets/pygments-long.sty
blob: 0ba09af2bd1818c81245e58546446b228d84bd3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% Minimal syntax highlight style for Docutils
% 
% :Author:    Günter Milde
% :Copyright: © 2013 G. Milde
% :License: Released under the terms of the `2-Clause BSD license`_, in short:
%
%    Copying and distribution of this file, with or without modification,
%    are permitted in any medium without royalty provided the copyright
%    notice and this notice are preserved.
%    This file is offered as-is, without any warranty.
%
% .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause
% 
% Syntax highlight rules for LaTeX documents generated with Docutils
% using the ``--syntax-highlight=long`` option (new in v. 0.9).
% 
% This stylesheet implements a very basic style with only few rules.

\newcommand\DUrolecomment[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
\newcommand\DUrolekeyword[1]{\textbf{#1}}
\newcommand\DUrolename[1]{\textcolor[rgb]{0.00,0.25,0.82}{#1}}
\newcommand\DUrolebuiltin[1]{\textbf{#1}}
\newcommand\DUrolestring[1]{\textit{#1}}
% \newcommand\DUroleoperator[1]{\textcolor[rgb]{0.72,0.53,0.04}{#1}}