[pstricks] Rv: pst-eucl and double arc option

Pablo González pablgonz at yahoo.com
Fri Aug 26 04:22:44 CEST 2016


Clearing my previous message (my English is not very good)"does not compile using xelatex"...

   
Hello everyone, I'm trying to add a few decorations to segments and anlge arcs using the pst-eucl package.
I have managed to add the arrow marks for segments (>, >>, >>>), but I have not had luck with add marks double and triple for angles arcs, without having to be repeating the coomo code I do so far.How do I define the "\MarcArcc" and "\MarcArccc" command or "Mark = double", "Mark = triple"?
or maybe you can add a new option in the package?
This is the file MWE (whit latex>dvips>ps2pdf)

\documentclass{article}
\usepackage{pst-eucl,pstricks-add}
% MarkArrow >
\def\MarkArrow{%
\psset{linestyle=none,veearrowlength=\psMarkHashLength,veearrowangle = 90,veearrowlinewidth=\pslinewidth}%
     \psline[ArrowInside=-v](-\psMarkHashLength,0)(\psMarkHashLength,0)%
        }%
% MarkArroww >>
\def\MarkArroww{%
\psset{linestyle=none,veearrowlength=\psMarkHashLength,veearrowangle = 90,veearrowlinewidth=\pslinewidth}%
     \psline[ArrowInsideNo=2,ArrowInside=-v](-2\psMarkHashLength,0)(2\psMarkHashLength,0)%
        }%
% MarkArrowww >>>
\def\MarkArrowww{%
\psset{linestyle=none,veearrowlength=\psMarkHashLength,veearrowangle = 90,veearrowlinewidth=\pslinewidth}%
     \psline[ArrowInsideNo=3,ArrowInside=-v](-2.5\psMarkHashLength,0)(2.5\psMarkHashLength,0)%
        }%
\begin{document} 

\begin{pspicture}(0,0)(4.6,3.5)
\psset{PointNameSep=8pt,PointSymbol=none,MarkHashLength=0.9mm,MarkAngle=90,MarkAngleRadius=0.7,LabelSep=0.4,linewidth=0.6pt}
\scriptsize
% nodes
\pstGeonode[PosAngle={-90,90,-90}](0.5,0.5){A}(1.5,3){B}(4.5,0.5){C}
% segments
\pstSegmentMark[SegmentSymbol=MarkArrow]{A}{C} % >
\nbput{$b$}
\pstSegmentMark[SegmentSymbol=MarkArroww]{B}{C} % >>
\naput{$a$}
\pstSegmentMark[SegmentSymbol=MarkArrowww]{A}{B} % >>>
\naput{$c$}
% angles
\pstMarkAngle{A}{B}{C}{$\phi$}% normal )
\pstMarkAngle[MarkAngleRadius=0.65]{A}{B}{C}{}% double ))
\pstMarkAngle[MarkAngleRadius=0.60]{A}{B}{C}{}% triple )))
\pstMarkAngle[Mark=MarkHashh,LabelSep=0.45]{B}{C}{A}{$\beta$}% ||
\pstMarkAngle[Mark=MarkHashhh]{C}{A}{B}{$\gamma$}% |||
\end{pspicture}

\end{document}

Besides, does not compile using xelatex, why? (in windows show: GPL Ghostscript 9.19: Unrecoverable error, exit code 1, and disturbing position for MarkHashh).
I'm using TeXLive 2016 (updated) under Windows and Linux.
Grateful
Pablo


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


More information about the PSTricks mailing list