2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00
LaTeX-examples/tikz/arbelos/arbelos.tex

43 lines
947 B
TeX
Raw Permalink Normal View History

2012-08-09 07:04:38 +02:00
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\begin{document}
\begin{preview}
\begin{tikzpicture}
% Draw A
\coordinate[label=left:$A$] (A) at (0,0);
2012-08-09 07:04:38 +02:00
% Draw the Arbelos
\begin{scope}[shift={(4,0)}, scale=4]
\draw[fill=green!30, thick](-1,0)
arc (180:0:1)
arc (0:180:0.25)
2012-08-09 07:04:38 +02:00
arc (0:180:0.75);
\end{scope}
\begin{scope}[shift={(4,0)}]
% Draw D
\coordinate[label=below:$D$] (D) at (2,0);
% Perpendicular CD
\draw[thick] (2,0) -- node[] {} (2,3.47);
% Draw C
\coordinate[label=above:$C$] (C) at (2,3.47);
\end{scope}
% Draw B
\coordinate[label=below:$B$] (B) at (8,0);
% Cirlce CD
\draw[thick] (6,1.735) circle (1.735cm);
% Bottom line AB
\draw[thick] (0,0) -- node[] {} (8,0);
\end{tikzpicture}
\end{preview}
\end{document}