mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
Improve quality
This commit is contained in:
parent
5937b8ac49
commit
52eab59d82
3 changed files with 12 additions and 9 deletions
|
@ -1,14 +1,14 @@
|
|||
SOURCE = triangle-9-point-circle
|
||||
DELAY = 80
|
||||
DENSITY = 300
|
||||
WIDTH = 500
|
||||
WIDTH = 512
|
||||
|
||||
make:
|
||||
pdflatex $(SOURCE).tex -output-format=pdf
|
||||
make clean
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET) *.class *.html *.log *.aux
|
||||
rm -rf $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot
|
||||
|
||||
gif:
|
||||
pdfcrop $(SOURCE).pdf
|
||||
|
@ -28,4 +28,6 @@ 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
|
||||
inkscape $(SOURCE).svg --export-width=$(WIDTH) --export-plain-svg=$(SOURCE)1.svg
|
||||
rsvg-convert -a -w 720 -f svg $(SOURCE)1.svg -o $(SOURCE).svg
|
||||
rm $(SOURCE)1.svg
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 39 KiB |
|
@ -31,8 +31,8 @@
|
|||
\tkzLabelPoints[left,font=\sansmath\sffamily](E)
|
||||
\tkzLabelPoints[below,font=\sansmath\sffamily](F)
|
||||
|
||||
\tkzDefCircle[circum,/tikz/overlay](D,E,F)\tkzGetPoint{Icircle}\tkzGetLength{rIN}
|
||||
\tkzDrawCircle[R,color=red, very thick](Icircle,\rIN pt)
|
||||
\tkzDefCircle[circum,/tikz/overlay](D,E,F)\tkzGetPoint{M}\tkzGetLength{rIN}
|
||||
\tkzDrawCircle[R,color=red, very thick](M,\rIN pt)
|
||||
|
||||
% Get 'Hoehe'
|
||||
\tkzInterLC[/tikz/overlay](B,C)(A,B)\tkzGetPoints{hah1}{hah2}
|
||||
|
@ -52,13 +52,13 @@
|
|||
\tkzLabelPoints[above right,font=\sansmath\sffamily](S)
|
||||
|
||||
% More points
|
||||
\tkzInterLC[/tikz/overlay,R](A,G)(Icircle,\rIN pt)\tkzGetPoints{G}{J}
|
||||
\tkzInterLC[/tikz/overlay,R](A,G)(M,\rIN pt)\tkzGetPoints{G}{J}
|
||||
\tkzLabelPoints[above,font=\sansmath\sffamily](J)
|
||||
|
||||
\tkzInterLC[/tikz/overlay,R](B,H)(Icircle,\rIN pt)\tkzGetPoints{L}{H}
|
||||
\tkzInterLC[/tikz/overlay,R](B,H)(M,\rIN pt)\tkzGetPoints{L}{H}
|
||||
\tkzLabelPoints[above,font=\sansmath\sffamily](L)
|
||||
|
||||
\tkzInterLC[/tikz/overlay,R](C,I)(Icircle,\rIN pt)\tkzGetPoints{I}{K}
|
||||
\tkzInterLC[/tikz/overlay,R](C,I)(M,\rIN pt)\tkzGetPoints{I}{K}
|
||||
\tkzLabelPoints[above left,font=\sansmath\sffamily](K)
|
||||
|
||||
% Draw rest
|
||||
|
@ -68,7 +68,8 @@
|
|||
\tkzDrawSegments[thick](B,L L,S) % blue,very
|
||||
|
||||
\tkzDrawPoints[size=2,fill=black](D,E,F,I,G,H,S,J,L,K)
|
||||
\tkzDrawPoints[size=2,fill=red,color=red](Icircle)
|
||||
\tkzDrawPoints[size=2,fill=red,color=red](M)
|
||||
\tkzLabelPoints[right,font=\sansmath\sffamily,red](M)
|
||||
|
||||
% Draw polygon
|
||||
\tkzDrawPolygon[thick](A,B,C)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue