von Fabian » Mi 18. Jul 2012, 13:49
\documentclass[12pt,leqno,titlepage,a4paper]{scrartcl}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,fit,positioning,shapes.symbols,chains}
\begin{document}
\begin{figure}[H]
\centering
\begin{tikzpicture}
[node distance = 1cm, auto,font=\footnotesize,
every node/.style={node distance=2cm},
comment/.style={rectangle, inner sep= 5pt, text width=4cm, node distance=0.25cm},
force/.style={rectangle, draw, fill=black!10, inner sep=5pt, text width=3.8cm, text badly centered, minimum height=1.2cm, font=\bfseries\footnotesize}]
\node [force](cc) {Cost Structure};
\node [force, above of=cc](ol){Operating Leverage\\Chapter \ref{subsec:nature}};
\node [force, left=1cm of cc](cm){Capital Markets\\Chapter \ref{subsubsec:capitalmarkets}};
\node [force, right=1cm of cc](ac){Accounting returns\\Chapter \ref{subsec:nature}};
\node [text width=3.8cm, text badly centered, minimum height=1.2cm, rectangle, rounded corners, draw, below of=ac](vola){Earnings volatility};
\node [text width=3.8cm, text badly centered, minimum height=1.2cm, rectangle, rounded corners, draw, above of=ac](p){Profitability};
\node [text width=3.8cm, text badly centered, minimum height=1.2cm, rectangle, rounded corners, draw, above of=cm](Risk){Risk aspects};
\node [text width=3.8cm, text badly centered, minimum height=1.2cm, rectangle, rounded corners, draw, below of=cm](Value){Value Anomaly};
\path[-,thick]
(cc) edge node[above]{}(cm)
(cc) edge node[above]{}(ac)
(cc) edge node[left]{\ref{sec:part1}}(ol);
\path[-]
(cm) edge node[left]{\ref{sec:part3}}(Risk)
(cm) edge node[left]{\ref{sec:part4}}(Value)
(ac) edge node[left]{\ref{sec:part2}}(vola)
(ac) edge node[left]{\ref{sec:part2}}(p);
\end{tikzpicture}
\onelinecaptionsfalse
\caption[Content of chapter \ref{sec:theory} and corresponding empirical investigations]{Content of chapter \ref{sec:theory} and corresponding empirical investigations\\The table gives an overview of the structure of chapter \ref{sec:theory}. It explains the connection between cost structure, operating leverage, accounting and stock return. The numbers near the connection lines indicate the corresponding chapters of the empirical investigations.}
\end{figure}
\end{document}
Ausser den Verweisen sollte dies nun funktionieren.
Danke und Gruss, Fabian
\documentclass[12pt,leqno,titlepage,a4paper]{scrartcl}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,fit,positioning,shapes.symbols,chains}
\begin{document}
\begin{figure}[H]
\centering
\begin{tikzpicture}
[node distance = 1cm, auto,font=\footnotesize,
every node/.style={node distance=2cm},
comment/.style={rectangle, inner sep= 5pt, text width=4cm, node distance=0.25cm},
force/.style={rectangle, draw, fill=black!10, inner sep=5pt, text width=3.8cm, text badly centered, minimum height=1.2cm, font=\bfseries\footnotesize}]
\node [force](cc) {Cost Structure};
\node [force, above of=cc](ol){Operating Leverage\\Chapter \ref{subsec:nature}};
\node [force, left=1cm of cc](cm){Capital Markets\\Chapter \ref{subsubsec:capitalmarkets}};
\node [force, right=1cm of cc](ac){Accounting returns\\Chapter \ref{subsec:nature}};
\node [text width=3.8cm, text badly centered, minimum height=1.2cm, rectangle, rounded corners, draw, below of=ac](vola){Earnings volatility};
\node [text width=3.8cm, text badly centered, minimum height=1.2cm, rectangle, rounded corners, draw, above of=ac](p){Profitability};
\node [text width=3.8cm, text badly centered, minimum height=1.2cm, rectangle, rounded corners, draw, above of=cm](Risk){Risk aspects};
\node [text width=3.8cm, text badly centered, minimum height=1.2cm, rectangle, rounded corners, draw, below of=cm](Value){Value Anomaly};
\path[-,thick]
(cc) edge node[above]{}(cm)
(cc) edge node[above]{}(ac)
(cc) edge node[left]{\ref{sec:part1}}(ol);
\path[-]
(cm) edge node[left]{\ref{sec:part3}}(Risk)
(cm) edge node[left]{\ref{sec:part4}}(Value)
(ac) edge node[left]{\ref{sec:part2}}(vola)
(ac) edge node[left]{\ref{sec:part2}}(p);
\end{tikzpicture}
\onelinecaptionsfalse
\caption[Content of chapter \ref{sec:theory} and corresponding empirical investigations]{Content of chapter \ref{sec:theory} and corresponding empirical investigations\\The table gives an overview of the structure of chapter \ref{sec:theory}. It explains the connection between cost structure, operating leverage, accounting and stock return. The numbers near the connection lines indicate the corresponding chapters of the empirical investigations.}
\end{figure}
\end{document}
Ausser den Verweisen sollte dies nun funktionieren.
Danke und Gruss, Fabian