[pstricks] pst-fill and pst-gr3d
Herbert Voss
Herbert.Voss at alumni.TU-Berlin.DE
Mon Apr 26 16:02:47 CEST 2004
Hello,
there is a problem when using the pst-fill and pst-gr3d package
with the debug option, which is defined by both packages, but
in a different way. Without the modification between the
\makeatletter .. \makeatother this option only works
for the last loaded package.
Herbert
\documentclass{article}
\usepackage[tiling]{pst-fill}
\usepackage{pst-gr3d}
\SpecialCoor
\pagestyle{empty}
\parindent=0pt
\makeatletter
\def\psset at PstDebug#1{%
\pst at getint{#1}{\Pst at Debug}%
\let\psk at PstDebug\Pst at Debug%
}
\psset{PstDebug=0}
\makeatother
\begin{document}
\psset{griddots=10,subgriddiv=0,gridlabels=7pt}
\PstGridThreeD(3,1,1)
\PstGridThreeD[linecolor=black,PstDebug=1](3,1,1)
\def\HRadius{0.25}%
\newcommand\FHexagon{%
\begin{pspicture}(0.433,0.375)%
\pspolygon(\HRadius;30)(\HRadius;90)%
(\HRadius;150)(\HRadius;210)(\HRadius;270)(\HRadius;330)%
\end{pspicture}}
\psboxfill{\FHexagon}
\psset{linecolor=red,fillstyle=boxfill,PstDebug=1}
\begin{pspicture}(-0.5,-0.5)(2.5,2.5)
\psframe(2,2)
\end{pspicture}\\[-10pt]
\begin{pspicture}(-0.5,-0.5)(2.5,2.5)
\psframe[fillcyclex=2](2,2)
\end{pspicture}
\psset{fillcyclex=2}
\begin{pspicture}(-0.5,-0.5)(2.5,2.5)
\psframe[fillloopaddy=1](2,2)
\end{pspicture}\\[5pt]
\begin{pspicture}(-0.5,-0.5)(2.5,2.5)
\psframe[fillloopadd=1](2,2)
\end{pspicture}
\end{document}
More information about the PSTricks
mailing list