[pstricks] uput behaving badly?

halbard7 at aol.com halbard7 at aol.com
Wed Nov 24 23:32:06 CET 2010


 

 Dear Herbert

Can you tell what is wrong with this code?

\documentclass{article}
\usepackage{pstricks}

\listfiles

\def\deg{{}^{\circ}}

\begin{document}

\begin{center}
\psset{unit=2cm}
\begin{pspicture}(-2,-2.2)(2,2.2)
 \SpecialCoor
 \pswedge{2}{-5}{95}
 \pswedge{2}{95}{155}
 \pswedge{2}{155}{225}
 \pswedge{2}{225}{260}
 \pswedge{2}{260}{305}
 \pswedge{2}{305}{355}
 \uput[45](.07;60){\small $100\deg$}
 \uput[45](1;45){Spain}
 \uput[125](.2;115){\small $60\deg$}
 \uput[125](1;115){France}
 \uput[190](.8;190){Greece}
 \uput[247](.5;247){\small $35\deg$}
 \uput[235](1.2;238){\parbox{.5cm}{Yugo\-slavia}}
 \uput[280](.4;285){\small $45\deg$}
 \uput[280](1.2;280){Italy}
 \uput[330](.2;330){\small $50\deg$}
 \uput[330](.8;330){\parbox{2cm}{Other\\ countries}}
\end{pspicture}
\end{center}

\end{document}

pstricks.sty    2010/09/18 v0.47 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2010/11/14 v2.14 `PSTricks' (tvz,hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
  pst-fp.tex    2010/11/14 v2.14 `PST-fp' (hv)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
 ***********

As you can see, some angles seem to be truncated, appearing at the origin separated by semicolons. Most peculiar.

The format \uput{1}[125](0,0){France} works fine, but in polar coordinates all seems to go wrong. Am I being stupid?

Thanks

Gerry Coombes

PS(tricks): I have purchased your book "Typesetting mathematics with LaTeX" (which is jolly good) and look forward to the imminent release of the others in the series.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20101124/c83c4cc6/attachment.html>


More information about the PSTricks mailing list