[pstricks] How work psdiabox, pstriabox, psovalbox and pscircle

Herbert Voss LaTeX at zedat.fu-berlin.de
Wed Jul 12 13:14:59 CEST 2006

Arno Blouin wrote:

> Look at this exemple:
> \begin{pspicture}(0,-4.78)(12.72,4.78)
> \rput(0.3,-4.5){\psgrid(0,0)(0,0)(12,9)}
> \usefont{T1}{ptm}{m}{n}
> \rput(5.820781,2.51){\psdiabox[linewidth=0.6,framesep=0]{coucoucou}}
> \rput(5.820781,1.01){\psdiabox[linewidth=0.02,framesep=0]{coucou}}
> \rput(5.820781,0.21){\psdiabox[linewidth=0.2,framesep=0]{coucou}}
> \rput(5.820781,-1.39){\psdiabox[linewidth=1.0,framesep=0]{coucou}}
> \rput(5.8007812,-3.37){\psdiabox[linewidth=0.6,framesep=0]{coucou}}
> \end{pspicture}
> I want to know how the height and the width of these 
> rhombus are computed given a text of width 'w' and of 
> height 'h'. The thickness seems to play a part.

search for psdiabox in pstricks.tex ...


More information about the PSTricks mailing list