Seite 1 von 1

Beginn Pfeile

Verfasst: Mi 12. Sep 2018, 01:02
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}

Verfasst: Mi 12. Sep 2018, 03:36
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}

Verfasst: Mi 12. Sep 2018, 10:45
von aasaa00
Danke!