[pstricks] almost closed c with pstricks

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Jul 17 05:49:06 CEST 2010


Am 16.07.2010 20:00, schrieb mathias legrand:

> is there a specific known manner to create example 53 (beginfig(53))
> of the following webpage :
> http://zoonek.free.fr/LaTeX/Metapost/metapost.html
> with pstricks. I know how to draw it with some personal tricks but I feel
> there is much better.

\documentclass{article}
\parindent0pt
\pagestyle{empty}
\usepackage{pstricks}

\begin{document}
\begin{pspicture}(-2,-2)(2,2)
\pscustom[fillstyle=eofill,fillcolor=blue!30]{%
  \psarc(0,0){2}{2}{358}
  \psline(2,-0.05)(0.5,-0.05)
  \psarcn(0,0){0.5}{352}{8}
  \psline(0.5,0.05)(2,0.05)
}
\end{pspicture}
\end{document}

Herbert



More information about the PSTricks mailing list