Bladeren bron

Bilder geTikZt

Martin Thoma 11 jaren geleden
bovenliggende
commit
4939db4a5a

+ 1 - 1
documents/GeoTopo/Arbeitszeit.md

@@ -34,4 +34,4 @@ in dem Erstellen dieses Skripts steckt:
 |16.01.2014 | 12:15 - 12:30 | Verbesserung an 2 Bildern
 |16.01.2014 | 12:45 - 13:30 | TikZ'en eines Bildes
 |16.01.2014 | 17:00 - 19:30 | Digitalisieren der Vorlesung von 14.01.2014
-|16.01.2014 | 21:30 -       | TikZ'en von Bildern
+|16.01.2014 | 21:30 - 23:50 | TikZ'en von Bildern

BIN
documents/GeoTopo/GeoTopo.pdf


+ 3 - 17
documents/GeoTopo/Kapitel4.tex

@@ -453,7 +453,7 @@ schneiden sich.
 
 \begin{figure}[htp]
     \centering
-    \input{figures/todo.tex}
+    \input{figures/geometry-9.tex}
     \caption{Situation aus \cref{kor:14.9}}
     \label{fig:bem.14.9}
 \end{figure}
@@ -490,20 +490,6 @@ schneiden sich.
     Halbebene bzgl. $PQ$ liegt wie $R$.
 \end{folgerung}
 
-\begin{figure}[ht]
-    \centering
-    \subfloat[Situation aus \cref{folgerung:14.10} (Bild 8)]{
-        \input{figures/todo.tex}
-        \label{fig:bem.14.9.1}
-    }%
-    \subfloat[Situation aus \cref{folgerung:14.10} (Bild 9)]{
-        \input{figures/todo.tex}
-        \label{fig:bem.14.9.2}
-    }
-    \label{fig:14.10.0}
-    \caption{Situation aus \cref{folgerung:14.10}}
-\end{figure}
-
 \begin{beweis}
     Die Summe eines Innenwinkels mit den anliegenden Außenwinkeln ist
     $\pi$, d.~h. die beiden Halbgeraden bilden eine Gerade.
@@ -532,8 +518,8 @@ Sei im Folgenden \enquote{IWS} die \enquote{Innenwinkelsumme}.
             \input{figures/three-angles.tex}
             \label{fig:prop14.11.1}
         }%
-        \subfloat[Situation aus \cref{prop:14.11} (Bild 12)]{
-            \input{figures/todo.tex}
+        \subfloat[Situation aus \cref{prop:14.11}]{
+            \input{figures/geometry-8.tex}
             \label{fig:prop14.11.2}
         }
         \label{fig:prop14.11.0}

+ 15 - 0
documents/GeoTopo/figures/geometry-8.tex

@@ -0,0 +1,15 @@
+\begin{tikzpicture}
+    \tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
+    \tkzSetUpLine[line width=1]
+    \tkzDefPoints{0/0/A, 4/0/B, 2/2/C, 6/2/D}
+
+    \tkzMarkAngle[arc=l,size=0.8cm,color=green,fill=green!20](B,A,C)
+    \path[draw] ++(25:.3) node[rotate=0] {$\alpha$};
+    \node at (1,1.5) {$\beta$};
+    \tkzDrawSegments(A,B A,C A,D B,C C,D)
+    \tkzDrawPoints(A,B,C,D)
+    \tkzLabelPoint[below left](A){$A$}
+    \tkzLabelPoint[below right](B){$B$}
+    \tkzLabelPoint[above left](C){$C$}
+    \tkzLabelPoint[above right](D){$D$}
+\end{tikzpicture}

+ 19 - 0
documents/GeoTopo/figures/geometry-9.tex

@@ -0,0 +1,19 @@
+\begin{tikzpicture}
+    \tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
+    \tkzSetUpLine[line width=1]
+    \tkzDefPoints{-1/0/Q, 0/0/M, 0/-2/A, 0/2/P, 1/0/R, -1.2/-0.5/helper}
+    \tkzFillPolygon[color = green!10](Q,M,A)
+    \tkzFillPolygon[color = green!10](M,P,R)
+    \tkzMarkAngle[arc=l,size=0.4cm,color=red,fill=red!20](P,R,M)
+    \tkzMarkAngle[arc=lll,size=0.4cm,color=green,fill=green!20](helper,Q,M)
+    %\path[draw] ++(25:.3) node[rotate=0] {$\alpha$};
+    %\node at (1,1.5) {$\beta$};
+    \tkzDrawSegments(Q,A)
+    \tkzDrawLines(Q,R A,P Q,P P,R)
+    \tkzDrawPoints(Q,M,A,P,R)
+    \tkzLabelPoint[below left](Q){$Q$}
+    \tkzLabelPoint[below right](M){$M$}
+    \tkzLabelPoint[above left](A){$A$}
+    \tkzLabelPoint[above right](P){$P$}
+    \tkzLabelPoint[above right](R){$R$}
+\end{tikzpicture}

+ 31 - 0
tikz/geometry-8/Makefile

@@ -0,0 +1,31 @@
+SOURCE  = geometry-8
+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

+ 3 - 0
tikz/geometry-8/Readme.md

@@ -0,0 +1,3 @@
+Compiled example
+----------------
+![Example](geometry-8.png)

BIN
tikz/geometry-8/geometry-8.png


+ 21 - 0
tikz/geometry-8/geometry-8.tex

@@ -0,0 +1,21 @@
+\documentclass[varwidth=true, border=2pt]{standalone}
+\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, 4/0/B, 2/2/C, 6/2/D}
+
+    \tkzMarkAngle[arc=l,size=0.8cm,color=green,fill=green!20](B,A,C)
+    \path[draw] ++(25:.3) node[rotate=0] {$\alpha$};
+    \node at (1,1.5) {$\beta$};
+    \tkzDrawSegments(A,B A,C A,D B,C C,D)
+    \tkzDrawPoints(A,B,C,D)
+    \tkzLabelPoint[below left](A){$A$}
+    \tkzLabelPoint[below right](B){$B$}
+    \tkzLabelPoint[above left](C){$C$}
+    \tkzLabelPoint[above right](D){$D$}
+\end{tikzpicture}
+\end{document}

+ 31 - 0
tikz/geometry-9/Makefile

@@ -0,0 +1,31 @@
+SOURCE  = geometry-9
+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

+ 3 - 0
tikz/geometry-9/Readme.md

@@ -0,0 +1,3 @@
+Compiled example
+----------------
+![Example](geometry-9.png)

BIN
tikz/geometry-9/geometry-9.png


+ 25 - 0
tikz/geometry-9/geometry-9.tex

@@ -0,0 +1,25 @@
+\documentclass[varwidth=true, border=2pt]{standalone}
+\usepackage{tkz-euclide}
+
+\begin{document}
+\usetkzobj{all}
+\begin{tikzpicture}
+    \tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
+    \tkzSetUpLine[line width=1]
+    \tkzDefPoints{-1/0/Q, 0/0/M, 0/-2/A, 0/2/P, 1/0/R, -1.2/-0.5/helper}
+    \tkzFillPolygon[color = green!10](Q,M,A)
+    \tkzFillPolygon[color = green!10](M,P,R)
+    \tkzMarkAngle[arc=l,size=0.4cm,color=red,fill=red!20](P,R,M)
+    \tkzMarkAngle[arc=lll,size=0.4cm,color=green,fill=green!20](helper,Q,M)
+    %\path[draw] ++(25:.3) node[rotate=0] {$\alpha$};
+    %\node at (1,1.5) {$\beta$};
+    \tkzDrawSegments(Q,A)
+    \tkzDrawLines(Q,R A,P Q,P P,R)
+    \tkzDrawPoints(Q,M,A,P,R)
+    \tkzLabelPoint[below left](Q){$Q$}
+    \tkzLabelPoint[below right](M){$M$}
+    \tkzLabelPoint[above left](A){$A$}
+    \tkzLabelPoint[above right](P){$P$}
+    \tkzLabelPoint[above right](R){$R$}
+\end{tikzpicture}
+\end{document}