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

Pablo González pablgonz at yahoo.com
Sat Aug 27 18:04:49 CEST 2016


>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
Yes, I tried it with XeLaTeX (TeXLive 2015) and the same thing happens (I had a similar problem with pspicture * some years ago) ....

But my main question was the issue of double and triple-shaped arches macro (not to be repeating code).

Will it be possible to add the "\ MarcArcc" and "\ MarcArccc" command?

Perhaps I should ask the question in TeX.Sx instead of here? (I am not in favor of duplicate questions in forums to find an answer)

Anyway, any idea how to write this macro?
regards


Pablo
>
> 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}
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20160827/e2fc6e01/attachment.html>


More information about the PSTricks mailing list