%%
%% Ein Beispiel der DANTE-Edition
%%
%% 2. Auflage
%%
%% Beispiel 15-03-27 auf Seite 759.
%%
%% Copyright (C) 2016 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[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{145.16928pt}
\setlength\parindent{0pt}
\usepackage[utf8]{inputenc}
%StartShownPreambleCommands
\usepackage{pst-eucl}
%StopShownPreambleCommands
\begin{document}
\psset{unit=0.4}%
\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}