Преглед изворни кода

weiteres Dreieck-Bild hinzugefügt

Martin Thoma пре 11 година
родитељ
комит
ab91a91ca1

BIN
documents/GeoTopo/GeoTopo.pdf


+ 9 - 2
documents/GeoTopo/Kapitel4.tex

@@ -643,8 +643,15 @@ Der Flächeninhalt eines Dreiecks ist $\nicefrac{1}{2} \cdot \text{Grundseite} \
 
 \begin{figure}[htp]
     \centering
-    \input{figures/triangle-4.tex}
-    \caption{Flächenberechnung im Dreiecks}
+    \subfloat[$\nicefrac{1}{2} \cdot |\overline{AB}| \cdot |h_c|$]{
+        \resizebox{0.45\linewidth}{!}{\input{figures/triangle-5.tex}}
+        \label{fig:cube}
+    }%
+    \subfloat[$\nicefrac{1}{2} \cdot |\overline{BC}| \cdot |h_a|$]{
+        \resizebox{0.45\linewidth}{!}{\input{figures/triangle-4.tex}}
+        \label{fig:s2}
+    }%
+    \caption{Flächenberechnung im Dreieck}
     \label{fig:flaechenberechnung-dreieck}
 \end{figure}
 

BIN
documents/GeoTopo/definitions/definitionen.pdf


+ 26 - 0
documents/GeoTopo/figures/triangle-5.tex

@@ -0,0 +1,26 @@
+\begin{tikzpicture}
+    \tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
+    \tkzSetUpLine[line width=1]
+    \tkzDefPoints{0/0/A, 4/0/B, -2/3/C}
+
+    \tkzDefLine[orthogonal=through C,/tikz/overlay](A,B) \tkzGetPoint{helper}
+    \tkzInterLL(A,B)(C,helper) \tkzGetPoint{Lc}
+
+    %\tkzMarkAngle[arc=l,size=0.4cm,color=red,fill=red!20](A,La,B)
+    %\tkzLabelAngle[pos=0.25](A,La,B){$\cdot$}
+
+    \tkzDrawPolygon(A,B,C)
+
+    \node at ($(A)+(-0.47,-0.2)$){$A$};
+    \node at ($(B)+(0.35,-0.2)$) {$B$}; % \tkzLabelPoint[below](B){$B$} is not accurate enough
+    \node at ($(C)+(0.05,0.3)$)  {$C$};
+    \node[green] at ($(Lc)+(-0.4,-0.1)$)  {$L_C$};
+
+    \tkzDrawSegments[red](C,Lc)
+    \tkzDrawSegments[blue](A,B)
+    \tkzDrawSegments[dashed](Lc,A)
+    \tkzLabelSegment[right,red](C,Lc){$h_c$}
+    \tkzLabelSegment[above,blue](A,B){$c$}
+    \tkzDrawPoints(A,B,C)
+    \tkzDrawPoints[color=green,fill=green](Lc)
+\end{tikzpicture}

BIN
documents/GeoTopo/other-formats/GeoTopo-A5.pdf


+ 31 - 0
tikz/triangle-5/Makefile

@@ -0,0 +1,31 @@
+SOURCE  = triangle-5
+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/triangle-5/Readme.md

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

BIN
tikz/triangle-5/triangle-5.png


+ 34 - 0
tikz/triangle-5/triangle-5.tex

@@ -0,0 +1,34 @@
+\documentclass[varwidth=true, border=2pt]{standalone}
+\usepackage{tkz-euclide}
+\usepackage{tikz}
+\usetikzlibrary{patterns}
+
+\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/3/C}
+
+    \tkzDefLine[orthogonal=through C,/tikz/overlay](A,B) \tkzGetPoint{helper}
+    \tkzInterLL(A,B)(C,helper) \tkzGetPoint{Lc}
+
+    %\tkzMarkAngle[arc=l,size=0.4cm,color=red,fill=red!20](A,La,B)
+    %\tkzLabelAngle[pos=0.25](A,La,B){$\cdot$}
+
+    \tkzDrawPolygon(A,B,C)
+
+    \node at ($(A)+(-0.47,-0.2)$){$A$};
+    \node at ($(B)+(0.35,-0.2)$) {$B$}; % \tkzLabelPoint[below](B){$B$} is not accurate enough
+    \node at ($(C)+(0.05,0.3)$)  {$C$};
+    \node[green] at ($(Lc)+(-0.4,-0.1)$)  {$L_C$};
+
+    \tkzDrawSegments[red](C,Lc)
+    \tkzDrawSegments[blue](A,B)
+    \tkzDrawSegments[dashed](Lc,A)
+    \tkzLabelSegment[right,red](C,Lc){$h_c$}
+    \tkzLabelSegment[above,blue](A,B){$c$}
+    \tkzDrawPoints(A,B,C)
+    \tkzDrawPoints[color=green,fill=green](Lc)
+\end{tikzpicture}
+\end{document}