% pygments-default.sty % ******************** % % Stylesheet for pygments enhanced reStructured Text % ================================================== % % :Author: Günter Milde % :Contact: milde@users.berlios.de % :Revision: $Revision: 5534 $ % :Date: $Date: 2005-06-28$ % :Copyright: © 2007, 2009 G. Milde, % Released without warranties or conditions of any kind % under the terms of the Apache License, Version 2.0 % http://www.apache.org/licenses/LICENSE-2.0 % % This example style sheet provides syntax highlight for documents generated % with the legacy front end `rst2latex-pygments`.. % % (For the recommended front end `rst2latex-highlight` use % ``pygments-docutilesroles.sty``.) % % Separate paragraphs by vertical space % ------------------------------------- % % This is not needed for syntax highlight, but usually a good idea for % documents with lots of source code. % :: \usepackage{parskip} % Colour code blocks % ------------------ % % Pygments has an option to generate stylesheets for html and latex. % The following code is based on the output of the command % `pygmentize -S default -f latex`:: \usepackage{fancyvrb} \usepackage{color} \newcommand\at{@} \newcommand\lb{[} \newcommand\rb{]} \newcommand\PYba[1]{\textcolor[rgb]{0.67,0.13,1.00}{\textbf{#1}}} \newcommand\PYaz[1]{\textcolor[rgb]{0.00,0.25,0.82}{#1}} \newcommand\PYay[1]{\textcolor[rgb]{0.67,0.13,1.00}{#1}} \newcommand\PYax[1]{\textcolor[rgb]{0.00,0.63,0.00}{#1}} \newcommand\PYbc[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} \newcommand\PYas[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} \newcommand\PYar[1]{\textcolor[rgb]{0.72,0.53,0.04}{#1}} \newcommand\PYaq[1]{\textcolor[rgb]{0.73,0.27,0.27}{\textit{#1}}} \newcommand\PYap[1]{\textcolor[rgb]{0.72,0.53,0.04}{#1}} \newcommand\PYaw[1]{\textcolor[rgb]{0.67,0.13,1.00}{\textbf{#1}}} \newcommand\PYav[1]{\textcolor[rgb]{0.60,0.60,0.60}{\textbf{#1}}} \newcommand\PYau[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} \newcommand\PYat[1]{\textcolor[rgb]{0.67,0.13,1.00}{\textbf{#1}}} \newcommand\PYak[1]{\textbf{#1}} \newcommand\PYaj[1]{\textcolor[rgb]{0.73,0.40,0.53}{#1}} \newcommand\PYai[1]{\textcolor[rgb]{0.72,0.53,0.04}{#1}} \newcommand\PYah[1]{\textcolor[rgb]{0.63,0.63,0.00}{#1}} \newcommand\PYao[1]{\textcolor[rgb]{0.53,0.00,0.00}{#1}} \newcommand\PYan[1]{\textcolor[rgb]{0.00,0.50,0.00}{#1}} \newcommand\PYam[1]{\textcolor[rgb]{0.73,0.40,0.13}{\textbf{#1}}} \newcommand\PYal[1]{\textcolor[rgb]{0.67,0.13,1.00}{\textbf{#1}}} \newcommand\PYac[1]{\textcolor[rgb]{0.73,0.27,0.27}{#1}} \newcommand\PYab[1]{\textit{#1}} \newcommand\PYaa[1]{\textcolor[rgb]{0.50,0.50,0.50}{#1}} \newcommand\PYag[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} \newcommand\PYaf[1]{\textcolor[rgb]{0.00,0.53,0.00}{\textit{#1}}} \newcommand\PYae[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} \newcommand\PYad[1]{\textcolor[rgb]{0.73,0.27,0.27}{#1}} \newcommand\PYbb[1]{\textcolor[rgb]{0.73,0.27,0.27}{#1}} \newcommand\PYaZ[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} \newcommand\PYaY[1]{\textcolor[rgb]{0.00,0.00,0.50}{\textbf{#1}}} \newcommand\PYaX[1]{\textcolor[rgb]{0.00,0.50,0.00}{\textbf{#1}}} \newcommand\PYbd[1]{\textcolor[rgb]{0.73,0.40,0.53}{\textbf{#1}}} \newcommand\PYbe[1]{\textcolor[rgb]{0.67,0.13,1.00}{\textbf{#1}}} \newcommand\PYaS[1]{\textcolor[rgb]{0.82,0.25,0.23}{\textbf{#1}}} \newcommand\PYaR[1]{\textcolor[rgb]{0.50,0.00,0.50}{\textbf{#1}}} \newcommand\PYaQ[1]{\textcolor[rgb]{0.00,0.53,0.00}{\textit{#1}}} \newcommand\PYaP[1]{\textcolor[rgb]{0.72,0.53,0.04}{#1}} \newcommand\PYaW[1]{\textcolor[rgb]{0.73,0.27,0.27}{#1}} \newcommand\PYaV[1]{\textcolor[rgb]{0.67,0.13,1.00}{#1}} \newcommand\PYaU[1]{\textcolor[rgb]{0.73,0.27,0.27}{#1}} \newcommand\PYaT[1]{\textcolor[rgb]{0.00,0.00,1.00}{\textbf{#1}}} \newcommand\PYaK[1]{\textcolor[rgb]{0.00,0.53,0.00}{#1}} \newcommand\PYaJ[1]{\textcolor[rgb]{0.67,0.13,1.00}{#1}} \newcommand\PYaI[1]{\textcolor[rgb]{0.00,0.63,0.00}{#1}} \newcommand\PYaH[1]{\textcolor[rgb]{0.73,0.27,0.27}{#1}} \newcommand\PYaO[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}} \newcommand\PYaN[1]{\textcolor[rgb]{0.73,0.27,0.27}{#1}} \newcommand\PYaM[1]{\textcolor[rgb]{0.00,0.00,0.50}{\textbf{#1}}} \newcommand\PYaL[1]{\textcolor[rgb]{0.00,0.00,1.00}{#1}} \newcommand\PYaC[1]{\textcolor[rgb]{0.63,0.00,0.00}{#1}} \newcommand\PYaB[1]{\textcolor[rgb]{0.00,0.53,0.00}{\textit{#1}}} \newcommand\PYaA[1]{\textcolor[rgb]{0.67,0.13,1.00}{#1}} \newcommand\PYaG[1]{\textcolor[rgb]{0.67,0.13,1.00}{\textbf{#1}}} \newcommand\PYaF[1]{\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{#1}} \newcommand\PYaE[1]{\textcolor[rgb]{0.72,0.53,0.04}{#1}} \newcommand\PYaD[1]{\textcolor[rgb]{1.00,0.00,0.00}{#1}}