%% %% Ein Beispiel der DANTE-Edition %% %% 7. Auflage %% %% Beispiel 35-00-70 auf Seite 846. %% %% 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{352.81416pt} \setlength\parindent{0pt} %StartShownPreambleCommands \usepackage{pstricks,pst-eucl} %StopShownPreambleCommands \begin{document} \psset{unit=2cm} \pspicture(-2.5,-2)(2,2.5) \pstTriangle[linewidth=1pt](-2,-1){A}(1,2){B}(2,0){C} % les médiatrices {% encapsulation de modif paramètres \psset{linestyle=none, PointSymbolB=none} \pstMediatorAB[PointNameB={}]{A}{B}{K}{KP}\uput{50pt}[-45](KP){KP} \pstMediatorAB[PointNameB={}]{C}{A}{J}{JP}\uput{-50pt}[100](JP){JP} \pstMediatorAB[PosAngleA=75,PointNameB={}]{B}{C}{I}{IP}\uput{-5pt}[210](IP){IP} }% fin \pstInterLL[PointSymbol=square, PosAngle=-170]{I}{IP}{J}{JP}{O} {% encapsulation de modif paramètres \psset{nodesep=-.8, linecolor=green} \pstLineAB{O}{I}\pstLineAB{O}{J}\pstLineAB{O}{K} }% fin \pstCircleOA[linecolor=red]{O}{A} % pour que le symbol de O soit sur et non sous les droites \psdot[dotstyle=square](O) % les hauteurs et l'orthocentre \pstProjection{B}{A}{C}{C'} \pstProjection{B}{C}{A}{A'} \pstProjection{A}{C}{B}{B'} \psset{linecolor=blue}\ncline{A}{A'}\ncline{C}{C'}\ncline{B}{B'} \pstInterLL[PointSymbol=square]{A}{A'}{B}{B'}{H} % les médianes et le centre de gravité \psset{linecolor=magenta}\ncline{A}{I}\ncline{C}{K}\ncline{B}{J} \pstCGravABC[PointSymbol=square, PosAngle=95]{A}{B}{C}{G} \endpspicture \end{document}