diff --git a/documents/GeoTopo/Arbeitszeit.md b/documents/GeoTopo/Arbeitszeit.md index f6c2e16..ba5cc26 100644 --- a/documents/GeoTopo/Arbeitszeit.md +++ b/documents/GeoTopo/Arbeitszeit.md @@ -39,3 +39,4 @@ in dem Erstellen dieses Skripts steckt: |20.01.2014 | 20:00 - 20:15 | TikZ'en eines Bildes |21.01.2014 | 19:30 - 21:30 | Digitalisieren der Vorlesung von 21.01.2014 |22.01.2014 | 06:00 - 06:30 | TikZ'en eines Bildes +|22.01.2014 | 07:15 - 07:35 | TikZ'en eines Bildes diff --git a/documents/GeoTopo/GeoTopo.pdf b/documents/GeoTopo/GeoTopo.pdf index d052813..a2540e7 100644 Binary files a/documents/GeoTopo/GeoTopo.pdf and b/documents/GeoTopo/GeoTopo.pdf differ diff --git a/documents/GeoTopo/Kapitel4.tex b/documents/GeoTopo/Kapitel4.tex index a3c93d8..d5253c1 100644 --- a/documents/GeoTopo/Kapitel4.tex +++ b/documents/GeoTopo/Kapitel4.tex @@ -610,8 +610,8 @@ Sei im Folgenden \enquote{IWS} die \enquote{Innenwinkelsumme}. \begin{figure} \centering - \input{figures/todo.tex} - \caption{Bild 3} + \input{figures/triangle-similar.tex} + \caption{Die Dreiecke $\triangle ABC$ und $\triangle AB'C'$ sind ähnlich.} \label{fig:bild-3} \end{figure} diff --git a/documents/GeoTopo/figures/triangle-similar.tex b/documents/GeoTopo/figures/triangle-similar.tex new file mode 100644 index 0000000..695a03a --- /dev/null +++ b/documents/GeoTopo/figures/triangle-similar.tex @@ -0,0 +1,25 @@ +\begin{tikzpicture} + \tkzSetUpPoint[shape=circle,size=10,color=black,fill=black] + \tkzSetUpLine[line width=1] + \tkzDefPoints{0/0/A, 3/0/B', 2/2/C, 4/4/C'} + \tkzDefLine[parallel=through C](B',C') \tkzGetPoint{Phelper} + \tkzInterLL(A,B')(C,Phelper) \tkzGetPoint{B} + \tkzDrawLine[add=0 and 0.2](A,B') + \tkzDrawLine[add=0 and 0.2](A,C') + \tkzDrawSegment(B',C') + + \node at ($(A)+(-0.1,-0.2)$) {$A$}; + \node at ($(B')+(0.2,-0.2)$) {$B'$}; % \tkzLabelPoint[below](B){$B$} is not accurate enough + \node at ($(C')+(0,0.4)$) {$C'$}; + \node at ($(B)+(0.2,-0.2)$) {$B$}; + \node at ($(C)+(0.28,0.5)$) {$C$}; + \tkzDrawPolygon[ultra thick,color=blue,fill=blue!20](A,B',C') + \tkzDrawPolygon[line width=0.3pt,color=red,fill=red!20](A,B,C) + \tkzDrawPoints(A,B',C',B,C) + \tkzLabelSegment[below,red](A,B){$c$} + \tkzLabelSegment[left,red](A,C){$b$} + \tkzLabelSegment[right,red](B,C){$a$} + \tkzLabelSegment[below,blue,pos=0.8](A,B'){$c'$} + \tkzLabelSegment[left,blue,pos=0.8](A,C'){$b'$} + \tkzLabelSegment[right,blue](B',C'){$a'$} +\end{tikzpicture} diff --git a/tikz/rectangle-2/Makefile b/tikz/rectangle-2/Makefile new file mode 100644 index 0000000..142a62d --- /dev/null +++ b/tikz/rectangle-2/Makefile @@ -0,0 +1,31 @@ +SOURCE = triangle-similar +DELAY = 80 +DENSITY = 300 +WIDTH = 512 + +make: + pdflatex $(SOURCE).tex -output-format=pdf + make clean + +clean: + rm -rf $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot + +gif: + pdfcrop $(SOURCE).pdf + convert -verbose -delay $(DELAY) -loop 0 -density $(DENSITY) $(SOURCE)-crop.pdf $(SOURCE).gif + make clean + +png: + make + make svg + inkscape $(SOURCE).svg -w $(WIDTH) --export-png=$(SOURCE).png + +transparentGif: + convert $(SOURCE).pdf -transparent white result.gif + make clean + +svg: + #inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg + pdf2svg $(SOURCE).pdf $(SOURCE).svg + # Necessary, as pdf2svg does not always create valid svgs: + inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg diff --git a/tikz/rectangle-2/Readme.md b/tikz/rectangle-2/Readme.md new file mode 100644 index 0000000..8ed76b4 --- /dev/null +++ b/tikz/rectangle-2/Readme.md @@ -0,0 +1,3 @@ +Compiled example +---------------- +![Example](triangle-similar.png) diff --git a/tikz/rectangle-2/triangle-similar.png b/tikz/rectangle-2/triangle-similar.png new file mode 100644 index 0000000..c99060d Binary files /dev/null and b/tikz/rectangle-2/triangle-similar.png differ diff --git a/tikz/rectangle-2/triangle-similar.tex b/tikz/rectangle-2/triangle-similar.tex new file mode 100644 index 0000000..1c8f340 --- /dev/null +++ b/tikz/rectangle-2/triangle-similar.tex @@ -0,0 +1,32 @@ +\documentclass[varwidth=true, border=2pt]{standalone} +\usepackage{tikz} +\usepackage{tkz-euclide} + +\begin{document} +\usetkzobj{all} +\begin{tikzpicture} + \tkzSetUpPoint[shape=circle,size=10,color=black,fill=black] + \tkzSetUpLine[line width=1] + \tkzDefPoints{0/0/A, 3/0/B', 2/2/C, 4/4/C'} + \tkzDefLine[parallel=through C](B',C') \tkzGetPoint{Phelper} + \tkzInterLL(A,B')(C,Phelper) \tkzGetPoint{B} + \tkzDrawLine[add=0 and 0.2](A,B') + \tkzDrawLine[add=0 and 0.2](A,C') + \tkzDrawSegment(B',C') + + \node at ($(A)+(-0.1,-0.2)$) {$A$}; + \node at ($(B')+(0.2,-0.2)$) {$B'$}; + \node at ($(C')+(0,0.4)$) {$C'$}; + \node at ($(B)+(0.2,-0.2)$) {$B$}; + \node at ($(C)+(0.28,0.5)$) {$C$}; + \tkzDrawPolygon[ultra thick,color=blue,fill=blue!20](A,B',C') + \tkzDrawPolygon[line width=0.3pt,color=red,fill=red!20](A,B,C) + \tkzDrawPoints(A,B',C',B,C) + \tkzLabelSegment[below,red](A,B){$c$} + \tkzLabelSegment[left,red](A,C){$b$} + \tkzLabelSegment[right,red](B,C){$a$} + \tkzLabelSegment[below,blue,pos=0.8](A,B'){$c'$} + \tkzLabelSegment[left,blue,pos=0.8](A,C'){$b'$} + \tkzLabelSegment[right,blue](B',C'){$a'$} +\end{tikzpicture} +\end{document} diff --git a/tikz/rectangle/Readme.md b/tikz/rectangle/Readme.md new file mode 100644 index 0000000..b720393 --- /dev/null +++ b/tikz/rectangle/Readme.md @@ -0,0 +1,5 @@ +Compiled example +---------------- +![Example](rectangle-1.png) + +![Example](rectangle-2.png) diff --git a/tikz/rectangle/rectangle-1.png b/tikz/rectangle/rectangle-1.png new file mode 100644 index 0000000..760947f Binary files /dev/null and b/tikz/rectangle/rectangle-1.png differ diff --git a/tikz/rectangle/rectangle-2.png b/tikz/rectangle/rectangle-2.png new file mode 100644 index 0000000..0c12c6d Binary files /dev/null and b/tikz/rectangle/rectangle-2.png differ diff --git a/tikz/rectangle/rectangle-3.png b/tikz/rectangle/rectangle-3.png new file mode 100644 index 0000000..fd5274c Binary files /dev/null and b/tikz/rectangle/rectangle-3.png differ diff --git a/tikz/triangle-similar/Makefile b/tikz/triangle-similar/Makefile new file mode 100644 index 0000000..142a62d --- /dev/null +++ b/tikz/triangle-similar/Makefile @@ -0,0 +1,31 @@ +SOURCE = triangle-similar +DELAY = 80 +DENSITY = 300 +WIDTH = 512 + +make: + pdflatex $(SOURCE).tex -output-format=pdf + make clean + +clean: + rm -rf $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot + +gif: + pdfcrop $(SOURCE).pdf + convert -verbose -delay $(DELAY) -loop 0 -density $(DENSITY) $(SOURCE)-crop.pdf $(SOURCE).gif + make clean + +png: + make + make svg + inkscape $(SOURCE).svg -w $(WIDTH) --export-png=$(SOURCE).png + +transparentGif: + convert $(SOURCE).pdf -transparent white result.gif + make clean + +svg: + #inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg + pdf2svg $(SOURCE).pdf $(SOURCE).svg + # Necessary, as pdf2svg does not always create valid svgs: + inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg diff --git a/tikz/triangle-similar/Readme.md b/tikz/triangle-similar/Readme.md new file mode 100644 index 0000000..8ed76b4 --- /dev/null +++ b/tikz/triangle-similar/Readme.md @@ -0,0 +1,3 @@ +Compiled example +---------------- +![Example](triangle-similar.png) diff --git a/tikz/triangle-similar/triangle-similar.png b/tikz/triangle-similar/triangle-similar.png new file mode 100644 index 0000000..c99060d Binary files /dev/null and b/tikz/triangle-similar/triangle-similar.png differ diff --git a/tikz/triangle-similar/triangle-similar.tex b/tikz/triangle-similar/triangle-similar.tex new file mode 100644 index 0000000..1c8f340 --- /dev/null +++ b/tikz/triangle-similar/triangle-similar.tex @@ -0,0 +1,32 @@ +\documentclass[varwidth=true, border=2pt]{standalone} +\usepackage{tikz} +\usepackage{tkz-euclide} + +\begin{document} +\usetkzobj{all} +\begin{tikzpicture} + \tkzSetUpPoint[shape=circle,size=10,color=black,fill=black] + \tkzSetUpLine[line width=1] + \tkzDefPoints{0/0/A, 3/0/B', 2/2/C, 4/4/C'} + \tkzDefLine[parallel=through C](B',C') \tkzGetPoint{Phelper} + \tkzInterLL(A,B')(C,Phelper) \tkzGetPoint{B} + \tkzDrawLine[add=0 and 0.2](A,B') + \tkzDrawLine[add=0 and 0.2](A,C') + \tkzDrawSegment(B',C') + + \node at ($(A)+(-0.1,-0.2)$) {$A$}; + \node at ($(B')+(0.2,-0.2)$) {$B'$}; + \node at ($(C')+(0,0.4)$) {$C'$}; + \node at ($(B)+(0.2,-0.2)$) {$B$}; + \node at ($(C)+(0.28,0.5)$) {$C$}; + \tkzDrawPolygon[ultra thick,color=blue,fill=blue!20](A,B',C') + \tkzDrawPolygon[line width=0.3pt,color=red,fill=red!20](A,B,C) + \tkzDrawPoints(A,B',C',B,C) + \tkzLabelSegment[below,red](A,B){$c$} + \tkzLabelSegment[left,red](A,C){$b$} + \tkzLabelSegment[right,red](B,C){$a$} + \tkzLabelSegment[below,blue,pos=0.8](A,B'){$c'$} + \tkzLabelSegment[left,blue,pos=0.8](A,C'){$b'$} + \tkzLabelSegment[right,blue](B',C'){$a'$} +\end{tikzpicture} +\end{document}