[pstricks] Re: yingyang-sign in pstricks?

Denis Girou Denis.Girou at idris.fr
Tue Jun 4 20:32:32 CEST 2002


The following message is a courtesy copy of an article
that has been posted to comp.text.tex as well.

>>>>> "Wolfgang.May" == Wolfgang May <may at informatik.uni-freiburg.de> writes:

    Wolfgang.May> has anybody a pstricks source for a yingyang-symbol
    Wolfgang.May> (it should not be a single "letter", but a graphics that can be 
    Wolfgang.May> extended)?

  I have one done five years ago by Thomas Siegel, from Leipzig University
(at this time):

\documentclass[a4paper]{article}

\usepackage{multido}
\usepackage{pstricks}

\pagestyle{empty}

% From: Thomas Siegel <siegel at aix550.informatik.uni-leipzig.de>
% Date: Sat, 05 Jul 1997 13:13:03 +0200

\def\YingYang{%
\pspicture(4,4)
  \pscustom*{%
    \psarc(2,3){1}{270}{450}
    \psarc(2,2){2}{90}{270}
    \psarcn(2,1){1}{270}{450}}
  \psarc[linewidth=0.5\pslinewidth](2,2){2}{270}{450}
  \pscircle*(2,1){0.15}
  \pscircle*[linecolor=white](2,3){0.15}
\endpspicture}

\begin{document}

\multido{\nSize=0.1+0.1}{14}{{\psset{unit=\nSize}\YingYang}\hfill}

\end{document}


Denis Girou
-- 
--------------------------------------------------------------------------
Institut du Développement et des Ressources en Informatique Scientifique |
Centre National de la Recherche Scientifique                             |
Bâtiment 506 - B.P. 167 - 91403 Orsay Cedex - France                     |
--------------------------------------------------------------------------



More information about the PSTricks mailing list