summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung/04-02-6.ltxps
blob: 86848327a4aee2a67367d859c5e38d814278d476 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  1. Auflage
%% 
%%  Beispiel 04-02-6 auf Seite 112.
%% 
%%  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[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
\StartShownPreambleCommands
\usepackage{layouts,graphicx,pstricks-add}
\StopShownPreambleCommands
\begin{document}
%\newlength{\pwlayi}
%\setlength{\pwlayi}{0.4375\textwidth}
%\newlength{\pwlayii}
%\setlength{\pwlayii}{0.5\pwlayi}
%\centering
%\begin{minipage}[b]{0.49\linewidth}
%DIV Breite Höhe oben außen innen unten
%9 140,00 198,00 33,00 46,67 23,33 66,00
\resizebox{\linewidth}{!}{%
\psset{xunit=23.3333pt,yunit=33pt}
\begin{pspicture}(18,9)
\psgrid[gridcolor=black!20,subgriddiv=0,gridlabels=0pt](0,0)(18,9)
\psframe(9,9)\psframe(9,0)(18,9)
\psframe*[linecolor=black!30](2,2)(8,8)
\psframe*[linecolor=black!30](10,2)(16,8)
\psline(0,0)(9,9)\psline(0,0)(18,9)
\psline(0,9)(18,0)\psline(9,9)(18,0)
\psIntersectionPoint(0,0)(18,9)(9,9)(18,0){IPb}
\psIntersectionPoint(0,9)(18,0)(0,0)(9,9){IPa}
\psIntersectionPoint(IPa)(IPb|0,0)(IPb)(IPa|0,0){IPaa}
\psIntersectionPoint(IPa)(IPb|0,9)(IPb)(IPa|0,9){IPbb}
\pspolygon[linestyle=dashed](IPa)(IPa|0,9)(IPbb)(IPb|0,9)(IPb|0,0)(IPaa)(IPa|0,0)
\pspolygon[linestyle=dotted](IPa)(IPbb)(IPb)(IPaa)
\pcline{<->}(0,0|IPa)(2,0|IPa)\ncput*{4}
\pcline{<->}(8,0|IPa)(9,0|IPa)\ncput*{2}
\pcline{<->}(4,9)(4,8)\ncput*{3}
\pcline{<->}(4,0)(4,2)\ncput*{6}
\end{pspicture}}
\end{document}