summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung2/15-02-19.mp
blob: 62b93cec3895b3d185c692273d741577d47314d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  2. Auflage
%% 
%%  Beispiel 15-02-19 auf Seite 722.
%% 
%%  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
%% 
defaultfont:="ptmr8r";
warningcheck:=0;
% --- start of displayed preamble in the book ---

% --- end of displayed preamble in the book ---
% %
beginfig(1)
u=1.75cm;  pair A,B,C,AA,BB,CC,H;
A=origin; B=(3u,0.25u); C=(1u,2u);
AA = whatever [B,C]
   = whatever[A,A+((C-B) rotated 90)];
BB = whatever [A,C]
   = whatever[B,B+((C-A) rotated 90)];
CC = whatever [A,B]
   = whatever[C,C+((B-A) rotated 90)];
H = whatever [A,AA] = whatever [B,BB];
draw A--B--C--cycle;
draw A--AA dashed evenly scaled 0.75;
draw B--BB dashed evenly scaled 0.75;
draw C--CC dashed evenly scaled 0.75;
draw H withpen pencircle scaled 4bp;
endfig;
end;