diff --git a/tikz/b-tree/Makefile b/tikz/b-tree/Makefile index e1f4a20..12d51ef 100644 --- a/tikz/b-tree/Makefile +++ b/tikz/b-tree/Makefile @@ -1,14 +1,14 @@ SOURCE = b-tree-2 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 @@ -25,7 +25,11 @@ transparentGif: make clean svg: + make #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 + rsvg-convert -a -w $(WIDTH) -f svg $(SOURCE).svg -o $(SOURCE)2.svg + inkscape $(SOURCE)2.svg --export-plain-svg=$(SOURCE).svg + rm $(SOURCE)2.svg diff --git a/tikz/b-tree/Readme.md b/tikz/b-tree/Readme.md new file mode 100644 index 0000000..c7a6198 --- /dev/null +++ b/tikz/b-tree/Readme.md @@ -0,0 +1,3 @@ +Compiled example +---------------- +![Example](b-tree.png) diff --git a/tikz/b-tree/b-tree-2.png b/tikz/b-tree/b-tree-2.png new file mode 100644 index 0000000..fca3d8a Binary files /dev/null and b/tikz/b-tree/b-tree-2.png differ