summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/disk.mp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-19 18:54:54 +0000
committerKarl Berry <karl@freefriends.org>2009-05-19 18:54:54 +0000
commit2d248026682e0a02fa2b004a0ad2f13f57d8535c (patch)
tree7088bbd745de030191c2d843c4b3f4d9d5c46d91 /Master/texmf-dist/doc/latex/latex-tipps-und-tricks/disk.mp
parenteecee5a57aa7fbeb22e0df8440fb3b06c5117fc7 (diff)
move german latex docs out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13264 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/disk.mp')
-rw-r--r--Master/texmf-dist/doc/latex/latex-tipps-und-tricks/disk.mp29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/disk.mp b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/disk.mp
new file mode 100644
index 00000000000..8a5d5d1c74b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/disk.mp
@@ -0,0 +1,29 @@
+u=1cm;
+
+beginfig(1);
+r=3;
+path p[], is;
+% grau markierter Kreisring
+p[1] :=
+ (0.5r*u,0)..(0,0.5r*u)..(-0.5r*u,0)..(0,-0.5r*u)..cycle;
+p[2] :=
+ (0.6r*u,0)..(0,0.6r*u)..(-0.6r*u,0)..(0,-0.6r*u)..cycle;
+fill p2 withcolor 0.5white; unfill p1;
+% dunkelgrauer Kreissektor von 110 bis 160 Grad
+p3 := (0,0)--(r*u,0) rotated 110;
+p4 := (0,0)--(r*u,0) rotated 160;
+is := buildcycle(p1,p3,p2,p4);
+fill is withcolor 0.3white;
+% äußere und innere Ringe
+draw (r*u,0)..(0,r*u)..(-r*u,0)..(0,-r*u)..cycle;
+draw (0.1r*u,0)..(0,0.1r*u)..(-0.1r*u,0)..
+ (0,-0.1r*u)..cycle;
+draw p1; draw p2;
+% Beschriftung
+z1=(0.9r*u,0.8r*u); z2=(-0.7r*u,0.8r*u);
+drawarrow z1{left}--(0.6*r*u,0) rotated 45;
+drawarrow z2--(0.6*r*u,0) rotated 130;
+label.urt("Spur",z1);
+label.ulft("Sektor",z2);
+endfig;
+end;