| Öffne in Overleaf \documentclass{beamer} \usetheme{CambridgeUS} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,theorem, graphics, graphicx, wrapfig,relsize} \usepackage{textcomp} \usepackage{tikz} \usepackage{caption} \usetikzlibrary{decorations.pathreplacing} \usepackage{mathrsfs} \usepackage{yfonts} \usepackage{enumerate} \usepackage{dsfont} \usepackage{setspace} %für Zeilenabstände \usepackage{fancyhdr} \usetikzlibrary{arrows,positioning} \begin{document} \title{Test} \author{runix} %\logo{\includegraphics[scale=0.14]{logo-SF}} \begin{frame} \titlepage \end{frame} \begin{frame}\frametitle{Test} \begin{figure} \centering \begin{tikzpicture}[node distance=1cm, auto] \tikzset{ mynode/.style={rectangle,rounded corners,draw=black, top color=white, bottom color=yellow!50,very thick, inner sep=1em, minimum size=3em, text centered}, myarrow/.style={->, >=latex', shorten >=1pt, thick}, mylabel/.style={text width=7em, text centered} } \node[mynode] (manufacturer) {MANUFACTURER}; \node[below=3cm of manufacturer] (dummy) {}; \node[mynode, left=of dummy] (retailer1) {RETAILER 1}; \node[mynode, right=of dummy] (retailer2) {RETAILER 2}; \node[mylabel, below left=of manufacturer] (label1) {Participation rate $\theta_1$}; \node[mylabel, below right=of manufacturer] (label2) {Participation rate $\theta_2$}; % The text width of 7em forces the text to break into two lines. \draw[myarrow] (manufacturer.south) -- ++(-.5,0) -- ++(0,-1) -| (retailer1.north); \draw[myarrow] (manufacturer.south) -- ++(.5,0) -- ++(0,-1) -| (retailer2.north); % There is a slight overlap of the arrows with the (manufacturer) south edge % because creating the offset in another way didn't compile. \draw[<->, >=latex', shorten >=2pt, shorten <=2pt, bend right=45, thick, dashed] (retailer1.south) to node[auto, swap] {Competition}(retailer2.south); % The swap command corrects the placement of the text. \end{tikzpicture} \medskip %\caption{Structure of the Market} \end{figure} \end{frame} \end{document} Ausgangspunkt ist obiges Beispiel von texample. Ich würde es aber gerne verstehen um daran basteln zu können. Wie kriege ich es z. B. hin, dass der  
    
        
            Ergebnis 5 von 6
        
        show 1 more comments
    
    
 | 
| Das Grundprinzip der Grafik ist, Knoten (teils mit, teils ohne Text) via  Leider ist die (von saputello explizit gestellte) Frage offen geblieben, wie genau das ganze am Ende aussehen soll. Ich gehe daher davon aus, dass das Bild quasi auf den Kopf gestellt werden soll. Da die Platzierung der Knoten zueinander über die  Außerdem muss beim Zeichnen der Pfeile zwischen den Knoten das eine oder andere Vorzeichen umgekehrt werden und ggf. die Schriftplatzierung am gebogenen Pfeil, die mit  Bei der Gelegenheit habe ich auch gleich die veraltete  Öffne in Overleaf \documentclass{beamer} \usetheme{CambridgeUS} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{arrows.meta,positioning} \begin{document} \begin{frame}\frametitle{Test} \begin{figure} \centering \begin{tikzpicture}[node distance=1cm, auto] \tikzset{ mynode/.style={rectangle,rounded corners,draw=black, top color=white, bottom color=yellow!50,very thick, inner sep=1em, minimum size=3em, text centered}, myarrow/.style={-{Stealth}, shorten >=1pt, thick}, mylabel/.style={text width=7em, text centered} } \node[mynode] (manufacturer) {MANUFACTURER}; \node[above=3cm of manufacturer] (dummy) {}; \node[mynode, left=of dummy] (retailer1) {RETAILER 1}; \node[mynode, right=of dummy] (retailer2) {RETAILER 2}; \node[mylabel, above left=of manufacturer] (label1) {Participation rate $\theta_1$}; \node[mylabel, above right=of manufacturer] (label2) {Participation rate $\theta_2$}; % The text width of 7em forces the text to break into two lines. \draw[myarrow] (manufacturer.north) -- ++(-.5,0) -- ++(0,1) -| (retailer1.south); \draw[myarrow] (manufacturer.north) -- ++(.5,0) -- ++(0,1) -| (retailer2.south); % There is a slight overlap of the arrows with the (manufacturer) south edge % because creating the offset in another way didn't compile. \draw[{Stealth}-{Stealth}, shorten >=2pt, shorten <=2pt, bend right=-45, thick, dashed] (retailer1.north) to node[auto] {Competition}(retailer2.north); \end{tikzpicture} \medskip \end{figure} \end{frame} \end{document} mit dem Ergebnis 
 Die Größe der Knoten ist im Beispiel übrigens über ihre Minimalgröße ( | 
 
			
 
  
Das sind doch wieder mehrere Fragen auf einmal. :(
Das Beispiel platziert zunächst Knoten mit Inhalt (und im Fall von
dummyauch ohne Inhalt) relativ zueinander und verbindet diese dann mit Linien und Pfeilen, wobei die Namen der Knoten verwendet werden. Wenn der Kasten mitMANUFACTURERunten stehen soll, sollen dann das ganze quasi auf den Kopf gestellt werden? Dann überleg mal, wasbelow=3cm of manufacturerbeim Knoten mit dem Namendummywohl bedeutet. Stelle Vermutungen an, wie Du das passend ändern könntest und lies in der Anleitung nach, ob das wohl stimmt. Bei konkreten Problem damit frag konkret nach.Fragen zur Größe von Nodes hatten wir bestimmt schon. Such mal danach.
Wie man in Abschnitt 40 der
pgf-Anleitung erfährt, ist diearrowLibrary veraltet. Trotzdem erfährt man in der Anleitung noch, wozu die einmal da war.Wenn sie veraltet ist, was benutzt man stattdessen?
Abschnitt 40 der
pgf-Anleitung habe ich nicht extra herausgesucht und erwähnt, weil ich zu viel Zeit übrig habe sondern obwohl meine Zeit wertvoll ist.