summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/german/latex-tipps-und-tricks/mfpict.tex
blob: 11802ddd1c71a12592b8212a3aaa2929fafa36e9 (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
\documentclass[a4paper,12pt]{report}
\input mfpic
\begin{document}

\opengraphsfile{mfp}\mfpicunit=1mm

\begin{mfpic}[3]{0}{10}{-2}{10}
  \arrow\lines{(0,0),(0,10)}  \lines{(0,0),(10,0)}
  \xmarks{2,5,8}
  \shade\rect{(1,0),(3,5)}
  \rect{(4,0),(6,3)}
  \fill\rect{(7,0),(9,7)}
  \lines{(2,3),(3,2),(4,6),(5,7),(6,10),
         (7,8),(8,9)}
\end{mfpic}
%
\begin{mfpic}[7]{0}{10}{0}{7}
  \label[tr](1,1){[bl]}  \label[tl](9,1){[br]}
  \label[br](1,5){[tl]}  \label[bl](9,5){[tr]}
  \label[bc](5,5){[t]}
  \label[cc](5,3){\Large Text}
  \rect{(2,2), (8,4)}
  \point{(2,2), (8,2), (2,4), (5,4), (8,4)}
  \arrow\lines{(1,1),(2,2)}  \arrow\lines{(9,1),(8,2)}
  \arrow\lines{(1,5),(2,4)}  \arrow\lines{(9,5),(8,4)}
  \arrow\lines{(5,5),(5,4)}
\end{mfpic}
\closegraphsfile

\end{document}