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:09:11 +02:00
parent 7f5f40a3a6
commit 3ec36a9361
3 changed files with 6 additions and 4 deletions

View file

@ -1,14 +1,14 @@
SOURCE = triangle-perpendicular SOURCE = triangle-perpendicular
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: 28 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before After
Before After

View file

@ -15,7 +15,7 @@
\begin{tikzpicture}[very thick,font=\sansmath\sffamily] \begin{tikzpicture}[very thick,font=\sansmath\sffamily]
\tkzDefPoint(0,0){A} \tkzDefPoint(0,0){A}
\tkzDefPoint(6.4,0){B} \tkzDefPoint(6.4,0){B}
\tkzDefPoint(1.4,6){C} \tkzDefPoint(2.5,5){C}
\tkzLabelPoints[below left,font=\sansmath\sffamily](A) \tkzLabelPoints[below left,font=\sansmath\sffamily](A)
\tkzLabelPoints[below right,font=\sansmath\sffamily](B) \tkzLabelPoints[below right,font=\sansmath\sffamily](B)