mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
Bilder geTikz't
This commit is contained in:
parent
8544674cb5
commit
9a74762365
20 changed files with 236 additions and 7 deletions
Binary file not shown.
|
@ -264,7 +264,7 @@ aufgestellt.
|
|||
\begin{figure}
|
||||
\centering
|
||||
\input{figures/geometry-3.tex}
|
||||
\caption{TODO}
|
||||
\caption{1. Fall}
|
||||
\label{fig:bild-3}
|
||||
\end{figure}
|
||||
|
||||
|
@ -290,8 +290,8 @@ aufgestellt.
|
|||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=0.5\linewidth, keepaspectratio]{figures/todo/bild-4.jpg}
|
||||
\caption{TODO}.
|
||||
\input{figures/geometry-4.tex}
|
||||
\caption{2. Fall}
|
||||
\label{fig:bild-4}
|
||||
\end{figure}
|
||||
|
||||
|
@ -303,8 +303,8 @@ aufgestellt.
|
|||
\begin{beweis}[Beweis 3]
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=0.5\linewidth, keepaspectratio]{figures/todo/bild-5.jpg}
|
||||
\caption{TODO}.
|
||||
\input{figures/geometry-5.tex}
|
||||
\caption{TODO}
|
||||
\label{fig:bild-5}
|
||||
\end{figure}
|
||||
|
||||
|
@ -341,7 +341,7 @@ aufgestellt.
|
|||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=0.5\linewidth, keepaspectratio]{figures/todo/bild-6.jpg}
|
||||
\caption{TODO}.
|
||||
\caption{TODO}
|
||||
\label{fig:bild-6}
|
||||
\end{figure}
|
||||
|
||||
|
@ -361,7 +361,7 @@ aufgestellt.
|
|||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=0.5\linewidth, keepaspectratio]{figures/todo/bild-7.jpg}
|
||||
\caption{TODO}.
|
||||
\caption{TODO}
|
||||
\label{fig:bild-6}
|
||||
\end{figure}
|
||||
\end{beweis}
|
||||
|
|
15
documents/GeoTopo/figures/geometry-4.tex
Normal file
15
documents/GeoTopo/figures/geometry-4.tex
Normal file
|
@ -0,0 +1,15 @@
|
|||
\begin{tikzpicture}
|
||||
\tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
|
||||
\tkzSetUpLine[line width=1]
|
||||
\tkzDefPoints{0/0/P, 4/1/Q, 2/3/A, 0/3/B}
|
||||
|
||||
\tkzDrawSegments(P,Q Q,A A,P)
|
||||
\tkzDrawSegments[dashed](P,B B,Q)
|
||||
\tkzDrawLine(P,Q)
|
||||
|
||||
\tkzDrawPoints(P,Q,A,B)
|
||||
\tkzLabelPoint[below](P){$P$}
|
||||
\tkzLabelPoint[below](Q){$Q$}
|
||||
\tkzLabelPoint[above](A){$A$}
|
||||
\tkzLabelPoint[above](B){$B$}
|
||||
\end{tikzpicture}
|
22
documents/GeoTopo/figures/geometry-5.tex
Normal file
22
documents/GeoTopo/figures/geometry-5.tex
Normal file
|
@ -0,0 +1,22 @@
|
|||
\usetkzobj{all}
|
||||
\begin{tikzpicture}
|
||||
\tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
|
||||
\tkzSetUpLine[line width=1]
|
||||
\tkzDefPoints{0/0/P, 4/1/Q, 2/3/A, 5/3/B}
|
||||
\tkzInterLL(P,B)(A,Q) \tkzGetPoint{C}
|
||||
\tkzDrawPoints(P,Q,A,B,C)
|
||||
|
||||
%\tkzDrawSegments(P,Q Q,A A,P)
|
||||
%\tkzDrawSegments[dashed](P,B B,Q)
|
||||
\tkzDrawLine(P,Q)
|
||||
\tkzDrawLine(P,A)
|
||||
\tkzDrawLine(A,Q)
|
||||
\tkzDrawLine(P,B)
|
||||
|
||||
|
||||
\tkzLabelPoint[below](P){$P$}
|
||||
\tkzLabelPoint[below](Q){$Q$}
|
||||
\tkzLabelPoint[below](A){$A$}
|
||||
\tkzLabelPoint[below](B){$B$}
|
||||
\tkzLabelPoint[above](C){$C$}
|
||||
\end{tikzpicture}
|
20
documents/GeoTopo/figures/geometry-6.tex
Normal file
20
documents/GeoTopo/figures/geometry-6.tex
Normal file
|
@ -0,0 +1,20 @@
|
|||
\usetkzobj{all}
|
||||
\begin{tikzpicture}
|
||||
\tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
|
||||
\tkzSetUpLine[line width=1]
|
||||
\tkzDefPoints{0/0/Q, 4/1/H1, 1/2/P}
|
||||
\tkzDefPoint(1.5,3){Phelper}
|
||||
\tkzMarkAngle[arc=l,size=1cm,color=green,fill=green!20](H1,Q,P)
|
||||
\tkzDrawLine(Q,H1)
|
||||
|
||||
\tkzLabelPoint[above left](Q){$Q$}
|
||||
\tkzDefLine[parallel=through P](Q,H1) \tkzGetPoint{b}
|
||||
\tkzMarkAngle[arc=l,size=1cm,color=green,fill=green!20](b,P,Phelper)
|
||||
\tkzDrawLine[dashed](P,b)
|
||||
\tkzLabelLine[pos=0.8,below](P,b){$f$}
|
||||
\tkzLabelLine[pos=0.8,below](Q,H1){$g$}
|
||||
\tkzLabelPoint[above left](P){$P$}
|
||||
\tkzDrawLine[add=0.2 and 0.7](Q,P)
|
||||
\tkzDrawPoints(P,Q)
|
||||
\tkzMarkSegments[mark=||](Q,H1 P,b)
|
||||
\end{tikzpicture}
|
Binary file not shown.
Before Width: | Height: | Size: 143 KiB |
Binary file not shown.
Before Width: | Height: | Size: 114 KiB |
Binary file not shown.
Before Width: | Height: | Size: 189 KiB |
31
tikz/geometry-4/Makefile
Normal file
31
tikz/geometry-4/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
SOURCE = geometry-4
|
||||
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/geometry-4/Readme.md
Normal file
3
tikz/geometry-4/Readme.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Compiled example
|
||||
----------------
|
||||

|
BIN
tikz/geometry-4/geometry-4.png
Normal file
BIN
tikz/geometry-4/geometry-4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
21
tikz/geometry-4/geometry-4.tex
Normal file
21
tikz/geometry-4/geometry-4.tex
Normal file
|
@ -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/P, 4/1/Q, 2/3/A, 0/3/B}
|
||||
|
||||
\tkzDrawSegments(P,Q Q,A A,P)
|
||||
\tkzDrawSegments[dashed](P,B B,Q)
|
||||
\tkzDrawLine(P,Q)
|
||||
|
||||
\tkzDrawPoints(P,Q,A,B)
|
||||
\tkzLabelPoint[below](P){$P$}
|
||||
\tkzLabelPoint[below](Q){$Q$}
|
||||
\tkzLabelPoint[above](A){$A$}
|
||||
\tkzLabelPoint[above](B){$B$}
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
31
tikz/geometry-5/Makefile
Normal file
31
tikz/geometry-5/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
SOURCE = geometry-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/geometry-5/Readme.md
Normal file
3
tikz/geometry-5/Readme.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Compiled example
|
||||
----------------
|
||||

|
BIN
tikz/geometry-5/geometry-5.png
Normal file
BIN
tikz/geometry-5/geometry-5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
24
tikz/geometry-5/geometry-5.tex
Normal file
24
tikz/geometry-5/geometry-5.tex
Normal file
|
@ -0,0 +1,24 @@
|
|||
\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/P, 4/1/Q, 2/3/A, 5/3/B}
|
||||
\tkzInterLL(P,B)(A,Q) \tkzGetPoint{C}
|
||||
\tkzDrawPoints(P,Q,A,B,C)
|
||||
|
||||
\tkzDrawLine(P,Q)
|
||||
\tkzDrawLine(P,A)
|
||||
\tkzDrawLine(A,Q)
|
||||
\tkzDrawLine(P,B)
|
||||
|
||||
\tkzLabelPoint[below](P){$P$}
|
||||
\tkzLabelPoint[below](Q){$Q$}
|
||||
\tkzLabelPoint[below](A){$A$}
|
||||
\tkzLabelPoint[below](B){$B$}
|
||||
\tkzLabelPoint[above](C){$C$}
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
31
tikz/geometry-6/Makefile
Normal file
31
tikz/geometry-6/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
SOURCE = geometry-6
|
||||
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/geometry-6/Readme.md
Normal file
3
tikz/geometry-6/Readme.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Compiled example
|
||||
----------------
|
||||

|
BIN
tikz/geometry-6/geometry-6.png
Normal file
BIN
tikz/geometry-6/geometry-6.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.9 KiB |
25
tikz/geometry-6/geometry-6.tex
Normal file
25
tikz/geometry-6/geometry-6.tex
Normal file
|
@ -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{0/0/Q, 4/1/H1, 1/2/P}
|
||||
\tkzDefPoint(1.5,3){Phelper}
|
||||
\tkzMarkAngle[arc=l,size=1cm,color=green,fill=green!20](H1,Q,P)
|
||||
\tkzDrawLine(Q,H1)
|
||||
|
||||
\tkzLabelPoint[above left](Q){$Q$}
|
||||
\tkzDefLine[parallel=through P](Q,H1) \tkzGetPoint{b}
|
||||
\tkzMarkAngle[arc=l,size=1cm,color=green,fill=green!20](b,P,Phelper)
|
||||
\tkzDrawLine[dashed](P,b)
|
||||
\tkzLabelLine[pos=0.8,below](P,b){$f$}
|
||||
\tkzLabelLine[pos=0.8,below](Q,H1){$g$}
|
||||
\tkzLabelPoint[above left](P){$P$}
|
||||
\tkzDrawLine[add=0.2 and 0.7](Q,P)
|
||||
\tkzDrawPoints(P,Q)
|
||||
\tkzMarkSegments[mark=||](Q,H1 P,b)
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue