2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

Vorlesung vom 23.01.2014 teilweise geTeXt

This commit is contained in:
Martin Thoma 2014-01-25 00:22:50 +01:00
parent 7348ee2e37
commit 6536ec2326
11 changed files with 179 additions and 8 deletions

View file

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

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -0,0 +1,23 @@
\documentclass[varwidth=true, border=10pt]{standalone}
\usepackage{tkz-euclide}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}
\usetkzobj{all}
\begin{tikzpicture}
\tkzSetUpPoint[shape=circle,size=3,color=black,fill=black]
\tkzSetUpLine[line width=1]
\tkzInit[xmax=6,ymax=5,xmin=-5,ymin=0]
\tkzDefPoints{-2/0/A,3.5/0/B,-0.85/0/C,2/0/D,2/2/P}
\tkzDefPoints{-1/0/X, -1/5/Y}
\tkzDrawLine[add=0.1 and 0.1](X,Y)
\tkzAxeXY
\tkzDrawArc[R,line width=1pt,color=red](A,0.5 cm)(0,180)
\tkzDrawArc[R,line width=1pt](B,2.5 cm)(0,180)
\tkzDrawArc[R,line width=1pt](C,3.5 cm)(0,180)
\tkzDrawArc[R,line width=1pt](D,2.0 cm)(0,180)
\tkzDrawPoints(P)
\end{tikzpicture}
\end{document}