Beginn Pfeile

Tabellen und Grafiken erstellen und anordnen


aasaa00
Forum-Century
Forum-Century
Beiträge: 104
Registriert: Do 1. Mär 2018, 11:43

Beginn Pfeile

Beitrag von aasaa00 »

Hallo, bin noh ziemlich unerfahren im Umgang mit LaTeX und stecke gerade fest. Ich habe ein Pfeildiagramm erstellt und wollte den Pfeil zu Beginn des Wortes beginnen lassen (Im Beispiel also soll der Pfeil bei H bzw. p beginnen; aktuell fängt er bei einem der "a"s an). Ich bin nach mehrstündiger Suche nicht fündig geworden und würde mich über Hilfe freuen

\documentclass{minimal}
\usepackage{tikz}
\usepackage{verbatim}


\usetikzlibrary{arrows,positioning} 
\tikzset{
    %Define standard arrow tip
    >=stealth',
    %Define style for boxes
    punkt/.style={
           text width=6.5em,
           minimum height=2em,
           text centered},
    % Define arrow style
    pil/.style={
           ->,
           thick,
           shorten <=2pt,
           shorten >=2pt,}
}

\begin{document}

\begin{tikzpicture}[thick,scale=1.6, every node/.style={transform shape}]
 %nodes
 \node[punkt] (Bor) {G};
 \node[punkt, inner sep=5pt,below=0.5cm of Bor]
 (Unbek) {*paaaaaaaaaaaaaa}
(Bor) edge[pil,bend right=45] (Unbek); 
 \node[punkt, inner sep=5pt,below=0.5cm of Unbek] (Harv) {Haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
 (Unbek) edge[pil,bend right=45] (Harv);
 \node[punkt, inner sep=5pt,below=0.5cm of Harv] (172) {U}
 (Unbek) edge[pil,bend right=45] (172);
 

\end{tikzpicture}

\end{document}

Gast

Beitrag von Gast »

\documentclass{minimal}
\usepackage{tikz}

\usetikzlibrary{arrows,positioning}
\tikzset{
    %Define standard arrow tip
    >=stealth',
    %Define style for boxes
    punkt/.style={
           text width=6.5em,
           minimum height=2em,
           text centered},
    % Define arrow style
    pil/.style={
           ->,
           thick,
           shorten <=2pt,
           shorten >=2pt,}
}

\begin{document}
\begin{tikzpicture}[thick,scale=1.6, every node/.style={transform shape}]
 %nodes
 \node[punkt] (Bor) {G};
 \node[punkt, inner sep=5pt,below=0.5cm of Bor]
 (Unbek) {*paaaaaaaaaaaaaa}
(Bor) edge[pil,bend right=45] (Unbek); 
 \node[punkt, inner sep=5pt,below=0.5cm of Unbek] (Harv) {Haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
 (Unbek) edge[pil,bend right=45, transform canvas={xshift=-1cm}] (Harv);
 \node[punkt, inner sep=5pt,below=0.5cm of Harv] (172) {U}
 (Unbek) edge[pil,bend right=45, transform canvas={xshift=-1cm}] (172);
\end{tikzpicture}
\end{document}

aasaa00
Forum-Century
Forum-Century
Beiträge: 104
Registriert: Do 1. Mär 2018, 11:43

Beitrag von aasaa00 »

Danke!

Antworten