2

For linguistic syntax analysis I need two bent arrows with the same origin but different end.

What I have is this:

\documentclass{article}
\usepackage{tikz-cd}

\begin{document}

\[
\begin{tikzcd}
\textbf{baab}  \ar[bend left=50]{r}{RDP} &  baa\textbf{baab} \ar[bend left=19]{r} \ar[bend left=60]{r}{\textsc{rdp}} & po.\textbf{tambaambaabu}
\end{tikzcd}
\]
\end{document}

However, I would need the second two arrows to start at the same origin, and then the first arrow should reach the first mb sequence of tambaambaabu and the second arrow should point at the second sequence of mb.

1 Answer 1

3

You can specify the start anchor and choose the same one for both paths.

\documentclass{article}
\usepackage{tikz-cd}

\begin{document}

\[
\begin{tikzcd}
\textbf{baab}  \ar[bend left=50]{r}{RDP} &  
baa\textbf{baab} \ar[start anchor=north,end anchor=160,bend left=19]{r} 
\ar[start anchor=north,end anchor=50,bend left=60]{r}{\textsc{rdp}} & 
po.\textbf{tambaambaabu}\\
\end{tikzcd}
\]
\end{document}

enter image description here

4
  • Thats great, thank you. Though it would be very important to have the tips or the arrows each pointing exactly to its specific destination. Can that be done with anchor as well? Commented Dec 10, 2019 at 14:11
  • @IskandarThePupsi Of course, you can specify the end anchor as well. What do you mean by "specific destination"? (Will be offline for a short while now.)
    – user194703
    Commented Dec 10, 2019 at 14:13
  • the sepcific destination as in "the first arrow should reach the first mb sequence of tambaambaabu and the second arrow should point at the second sequence of mb" Commented Dec 10, 2019 at 14:16
  • I found the solution like this: \documentclass{article} \usepackage{tikz-cd} \usetikzlibrary{arrows,shapes} \begin{document} \[ \begin{tikzcd} \textbf{baab} \ar[bend left=50]{r}{RDP} & baa\textbf{baab} \ar[start anchor=north,bend left=60, end anchor=30]{r} \ar[start anchor=north,bend left=60, end anchor=150]{r}{\textsc{rdp}} & po.\textbf{tambaambaabu}\\ \end{tikzcd} \] \end{document} Commented Dec 10, 2019 at 14:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .