Example stylesheets for syntax highlight of code snippets.
[docutils/kirr.git] / sandbox / stylesheets / pygments-long.sty
blob103aa2988cda7aa9708f7dd36ca9ee37f93def75
1 /* example stylesheet for Docutils */
3 /* :Author: Günter Milde */
4 /* :Copyright: © 2012 G. Milde */
5 /* :License: This stylesheet is placed in the public domain. */
7 /* Syntax highlight rules for LaTeX documents generated with Docutils */
8 /* using the ``--syntax-highlight=long`` option (new in v. 0.9). */
10 /* This stylesheet implements a very basic style with only few rules. */
12 \newcommand\DUrolecomment[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
13 \newcommand\DUrolekeyword[1]{\textbf{#1}}
14 \newcommand\DUrolename[1]{\textcolor[rgb]{0.00,0.25,0.82}{#1}}
15 \newcommand\DUrolebuiltin[1]{\textbf{#1}}
16 \newcommand\DUrolestring[1]{\textit{#1}}
17 % \newcommand\DUroleoperator[1]{\textcolor[rgb]{0.72,0.53,0.04}{#1}}