[Tugindia] Smiley Correction

E. Krishnan ekmath at md5.vsnl.net.in
Thu May 29 23:40:19 CEST 2003



A small (!) correction in the code for Smiley posted by me. It should be

	\newcommand{\smiley}[1][3]{%
	\enspace
  	{\psset{unit=#1mm,dotsize=0 2}
  	\pspicture[0.3](-1,-1)(1,1)
  	\pscircle(0,0){1}
  	\SpecialCoor
  	\psdots(0.5;30)(0.5;150)
  	\psarc(0,0){0.5}{200}{340}
  	\endpspicture}
  	\enspace}

Without the enclosing braces, the values of the parameters set by "\psset" 
command will leak out. Sorry for the oversight. 

-- 
Krishnan






More information about the Tugindia mailing list