Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 4

18 Jul '16, 21:56

Henri's gravatar image

Henri
15.7k133943

In den TikZ-Matrizen kann man die einzelnen Einträge direkt adressieren. \matrix (m) {...}; \path (m-<Zeile>-<Spalte>) ... ; Die Klammern werden gaaanz unten gezeichnet. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \tikzset{ bracket/.default=0.5, bracket/.default=0.5cm, bracket/.style={ to path={ (\tikztostart) -- ++(0,#1) coordinate (c) ([yshift=#1]\tikztostart) -- (c -| \tikztotarget) ([yshift=#1]\tikztotarget) \tikztonodes -- (\tikztotarget) } }, NodeStyle/.style={ text height=1.5ex, text depth=0ex, align=left, font=\sffamily\footnotesize, rectangle, minimum height=1.0cm, } } \begin{tikzpicture}[scale=1] \matrix[](A) { 1 & 3 \\ 4 & 5 \\ }; \matrix (m) [draw=none,matrix of nodes,nodes in empty cells] {% -------------------------------------------------------------------- % Raumaufteilungen $R_{12} =$& $\big\{$ & $(x_1, x_2, x_3)$ & & $(x_4)$ & & $(x_5, x_6)$ & & $(x_7, x_8)$ & & $(x_9, x_{10}, x_{11}, x_{12})$ & $\big\}$ \\ % Koordinationszahl $k =$ & $\big\{$ & $3,$ & & $1,$ & & $2,$ & & $2,$ & & $4$ & $\big\}$ \\ % Teilmengen $R_{12} =$& & $R_3$ & $\cup$ & $T$ & $\cup$ & $S_2$ & $\cup$ & $I_2$ & $\cup$ & $G_4$ & & \\[2ex] % Erläuterung & & \node[NodeStyle]{Raum \\ (reel)};& & \node[NodeStyle]{Zeit \\};& & \node[NodeStyle]{Struktur,\\ Organisation};& & \node[NodeStyle]{Information \\ (zeitlos)};& & \node[NodeStyle]{"$G$ott allein bekannt" \\ (zeitlos)};& & \\ };% -------------------------------------------------------------------- \draw[very thick,blue] (m-1-3.north west) to[bracket] node[above=.3em] {Heimische Welt} (m-1-7.north east); \draw[very thick,blue] ([yshift=1cm]m-1-3.north west) to[bracket] node[above=.3em] {Heim/Dr\"oscher Welt} ([yshift=1cm]m-1-9.north east); \end{tikzpicture} \end{document} > ![alt text][1] [1]: http://texwelt.de/wissen/upfiles/test_162.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 3

18 Jul '16, 21:54

Henri's gravatar image

Henri
15.7k133943

In den TikZ-Matrizen kann man die einzelnen Einträge direkt adressieren. \matrix (m) {...}; \path (m-<Zeile>-<Spalte>) ... ; Die Klammern werden gaaanz unten gezeichnet. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{matrix,decorations.pathreplacing} \usetikzlibrary{matrix} \begin{document} \tikzset{ bracket/.default=0.5, bracket/.style={ to path={ (\tikztostart) -- ++(0,#1) coordinate (c) -- (c -| \tikztotarget) \tikztonodes -- (\tikztotarget) } }, NodeStyle/.style={ text height=1.5ex, text depth=0ex, align=left, font=\sffamily\footnotesize, rectangle, minimum height=1.0cm, } } \begin{tikzpicture}[scale=1] \matrix[](A) { 1 & 3 \\ 4 & 5 \\ }; \matrix (m) [draw=none,matrix of nodes,nodes in empty cells] {% -------------------------------------------------------------------- % Raumaufteilungen $R_{12} =$& $\big\{$ & $(x_1, x_2, x_3)$ & & $(x_4)$ & & $(x_5, x_6)$ & & $(x_7, x_8)$ & & $(x_9, x_{10}, x_{11}, x_{12})$ & $\big\}$ \\ % Koordinationszahl $k =$ & $\big\{$ & $3,$ & & $1,$ & & $2,$ & & $2,$ & & $4$ & $\big\}$ \\ % Teilmengen $R_{12} =$& & $R_3$ & $\cup$ & $T$ & $\cup$ & $S_2$ & $\cup$ & $I_2$ & $\cup$ & $G_4$ & & \\[2ex] % Erläuterung & & \node[NodeStyle]{Raum \\ (reel)};& & \node[NodeStyle]{Zeit \\};& & \node[NodeStyle]{Struktur,\\ Organisation};& & \node[NodeStyle]{Information \\ (zeitlos)};& & \node[NodeStyle]{"$G$ott allein bekannt" \\ (zeitlos)};& & \\ };% -------------------------------------------------------------------- \draw[decorate,decoration=brace] \draw[very thick,blue] (m-1-3.north west) -- to[bracket] node[above=.3em] {Heimische Welt} (m-1-7.north east); \draw[decorate,decoration=brace] \draw[very thick,blue] ([yshift=1cm]m-1-3.north west) -- to[bracket] node[above=.3em] {Heim/Dr\"oscher Welt} ([yshift=1cm]m-1-9.north east); \end{tikzpicture} \end{document} > ![alt text][1] [1]: http://texwelt.de/wissen/upfiles/test_161.pnghttp://texwelt.de/wissen/upfiles/test_162.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

18 Jul '16, 20:50

Henri's gravatar image

Henri
15.7k133943

Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

18 Jul '16, 20:46

Henri's gravatar image

Henri
15.7k133943