[pstricks] pst-eucl question -- labeling sides of a triangle

David Arnold dwarnold45 at suddenlink.net
Sun Apr 19 05:45:49 CEST 2009


All,

I would like to label the side of the right triangle produced by the  
code below with the lower case letter of the upper case letter  
marking the vertex directly opposite each side.

What's the best way to do this?

If I were just using nodes, I would:

\ncline{A}{B}
\nbput{$c$}

But I am not sure what to use when I am taking this pst-eucl approach.

What's the most efficient technique?

David


\documentclass{article}
\usepackage{pstricks,pst-eucl}

\begin{document}

\begin{center}
\begin{pspicture}(0,-0.2)(4,3.2)
\pstTriangle[PointSymbol=none,linecolor=blue](0,0){A}(4,3){B}(4,0){C}
\pstRightAngle[linecolor=blue]{A}{C}{B}
\end{pspicture}
\end{center}

\end{document}


More information about the PSTricks mailing list