# [pstricks] pscustom

Herbert Voss Herbert.Voss at gmx.net
Mon Jun 12 19:12:59 CEST 2006

pkg wrote:

> how can I achieve that the customs of a pscustom area are not visible?
> I tried setting the linestyle=none ... but this did not work. Here ist
> my code:
> ------------------------------------------------------------
> \pscustom[fillstyle=crosshatch*,fillcolor=black,
> hatchcolor=white,hatchwidth=2.5pt,hatchsep=0.7pt, hatchangle=0]
> {
> \psline[linestyle=none](0,2.3)(1.2335876,2.3)
> \psline[linestyle=none](1.2335876,2.3)(1.2335876,0)
> \psline[linestyle=none](1.2335876,0)(5,0)
> \psline[linestyle=none](5,0)(5,8)
> \psline[linestyle=none](5,8)(0,8)
> \psline[linestyle=none](0,8)(0,2.3)
> }
> -------------------------------------------------------------
>
> By the way, is there an easier method of filling the pscustom area with
> dots? The one I used above is the only one I could find (in the
> pstricks.pdf doc). fillstyle=dotted or something similar seems not to
> work ...

there are tons of examples at http://PSTricks.tug.org ...

with package multido:

\begin{pspicture}(5,8)
\psclip{\psline[linestyle=none]%
(0,2.3)(1.2335876,2.3)(1.2335876,0)(5,0)(5,8)(0,8)(0,2.3)}
\psset{unit=1pt}
\multido{\iA=2+6}{25}{%
\multido{\iB=2+6}{40}{\psdot[dotscale=0.8](\iA,\iB)}}
\endpsclip
\end{pspicture}

Herbert

--
http://PSTricks.de/
http://TeXnik.de/
http://www.dante.de/CTAN/info/math/voss/mathmode/Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes