%%
%% A DANTE-Edition example
%%
%% Example 29-02-12 on page 570.
%%
%% Copyright (C) 2011 Herbert Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See
http://www.latex-project.org/lppl.txt for details.
%%
%%
%% ====
% Show page(s) 1
%%
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{129.70511pt}
\setlength\parindent{0pt}
\usepackage{pst-eucl}
\begin{document}
\psset{unit=.5}%
\begin{pspicture}(0,-2)(8,7)
\pstTriangle(1,3){B}(5,5){C}(4,1){A}
\pstOrtSym{A}{B}{C}[D] \psset{CodeFig=true}
\pstOrtSym[CodeFigColor=red]{C}{B}{A}
\pstOrtSym[SegmentSymbol=pstslash,dotsep=3mm,
linestyle=dotted,CodeFigColor=blue]{C}{A}{B}
\pspolygon[linestyle=dotted,linewidth=1pt](A')(B')(D)
\end{pspicture}
\end{document}