Add tikz images for all illustrations
@ -62,7 +62,7 @@ Hier ein Absatz zum
|
||||
Inhalt von Abschnitt 1.</code></pre>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<p><img src="sections/german/04/main_und_unterdateien.png"></p>
|
||||
<p><img src="sections/german/04/main_parts.png"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -101,8 +101,7 @@ Inhalt von Abschnitt 1.</code></pre>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/unix_tree.png">
|
||||
<img src="sections/german/04/windows_tree.png">
|
||||
<img src="sections/german/04/tree.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -128,8 +127,7 @@ Inhalt von Abschnitt 1.</code></pre>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/unix_absolute_path.png">
|
||||
<img src="sections/german/04/windows_absolute_path.png">
|
||||
<img src="sections/german/04/absolute_path.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -152,8 +150,7 @@ Inhalt von Abschnitt 1.</code></pre>
|
||||
<p>Der **einfache Punkt .** bezieht sich bei relativen Pfaden auf den Ordner, in dem die Ausgangsdatei liegt (hier: latex).</p>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/unix_relative_path.png">
|
||||
<img src="sections/german/04/windows_relative_path.png">
|
||||
<img src="sections/german/04/relative_path.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -170,8 +167,7 @@ Inhalt von Abschnitt 1.</code></pre>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/unix_relative_path_subdir.png">
|
||||
<img src="sections/german/04/windows_relative_path_subdir.png">
|
||||
<img src="sections/german/04/relative_path_subdir.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -190,8 +186,7 @@ Inhalt von Abschnitt 1.</code></pre>
|
||||
<p>**Zwei Punkte ..** bezeichnen den Elternordner des aktuellen Ordners (hier: Dokumente, der Elternordner latex des Ordners main).</p>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/unix_relative_path_superdir.png">
|
||||
<img src="sections/german/04/windows_relative_path_superdir.png">
|
||||
<img src="sections/german/04/relative_path_superdir.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -230,6 +225,6 @@ Inhalt von Abschnitt 1.</code></pre>
|
||||
Ein einfacher Weg, um die Hauptdatei noch übersichtlicher zu halten.</p>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/main_und_unterdateien_inkl_header.png">
|
||||
<img src="sections/german/04/main_parts_header.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
BIN
sections/german/04/absolute_path.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
sections/german/04/main_parts.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
sections/german/04/main_parts_header.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 30 KiB |
BIN
sections/german/04/relative_path.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
sections/german/04/relative_path_subdir.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
sections/german/04/relative_path_superdir.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
190
sections/german/04/tikz_path.tex
Normal file
@ -0,0 +1,190 @@
|
||||
\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}
|
||||
BIN
sections/german/04/tree.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 15 KiB |