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

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Aug 26 21:58:59 CEST 2016


Am 26.08.2016 um 04:22 schrieb Pablo González:
> Clearing my previous message (my English is not very good)
> "does not compile using xelatex"...

it is a problem with the buggy xdvipdfmx driver which
cannot handle nodes in a carrect way. Use instead

\usepackage{pst-eucl,pstricks-add,auto-pst-pdf}

and then

pdflatex --shell-escape <file>.tex

Herbert


>
> 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
>
>
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>



More information about the PSTricks mailing list