From ada53a9c225b896c8d7608300427aac475bb7045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Tue, 9 Feb 2021 21:52:16 +0100 Subject: move all iamges to separate files --- buch/chapters/95-homologie/chapter.tex | 37 +----------------- buch/chapters/95-homologie/images/Makefile | 10 +++++ buch/chapters/95-homologie/images/dreieck.pdf | Bin 0 -> 12089 bytes buch/chapters/95-homologie/images/dreieck.tex | 54 ++++++++++++++++++++++++++ 4 files changed, 65 insertions(+), 36 deletions(-) create mode 100644 buch/chapters/95-homologie/images/Makefile create mode 100644 buch/chapters/95-homologie/images/dreieck.pdf create mode 100644 buch/chapters/95-homologie/images/dreieck.tex (limited to 'buch/chapters/95-homologie') diff --git a/buch/chapters/95-homologie/chapter.tex b/buch/chapters/95-homologie/chapter.tex index 95ecb79..eaa56c4 100644 --- a/buch/chapters/95-homologie/chapter.tex +++ b/buch/chapters/95-homologie/chapter.tex @@ -14,42 +14,7 @@ Es ist zum Beispiel nicht möglich, ein Dreieck vom Rand eines Dreiecks zu unterscheiden~\ref{buch:homologie:figure:zusammenziehbar}. \begin{figure} \centering -\begin{tikzpicture}[>=latex,thick] -\def\punkt#1{ - \fill[color=white] #1 circle[radius=0.07]; - \draw #1 circle[radius=0.07]; -} -\begin{scope}[xshift=3cm] -\draw[->] (0,0) -- (3,3); -\draw[->] (0,0) -- (4,1); -\draw[->] (4,1) -- (3,3); -\node at (0,0) [below left] {$P_0$}; -\node at (4,1) [below right] {$P_1$}; -\node at (3,3) [above] {$P_2$}; -\punkt{(0,0)} -\punkt{(4,1)} -\punkt{(3,3)} -\node at (2,0.5) [below] {$k_{01}$}; -\node at (1.5,1.5) [above left] {$k_{02}$}; -\node at (3.5,2) [right] {$k_{12}$}; -\end{scope} -\begin{scope}[xshift=-3cm] -\fill[color=gray!40] (0,0) -- (4,1) -- (3,3) -- cycle; -\draw[->] (0,0) -- (3,3); -\draw[->] (0,0) -- (4,1); -\draw[->] (4,1) -- (3,3); -\node at (0,0) [below left] {$P_0$}; -\node at (4,1) [below right] {$P_1$}; -\node at (3,3) [above] {$P_2$}; -\node at (2,0.5) [below] {$k_{01}$}; -\node at (1.5,1.5) [above left] {$k_{02}$}; -\node at (3.5,2) [right] {$k_{12}$}; -\node at (2.333,1.333) {$\triangle$}; -\punkt{(0,0)} -\punkt{(4,1)} -\punkt{(3,3)} -\end{scope} -\end{tikzpicture} +\includegraphics{chapters/95-homologie/images/dreieck.pdf} \caption{Ein Dreieck $\triangle$ (rechts) und der Rand des Dreicks (links) sind mit den Methoden der Graphentheorie nicht unterschiedbar. diff --git a/buch/chapters/95-homologie/images/Makefile b/buch/chapters/95-homologie/images/Makefile new file mode 100644 index 0000000..82f1285 --- /dev/null +++ b/buch/chapters/95-homologie/images/Makefile @@ -0,0 +1,10 @@ +# +# Makefile +# +# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +# +all: dreieck.pdf + +dreieck.pdf: dreieck.tex + pdflatex dreieck.tex + diff --git a/buch/chapters/95-homologie/images/dreieck.pdf b/buch/chapters/95-homologie/images/dreieck.pdf new file mode 100644 index 0000000..e5d360a Binary files /dev/null and b/buch/chapters/95-homologie/images/dreieck.pdf differ diff --git a/buch/chapters/95-homologie/images/dreieck.tex b/buch/chapters/95-homologie/images/dreieck.tex new file mode 100644 index 0000000..1c28bc7 --- /dev/null +++ b/buch/chapters/95-homologie/images/dreieck.tex @@ -0,0 +1,54 @@ +% +% dreieck.tex -- Dreieck und Simplex +% +% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +% +\documentclass[tikz]{standalone} +\usepackage{amsmath} +\usepackage{times} +\usepackage{txfonts} +\usepackage{pgfplots} +\usepackage{csvsimple} +\usetikzlibrary{arrows,intersections,math} +\begin{document} +\def\skala{1} +\begin{tikzpicture}[>=latex,thick,scale=\skala] + +\def\punkt#1{ + \fill[color=white] #1 circle[radius=0.07]; + \draw #1 circle[radius=0.07]; +} +\begin{scope}[xshift=3cm] +\draw[->] (0,0) -- (3,3); +\draw[->] (0,0) -- (4,1); +\draw[->] (4,1) -- (3,3); +\node at (0,0) [below left] {$P_0$}; +\node at (4,1) [below right] {$P_1$}; +\node at (3,3) [above] {$P_2$}; +\punkt{(0,0)} +\punkt{(4,1)} +\punkt{(3,3)} +\node at (2,0.5) [below] {$k_{01}$}; +\node at (1.5,1.5) [above left] {$k_{02}$}; +\node at (3.5,2) [right] {$k_{12}$}; +\end{scope} +\begin{scope}[xshift=-3cm] +\fill[color=gray!40] (0,0) -- (4,1) -- (3,3) -- cycle; +\draw[->] (0,0) -- (3,3); +\draw[->] (0,0) -- (4,1); +\draw[->] (4,1) -- (3,3); +\node at (0,0) [below left] {$P_0$}; +\node at (4,1) [below right] {$P_1$}; +\node at (3,3) [above] {$P_2$}; +\node at (2,0.5) [below] {$k_{01}$}; +\node at (1.5,1.5) [above left] {$k_{02}$}; +\node at (3.5,2) [right] {$k_{12}$}; +\node at (2.333,1.333) {$\triangle$}; +\punkt{(0,0)} +\punkt{(4,1)} +\punkt{(3,3)} +\end{scope} + +\end{tikzpicture} +\end{document} + -- cgit v1.2.1