[pstricks] Scaling angle label positions in pst-eucl

Hensh, Richard hensh at math.msu.edu
Sat Jan 23 14:39:37 CET 2010


Dear All,

What is the best way to scale angle marks and labels using the pst-eucl package? The following minimal example illustrates the issue. Notice how the `2' overlaps the angle mark in the second triangle. Suggestions?

\documentclass[10pt,dvips]{minimal}
\usepackage{pst-eucl}
\def\myTriangle{%
  \pstTriangle[linecolor=blue,linewidth=1.25pt](-4,0){A}(5,0){B}(5,4){C}%
  \pstMarkAngle[LabelSep=1.9,MarkAngleRadius=1.5,linecolor=gray]{B}{A}{C}{$24^{\circ}$}%
}
\begin{document}
\def\xmin{-5}\def\xmax{6}
\def\ymin{-1}\def\ymax{5}
  \psset{unit=10mm,PointSymbol=none,PointName={}}
  \begin{pspicture}(\xmin,\ymin)(\xmax,\ymax)%
    \myTriangle
  \end{pspicture}
  \smallskip

  \psset{unit=6mm}
  \begin{pspicture}(\xmin,\ymin)(\xmax,\ymax)%
    \myTriangle
  \end{pspicture}
\end{document}


thanks
ricky


More information about the PSTricks mailing list