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

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Sep 1 12:33:50 CEST 2016


Am 27.08.2016 um 18:04 schrieb Pablo González:

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

sure, I'll add it

Herbert


>
> 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}
>
>
> _______________________________________________
> 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