mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
weiteres Dreieck-Bild hinzugefügt
This commit is contained in:
parent
d4e01e66b3
commit
ab91a91ca1
9 changed files with 103 additions and 2 deletions
Binary file not shown.
|
@ -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}
|
||||
|
||||
|
|
Binary file not shown.
26
documents/GeoTopo/figures/triangle-5.tex
Normal file
26
documents/GeoTopo/figures/triangle-5.tex
Normal file
|
@ -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}
|
Binary file not shown.
31
tikz/triangle-5/Makefile
Normal file
31
tikz/triangle-5/Makefile
Normal file
|
@ -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
tikz/triangle-5/Readme.md
Normal file
3
tikz/triangle-5/Readme.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Compiled example
|
||||
----------------
|
||||

|
BIN
tikz/triangle-5/triangle-5.png
Normal file
BIN
tikz/triangle-5/triangle-5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
34
tikz/triangle-5/triangle-5.tex
Normal file
34
tikz/triangle-5/triangle-5.tex
Normal file
|
@ -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}
|
Loading…
Add table
Add a link
Reference in a new issue