Minor documentation fixes.
[docutils.git] / sandbox / stylesheets / pygments-long.sty
blob0ba09af2bd1818c81245e58546446b228d84bd3c
1 % Minimal syntax highlight style for Docutils
2 %
3 % :Author: Günter Milde
4 % :Copyright: © 2013 G. Milde
5 % :License: Released under the terms of the `2-Clause BSD license`_, in short:
7 % Copying and distribution of this file, with or without modification,
8 % are permitted in any medium without royalty provided the copyright
9 % notice and this notice are preserved.
10 % This file is offered as-is, without any warranty.
12 % .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause
14 % Syntax highlight rules for LaTeX documents generated with Docutils
15 % using the ``--syntax-highlight=long`` option (new in v. 0.9).
17 % This stylesheet implements a very basic style with only few rules.
19 \newcommand\DUrolecomment[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
20 \newcommand\DUrolekeyword[1]{\textbf{#1}}
21 \newcommand\DUrolename[1]{\textcolor[rgb]{0.00,0.25,0.82}{#1}}
22 \newcommand\DUrolebuiltin[1]{\textbf{#1}}
23 \newcommand\DUrolestring[1]{\textit{#1}}
24 % \newcommand\DUroleoperator[1]{\textcolor[rgb]{0.72,0.53,0.04}{#1}}