2
0
Fork 0
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:
Martin Thoma 2016-06-18 10:08:14 +02:00
parent b4c1bb3c42
commit e8b15c5d2e
3 changed files with 15 additions and 10 deletions

View file

@ -1,14 +1,14 @@
SOURCE = thales-circle-triangle SOURCE = thales-circle-triangle
DELAY = 80 DELAY = 80
DENSITY = 300 DENSITY = 300
WIDTH = 500 WIDTH = 512
make: make:
pdflatex $(SOURCE).tex -output-format=pdf pdflatex $(SOURCE).tex -output-format=pdf
make clean make clean
clean: clean:
rm -rf $(TARGET) *.class *.html *.log *.aux rm -rf $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot
gif: gif:
pdfcrop $(SOURCE).pdf pdfcrop $(SOURCE).pdf
@ -28,4 +28,6 @@ svg:
#inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg #inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg
pdf2svg $(SOURCE).pdf $(SOURCE).svg pdf2svg $(SOURCE).pdf $(SOURCE).svg
# Necessary, as pdf2svg does not always create valid svgs: # 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: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

View file

@ -21,23 +21,26 @@
\tkzLabelPoints[above right](C) \tkzLabelPoints[above right](C)
\tkzMarkAngle[fill=blue!30,size=0.6cm,opacity=.5](C,B,A) % Draw polygon
\tkzDrawPolygon[rounded corners=0.1mm, fill=gray!2](A,B,C)
\tkzMarkAngle[arc=l,fill=green!30,size=0.6cm](C,B,A)
\tkzLabelAngle[pos=0.4](A,B,C){$\beta$} \tkzLabelAngle[pos=0.4](A,B,C){$\beta$}
\tkzMarkAngle[fill=blue!30,size=0.6cm,opacity=.5](M,C,B) \tkzMarkAngle[fill=green!30,size=0.6cm](M,C,B)
\tkzLabelAngle[pos=0.4](B,C,M){$\beta$} \tkzLabelAngle[pos=0.4](B,C,M){$\beta$}
\tkzMarkAngle[fill=blue!30,size=0.6cm,opacity=.5](B,M,C) \tkzMarkAngle[fill=green!30,size=0.6cm](B,M,C)
\tkzLabelAngle[pos=0.4](B,M,C){$\delta$} \tkzLabelAngle[pos=0.4](B,M,C){$\delta$}
\tkzMarkAngle[fill=blue!30,size=0.6cm,opacity=.5](M,A,C) \tkzMarkAngle[fill=green!30,size=0.6cm](M,A,C)
\tkzLabelAngle[pos=0.4](M,A,C){$\alpha$} \tkzLabelAngle[pos=0.4](M,A,C){$\alpha$}
\tkzMarkAngle[fill=blue!30,size=0.6cm,opacity=.5](A,C,M) \tkzMarkAngle[fill=green!30,size=0.6cm](A,C,M)
\tkzLabelAngle[pos=0.4](A,C,M){$\alpha$} \tkzLabelAngle[pos=0.4](A,C,M){$\alpha$}
\tkzMarkAngle[fill=blue!30,size=0.6cm,opacity=.5](C,M,A) \tkzMarkAngle[fill=green!30,size=0.6cm](C,M,A)
\tkzLabelAngle[pos=0.4](C,M,A){$\gamma$} \tkzLabelAngle[pos=0.3](C,M,A){$\gamma$}
\tkzDrawSector[thick](M,B)(A) \tkzDrawSector[thick](M,B)(A)