figure-word-root.tex 1.05 KB
Newer Older
曹润柘 committed
1 2 3 4 5

\begin{tikzpicture}
\node[] (do) at (0,0) {{\red do}}; 
\node[anchor = west] (does) at ([xshift = 1em]do.east) {{\red do}es};
\node[anchor = west] (doing) at ([xshift = 0.7em]does.east) {{\red do}ing};
6
\node[anchor = north] (do_root) at ([yshift = -1.5em]does.south) {do};
曹润柘 committed
7 8 9 10

\node[anchor = west] (new) at ([xshift = 2em]doing.east) {{\red new}}; 
\node[anchor = west] (newer) at ([xshift = 1em]new.east) {{\red new}er};
\node[anchor = west] (newest) at ([xshift = 0.7em]newer.east) {{\red new}est};
11 12
\node[anchor = north] (new_root) at ([yshift = -1.5em]newer.south) {new};
\draw [->] ([yshift=0.2em]do_root.north) .. controls +(north:0.4) and +(south:0.6) ..(do.south);
曹润柘 committed
13
\draw [->] (do_root.north) -- (does.south);
14 15
\draw [->] ([yshift=0.2em]do_root.north) .. controls +(north:0.4) and +(south:0.6) ..(doing.south);
\draw [->] ([yshift=0.2em]new_root.north) .. controls +(north:0.4) and +(south:0.6) ..(new.south);
曹润柘 committed
16
\draw [->] (new_root.north) -- (newer.south);
17
\draw [->] ([yshift=0.2em]new_root.north) .. controls +(north:0.4) and +(south:0.6) ..(newest.south);
曹润柘 committed
18
\end{tikzpicture}