diff --git a/tikz/teststrategien-anschaulich/Makefile b/tikz/control-flow-graph/Makefile similarity index 67% rename from tikz/teststrategien-anschaulich/Makefile rename to tikz/control-flow-graph/Makefile index 85bf96c..44ff371 100644 --- a/tikz/teststrategien-anschaulich/Makefile +++ b/tikz/control-flow-graph/Makefile @@ -1,14 +1,14 @@ -SOURCE = teststrategien-anschaulich +SOURCE = control-flow-graph 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 diff --git a/tikz/control-flow-graph/README.md b/tikz/control-flow-graph/README.md new file mode 100644 index 0000000..f8efea1 --- /dev/null +++ b/tikz/control-flow-graph/README.md @@ -0,0 +1,3 @@ +Compiled example +---------------- +![Example](control-flow-graph.png) diff --git a/tikz/control-flow-graph/control-flow-graph.png b/tikz/control-flow-graph/control-flow-graph.png new file mode 100644 index 0000000..407ac98 Binary files /dev/null and b/tikz/control-flow-graph/control-flow-graph.png differ diff --git a/tikz/control-flow-graph/control-flow-graph.svg b/tikz/control-flow-graph/control-flow-graph.svg new file mode 100644 index 0000000..aab4848 --- /dev/null +++ b/tikz/control-flow-graph/control-flow-graph.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tikz/teststrategien-anschaulich/teststrategien-anschaulich.tex b/tikz/control-flow-graph/control-flow-graph.tex similarity index 100% rename from tikz/teststrategien-anschaulich/teststrategien-anschaulich.tex rename to tikz/control-flow-graph/control-flow-graph.tex diff --git a/tikz/teststrategien-anschaulich/README.md b/tikz/teststrategien-anschaulich/README.md deleted file mode 100644 index 78ca50b..0000000 --- a/tikz/teststrategien-anschaulich/README.md +++ /dev/null @@ -1,3 +0,0 @@ -Compiled example ----------------- -![Example](teststrategien-anschaulich.png) diff --git a/tikz/teststrategien-anschaulich/teststrategien-anschaulich.png b/tikz/teststrategien-anschaulich/teststrategien-anschaulich.png deleted file mode 100644 index 9de28d0..0000000 Binary files a/tikz/teststrategien-anschaulich/teststrategien-anschaulich.png and /dev/null differ