[pstricks] PSTricks reference manual

Herbert Voss LaTeX at zedat.fu-berlin.de
Fri Jun 24 16:58:01 CEST 2005


Bitouzé Denis wrote:

>>>in order to write some lessons on PSTricks, I'd like to use the listings
>>>package in order to make more readable the pstricks code examples. But
>>>PSTricks is not already defined in listings package. So I'd like, in
>>
>>
>>I created one some time ago. It is attached, replace it with
>>thew existing file in the listings directory
>>
>>I used it as
>>\lstset{language=[PSTricks]TeX,moredelim=**[is][\bf\color{blue}]{}{}}
> 
> 
> OK, thanks a lot. What about parameters? I would have add something like:

feel free ...
but then nearly everything is highlited :-)

Herbert


> 
> % keywords[1] = PSTricks primitives
> morekeywords={pspicture},
> % keywords[2] = Parameters (from Index User's manual)
> morekeywords=[2]{Dx,Dy,Ox,Oy,angleA,angleB,angle,arcangleA,arcangleB,%
>    arcangle,arcsepA,arcsepB,arcsep,armA,armB,arm,arrowinset,arrowlength,%
> arrowscale,arrowsize,arrows,axesstyle,bbllx,bblly,bburx,bbury,%
> bordercolor,border,boxsep,bracketlength,coilarmA,coilarmB,coilarm,%
> coilaspect,coilheight,coilinc,coilwidth,cornersize,curvature,dashed,%
> dash,dimen,dotangle,dotscale,dotsep,dotsize,dotstyle,dotted,%
> doublecolor,doubleline,doublesep,dx,dy,fillcolor,fillstyle,framearc,%
> framesep,gradangle,gradbegin,gradend,gradlines,gradmidpoint,gridcolor,%
> griddots,gridlabelcolor,gridlabels,gridwidth,hatchangle,hatchcolor,%
> hatchsep,hatchwidth,headerfile,headers,labelsep,labels,liftpen,linearc,%
> linecolor,linestyle,linetype,linewidth,loopsize,ncurv,nodesepA,nodesep,%
> offset,origin,oy,plotpoints,plotstyle,pspicture,rbracketlength,rectarc,runit,%
> shadowangle,shadowcolor,shadowsize,shadow,showorigin,showpoints,style,%
> subgridcolor,subgriddiv,subgriddots,subgridwidth,swapaxes,tbarsize,%
> ticksize,tickstyle,ticks,unit,xunit,yunit},%
> 





More information about the PSTricks mailing list