diff --git a/sections/german/04/04.md b/sections/german/04/04.md index 4036cc7..3b9783f 100644 --- a/sections/german/04/04.md +++ b/sections/german/04/04.md @@ -68,7 +68,7 @@ Inhalt von Abschnitt 2. % …
- +
@@ -107,7 +107,7 @@ Inhalt von Abschnitt 2.
- +
@@ -136,7 +136,7 @@ Inhalt von Abschnitt 2.
- +
@@ -158,7 +158,7 @@ Inhalt von Abschnitt 2.
- +
@@ -172,7 +172,7 @@ Inhalt von Abschnitt 2.

`./sections/part1.tex`

- +
@@ -184,10 +184,10 @@ Inhalt von Abschnitt 2.

Relative Dateipfade

Beispiel: Relativer Pfad von `main.tex` in eigenem Unterordner zu `part1.tex` in anderem Unterordner

`../sections/part1.tex`

-

**Zwei Punkte »..«** bezeichnen den Elternordner des aktuellen Ordners (hier: Dokumente, der Elternordner latex des Ordners main).

+

**Zwei Punkte »`..`«** bezeichnen den Elternordner des aktuellen Ordners (hier: latex, den Elternordner des Ordners main).

- +
@@ -226,7 +226,7 @@ Inhalt von Abschnitt 2. Ein einfacher Weg, um die Hauptdatei noch übersichtlicher zu halten.

- +
diff --git a/sections/german/04/absolute-path-crop.svg b/sections/german/04/absolute-path-crop.svg new file mode 100644 index 0000000..9c1a797 --- /dev/null +++ b/sections/german/04/absolute-path-crop.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/absolute-path-orig.svg b/sections/german/04/absolute-path-orig.svg new file mode 100644 index 0000000..f450f9d --- /dev/null +++ b/sections/german/04/absolute-path-orig.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/absolute-path.tex b/sections/german/04/absolute-path.tex new file mode 100644 index 0000000..4b4dcce --- /dev/null +++ b/sections/german/04/absolute-path.tex @@ -0,0 +1,33 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node [foot] {/ oder C:} + child { node [foot] {home} + child { node [foot] {knut} + child { node {pictures}} + child { node [foot] {docs} + child { node [foot] {latex} + child { node [selected] { main.tex}}} + } + } + }; + \end{tikzpicture} +\end{document} \ No newline at end of file diff --git a/sections/german/04/absolute_path.png b/sections/german/04/absolute_path.png deleted file mode 100644 index 4c69bfc..0000000 Binary files a/sections/german/04/absolute_path.png and /dev/null differ diff --git a/sections/german/04/main-parts-crop.svg b/sections/german/04/main-parts-crop.svg new file mode 100644 index 0000000..8cb0ab3 --- /dev/null +++ b/sections/german/04/main-parts-crop.svg @@ -0,0 +1,622 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/main-parts-header-crop.svg b/sections/german/04/main-parts-header-crop.svg new file mode 100644 index 0000000..5458be7 --- /dev/null +++ b/sections/german/04/main-parts-header-crop.svg @@ -0,0 +1,665 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/main-parts-header-orig.svg b/sections/german/04/main-parts-header-orig.svg new file mode 100644 index 0000000..ef5a8c2 --- /dev/null +++ b/sections/german/04/main-parts-header-orig.svg @@ -0,0 +1,665 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/main-parts-header.tex b/sections/german/04/main-parts-header.tex new file mode 100644 index 0000000..7fa657c --- /dev/null +++ b/sections/german/04/main-parts-header.tex @@ -0,0 +1,65 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + 4/12 + \begin{myverbbox}{\one} + \section{Dies ist Abschnitt 1} + Hier ein Absatz zum + Inhalt von Abschnitt 1. + \end{myverbbox} + + \begin{myverbbox}{\two} + \section{Dies ist Abschnitt 2} + Hier ein Absatz zum + Inhalt von Abschnitt 2. + \end{myverbbox} + + \begin{myverbbox}{\mayn} + \input{header.tex} + \begin{document} + \maketitle + \tableofcontents + \input{part1.tex} + \input{part2.tex} + \end{document} + \end{myverbbox} + + \begin{myverbbox}{\header} + \documentclass{article} + \usepackage[ngerman]{babel} + \usepackage[utf8]{inputenc} + \usepackage[T1]{fontenc} + \title{Ein Titel} + \end{myverbbox} + + \tikzstyle{every node}=[shape=rectangle] + \tikzstyle{boxy}=[draw] + \tikzstyle{mega}=[fill=gray!30] + \begin{tikzpicture} + \node(main) at (7.5,5) [mega, boxy] {\mayn}; + \node(header) at (0,0) [boxy] {\header}; + \node(one) at (7.5,0) [boxy] {\one}; + \node(two) at (15,0) [boxy] {\two}; + \node at (6.5,3.2) {main.tex}; + \node at (0,-1.45) {header.tex}; + \node at (7.5,-1) {part1.tex}; + \node at (15,-1) {part2.tex}; + \draw[->] (header) -- (main); + \draw[->] (one) -- (main); + \draw[->] (two) -- (main); + \end{tikzpicture} +\end{document} \ No newline at end of file diff --git a/sections/german/04/main-parts-orig.svg b/sections/german/04/main-parts-orig.svg new file mode 100644 index 0000000..8fa6bd7 --- /dev/null +++ b/sections/german/04/main-parts-orig.svg @@ -0,0 +1,622 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/main-parts.tex b/sections/german/04/main-parts.tex new file mode 100644 index 0000000..368940b --- /dev/null +++ b/sections/german/04/main-parts.tex @@ -0,0 +1,59 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + % 4/3 + \begin{myverbbox}{\main} + \documentclass{article} + \usepackage[ngerman]{babel} + \usepackage[utf8]{inputenc} + \usepackage[T1]{fontenc} + \title{Ein Titel} + \begin{document} + \maketitle + \tableofcontents + \input{part1.tex} + \input{part2.tex} + \end{document} + \end{myverbbox} + + \begin{myverbbox}{\one} + \section{Dies ist Abschnitt 1} + Hier ein Absatz zum + Inhalt von Abschnitt 1. + \end{myverbbox} + + \begin{myverbbox}{\two} + \section{Dies ist Abschnitt 2} + Hier ein Absatz zum + Inhalt von Abschnitt 2. + \end{myverbbox} + + \tikzstyle{every node}=[shape=rectangle] + \tikzstyle{boxy}=[draw] + \tikzstyle{mega}=[fill=gray!30] + \begin{tikzpicture} + \node(main) at (5,5) [mega, boxy] {\main}; + \node(one) at (0,0) [boxy] {\one}; + \node(two) at (10,0) [boxy] {\two}; + \node at (5,2.45) {main.tex}; + \node at (0,-1) {part1.tex}; + \node at (10,-1) {part2.tex}; + \draw[->] (one) -- (main); + \draw[->] (two) -- (main); + \end{tikzpicture} + +\end{document} \ No newline at end of file diff --git a/sections/german/04/main_parts.png b/sections/german/04/main_parts.png deleted file mode 100644 index ee951c2..0000000 Binary files a/sections/german/04/main_parts.png and /dev/null differ diff --git a/sections/german/04/main_parts_header.png b/sections/german/04/main_parts_header.png deleted file mode 100644 index a3bc2b1..0000000 Binary files a/sections/german/04/main_parts_header.png and /dev/null differ diff --git a/sections/german/04/relative-path-crop.svg b/sections/german/04/relative-path-crop.svg new file mode 100644 index 0000000..213289a --- /dev/null +++ b/sections/german/04/relative-path-crop.svg @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/relative-path-orig.svg b/sections/german/04/relative-path-orig.svg new file mode 100644 index 0000000..5d33f3f --- /dev/null +++ b/sections/german/04/relative-path-orig.svg @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/relative-path-subdir-crop.svg b/sections/german/04/relative-path-subdir-crop.svg new file mode 100644 index 0000000..64c3b67 --- /dev/null +++ b/sections/german/04/relative-path-subdir-crop.svg @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/relative-path-subdir-orig.svg b/sections/german/04/relative-path-subdir-orig.svg new file mode 100644 index 0000000..d074c41 --- /dev/null +++ b/sections/german/04/relative-path-subdir-orig.svg @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/relative-path-subdir.tex b/sections/german/04/relative-path-subdir.tex new file mode 100644 index 0000000..b299cec --- /dev/null +++ b/sections/german/04/relative-path-subdir.tex @@ -0,0 +1,37 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node {/ oder C:} + child { node {home} + child { node {knut} + child { node {pictures}} + child { node {docs} + child { node [foot] {latex} + child { node [rel] { main.tex}} + child {node [foot] {sections} + child { node [selected] {part1.tex}} + } + } + } + } + }; + \end{tikzpicture} +\end{document} \ No newline at end of file diff --git a/sections/german/04/relative-path-superdir-crop.svg b/sections/german/04/relative-path-superdir-crop.svg new file mode 100644 index 0000000..966b1b6 --- /dev/null +++ b/sections/german/04/relative-path-superdir-crop.svg @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/relative-path-superdir-orig.svg b/sections/german/04/relative-path-superdir-orig.svg new file mode 100644 index 0000000..b11c5d3 --- /dev/null +++ b/sections/german/04/relative-path-superdir-orig.svg @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/relative-path-superdir.tex b/sections/german/04/relative-path-superdir.tex new file mode 100644 index 0000000..5603382 --- /dev/null +++ b/sections/german/04/relative-path-superdir.tex @@ -0,0 +1,40 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node {/ oder C:} + child { node {home} + child { node {knut} + child { node {pictures}} + child { node {docs} + child { node [foot] {latex} + child { node [foot] {main} + child { node [rel] { main.tex}} + } + child [missing] {} + child {node [foot] {sections} + child { node [selected] {part1.tex}} + } + } + } + } + }; + \end{tikzpicture} +\end{document} \ No newline at end of file diff --git a/sections/german/04/relative-path.tex b/sections/german/04/relative-path.tex new file mode 100644 index 0000000..a2c21fd --- /dev/null +++ b/sections/german/04/relative-path.tex @@ -0,0 +1,36 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node {/ oder C:} + child { node {home} + child { node {knut} + child { node {pictures}} + child { node {docs} + child { node [foot] {latex} + child { node [rel] { main.tex}} + child { node [selected] { part1.tex}} + } + } + } + }; + \end{tikzpicture} + +\end{document} \ No newline at end of file diff --git a/sections/german/04/relative_path.png b/sections/german/04/relative_path.png deleted file mode 100644 index 414dae7..0000000 Binary files a/sections/german/04/relative_path.png and /dev/null differ diff --git a/sections/german/04/relative_path_subdir.png b/sections/german/04/relative_path_subdir.png deleted file mode 100644 index bd66619..0000000 Binary files a/sections/german/04/relative_path_subdir.png and /dev/null differ diff --git a/sections/german/04/relative_path_superdir.png b/sections/german/04/relative_path_superdir.png deleted file mode 100644 index 639edef..0000000 Binary files a/sections/german/04/relative_path_superdir.png and /dev/null differ diff --git a/sections/german/04/tikz_src/tikz_path.pdf b/sections/german/04/tikz_src/tikz_path.pdf deleted file mode 100644 index 77bc239..0000000 Binary files a/sections/german/04/tikz_src/tikz_path.pdf and /dev/null differ diff --git a/sections/german/04/tikz_src/tikz_path.synctex.gz b/sections/german/04/tikz_src/tikz_path.synctex.gz deleted file mode 100644 index dbc98b0..0000000 Binary files a/sections/german/04/tikz_src/tikz_path.synctex.gz and /dev/null differ diff --git a/sections/german/04/tikz_src/tikz_path.tex b/sections/german/04/tikz_src/tikz_path.tex deleted file mode 100644 index eb4c30a..0000000 --- a/sections/german/04/tikz_src/tikz_path.tex +++ /dev/null @@ -1,190 +0,0 @@ -\documentclass{article} -\usepackage[ngerman]{babel} -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage{tikz} -\usetikzlibrary{trees} -\usepackage{verbatimbox} -\usepackage[active,tightpage]{preview} -\PreviewEnvironment{tikzpicture} -\setlength\PreviewBorder{5pt} -\begin{document} - \tikzstyle{every node}=[draw=black,thick,anchor=west] - \tikzstyle{selected}=[draw=red,fill=red!30] - \tikzstyle{foot}=[fill=gray!50] - \tikzstyle{rel}=[fill=blue!70] - \tikzstyle{partition}=[draw=white] - \begin{tikzpicture}[% - grow via three points={one child at (0.5,-0.7) and - two children at (0.5,-0.7) and (0.5,-1.4)}, - edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] - \node {/ oder C:} - child { node {home} - child { node {knut} - child { node {pictures}} - child { node {docs} - child { node { latex} - child { node { main.tex}}} - } - } - }; - \end{tikzpicture} - -\begin{tikzpicture}[% -grow via three points={one child at (0.5,-0.7) and - two children at (0.5,-0.7) and (0.5,-1.4)}, -edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] -\node [foot] {/ oder C:} -child { node [foot] {home} - child { node [foot] {knut} - child { node {pictures}} - child { node [foot] {docs} - child { node [foot] {latex} - child { node [selected] { main.tex}}} - } - } -}; -\end{tikzpicture} - - - -\begin{tikzpicture}[% -grow via three points={one child at (0.5,-0.7) and - two children at (0.5,-0.7) and (0.5,-1.4)}, -edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] -\node {/ oder C:} -child { node {home} - child { node {knut} - child { node {pictures}} - child { node {docs} - child { node [foot] {latex} - child { node [rel] { main.tex}} - child { node [selected] { part1.tex}} - } - } - } -}; -\end{tikzpicture} - - -\begin{tikzpicture}[% -grow via three points={one child at (0.5,-0.7) and - two children at (0.5,-0.7) and (0.5,-1.4)}, -edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] -\node {/ oder C:} -child { node {home} - child { node {knut} - child { node {pictures}} - child { node {docs} - child { node [foot] {latex} - child { node [rel] { main.tex}} - child {node [foot] {sections} - child { node [selected] {part1.tex}} - } - } - } - } -}; -\end{tikzpicture} - - -\begin{tikzpicture}[% -grow via three points={one child at (0.5,-0.7) and - two children at (0.5,-0.7) and (0.5,-1.4)}, -edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] -\node {/ oder C:} -child { node {home} - child { node {knut} - child { node {pictures}} - child { node {docs} - child { node [foot] {latex} - child { node [foot] {main} - child { node [rel] { main.tex}} - } - child [missing] {} - child {node [foot] {sections} - child { node [selected] {part1.tex}} - } - } - } - } -}; -\end{tikzpicture} - - -\begin{myverbbox}{\main} - \documentclass{article} - \usepackage[ngerman]{babel} - \usepackage[utf8]{inputenc} - \usepackage[T1]{fontenc} - \title{Ein Titel} - \begin{document} - \maketitle - \tableofcontents - \input{part1.tex} - \input{part2.tex} - \end{document} - \end{myverbbox} - -\begin{myverbbox}{\one} - \section{Dies ist Abschnitt 1} - Hier ein Absatz zum - Inhalt von Abschnitt 1. -\end{myverbbox} - -\begin{myverbbox}{\two} - \section{Dies ist Abschnitt 2} - Hier ein Absatz zum - Inhalt von Abschnitt 2. -\end{myverbbox} - -\tikzstyle{every node}=[shape=rectangle] -\tikzstyle{boxy}=[draw] -\tikzstyle{mega}=[fill=gray!30] -\begin{tikzpicture} -\node(main) at (5,5) [mega, boxy] {\main}; -\node(one) at (0,0) [boxy] {\one}; -\node(two) at (10,0) [boxy] {\two}; -\node at (5,2.45) {main.tex}; -\node at (0,-1) {part1.tex}; -\node at (10,-1) {part2.tex}; -\draw[->] (one) -- (main); -\draw[->] (two) -- (main); -\end{tikzpicture} - -\begin{myverbbox}{\mayn} - \input{header.tex} - \begin{document} - \maketitle - \tableofcontents - \input{part1.tex} - \input{part2.tex} - \end{document} -\end{myverbbox} - -\begin{myverbbox}{\header} - \documentclass{article} - \usepackage[ngerman]{babel} - \usepackage[utf8]{inputenc} - \usepackage[T1]{fontenc} - \title{Ein Titel} -\end{myverbbox} - - -\tikzstyle{every node}=[shape=rectangle] -\tikzstyle{boxy}=[draw] -\tikzstyle{mega}=[fill=gray!30] -\begin{tikzpicture} -\node(main) at (7.5,5) [mega, boxy] {\mayn}; -\node(header) at (0,0) [boxy] {\header}; -\node(one) at (7.5,0) [boxy] {\one}; -\node(two) at (15,0) [boxy] {\two}; -\node at (6.5,3.2) {main.tex}; -\node at (0,-1.45) {header.tex}; -\node at (7.5,-1) {part1.tex}; -\node at (15,-1) {part2.tex}; -\draw[->] (header) -- (main); -\draw[->] (one) -- (main); -\draw[->] (two) -- (main); -\end{tikzpicture} -\end{document} \ No newline at end of file diff --git a/sections/german/04/tikz_src/tikz_path-crop.svg b/sections/german/04/tree-crop.svg similarity index 100% rename from sections/german/04/tikz_src/tikz_path-crop.svg rename to sections/german/04/tree-crop.svg diff --git a/sections/german/04/tikz_src/tikz_path-orig.svg b/sections/german/04/tree-orig.svg similarity index 100% rename from sections/german/04/tikz_src/tikz_path-orig.svg rename to sections/german/04/tree-orig.svg diff --git a/sections/german/04/tree.png b/sections/german/04/tree.png deleted file mode 100644 index ab11273..0000000 Binary files a/sections/german/04/tree.png and /dev/null differ diff --git a/sections/german/04/tree.tex b/sections/german/04/tree.tex new file mode 100644 index 0000000..beab00d --- /dev/null +++ b/sections/german/04/tree.tex @@ -0,0 +1,33 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node {/ oder C:} + child { node {home} + child { node {knut} + child { node {pictures}} + child { node {docs} + child { node { latex} + child { node { main.tex}}} + } + } + }; + \end{tikzpicture} +\end{document} \ No newline at end of file