match-words-with-stem.tex 3.99 KB
Newer Older
曹润柘 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
\begin{tikzpicture}[scale=0.5]
	\tikzstyle{cand} = [draw,line width=1pt,align=center,minimum width=2.6em,minimum height=1.6em,drop shadow={shadow xshift=0.15em},fill=green!30]
	\tikzstyle{ref} = [draw,line width=1pt,align=center,minimum width=2.6em,minimum height=1.6em,drop shadow={shadow xshift=0.15em},fill=red!30]
		
		\node[align=center,minimum width=2.4em,minimum height=1.6em,minimum width=6em] (n11) at (0,0){\small\bfnew{Candidate :}};
		\node[cand,anchor=west] (n12) at ([xshift=0.0em]n11.east){Can};
		\node[cand,anchor=west] (n13) at ([xshift=1em]n12.east){I};
		\node[cand,anchor=west] (n14) at ([xshift=1em]n13.east){have};
		\node[cand,anchor=west] (n15) at ([xshift=1em]n14.east){this};
		\node[cand,anchor=west] (n16) at ([xshift=1em]n15.east){like};
		\node[cand,anchor=west] (n17) at ([xshift=1em]n16.east){he};
		\node[cand,anchor=west] (n18) at ([xshift=1em]n17.east){do};
		\node[cand,anchor=west] (n19) at ([xshift=1em]n18.east){it};
		\node[cand,anchor=west] (n20) at ([xshift=1em]n19.east){?};
		
		\node[align=center,minimum width=2.4em,minimum height=1.6em,anchor=north,minimum width=6em] (n21) at ([yshift=-6em]n11.south){\small\bfnew{Reference :}};
		\node[ref,anchor=west] (n22) at ([xshift=0.0em]n21.east){Can};
		\node[ref,anchor=west] (n23) at ([xshift=1em]n22.east){I};
		\node[ref,anchor=west] (n24) at ([xshift=1em]n23.east){eat};
		\node[ref,anchor=west] (n25) at ([xshift=1em]n24.east){this};
		\node[ref,anchor=west] (n26) at ([xshift=1em]n25.east){Can};
		\node[ref,anchor=west] (n27) at ([xshift=1em]n26.east){like};
		\node[ref,anchor=west] (n28) at ([xshift=1em]n27.east){he};
		\node[ref,anchor=west] (n29) at ([xshift=1em]n28.east){did};
		\node[ref,anchor=west] (n30) at ([xshift=1em]n29.east){?};
		
		\node[align=center,minimum width=2.4em,minimum height=1.6em,minimum width=6em] (n31) at ([yshift=-5em]n21.south){\small\bfnew{Candidate :}};
		\node[cand,anchor=west] (n32) at ([xshift=0.0em]n31.east){Can};
		\node[cand,anchor=west] (n33) at ([xshift=1em]n32.east){I};
		\node[cand,anchor=west] (n34) at ([xshift=1em]n33.east){have};
		\node[cand,anchor=west] (n35) at ([xshift=1em]n34.east){this};
		\node[cand,anchor=west] (n36) at ([xshift=1em]n35.east){like};
		\node[cand,anchor=west] (n37) at ([xshift=1em]n36.east){he};
		\node[cand,anchor=west] (n38) at ([xshift=1em]n37.east){do};
		\node[cand,anchor=west] (n39) at ([xshift=1em]n38.east){it};
		\node[cand,anchor=west] (n40) at ([xshift=1em]n39.east){?};
		
		\node[align=center,minimum width=2.4em,minimum height=1.6em,anchor=north,minimum width=6em] (n41) at ([yshift=-6em]n31.south){\small\bfnew{Reference :}};
		\node[ref,anchor=west] (n42) at ([xshift=0.0em]n41.east){Can};
		\node[ref,anchor=west] (n43) at ([xshift=1em]n42.east){I};
		\node[ref,anchor=west] (n44) at ([xshift=1em]n43.east){eat};
		\node[ref,anchor=west] (n45) at ([xshift=1em]n44.east){this};
		\node[ref,anchor=west] (n46) at ([xshift=1em]n45.east){Can};
		\node[ref,anchor=west] (n47) at ([xshift=1em]n46.east){like};
		\node[ref,anchor=west] (n48) at ([xshift=1em]n47.east){he};
		\node[ref,anchor=west] (n49) at ([xshift=1em]n48.east){did};
		\node[ref,anchor=west] (n50) at ([xshift=1em]n49.east){?};
		
		\draw[line width=1.6pt,blue!40] (n12.south) -- (n22.north);
		\draw[line width=1.6pt,blue!40] (n13.south) -- (n23.north);
		\draw[line width=1.6pt,blue!40] (n15.south) -- (n25.north);
		\draw[line width=1.6pt,blue!40] (n16.south) -- (n27.north);
		\draw[line width=1.6pt,blue!40] (n17.south) -- (n28.north);
		\draw[line width=1.6pt,blue!40] (n20.south) -- (n30.north);
		\draw[line width=2pt,orange!40] (n18.south) -- (n29.north);
		
		\draw[line width=1.6pt,blue!40] (n32.south) -- (n46.north);
		\draw[line width=1.6pt,blue!40] (n33.south) -- (n43.north);
		\draw[line width=1.6pt,blue!40] (n35.south) -- (n45.north);
		\draw[line width=1.6pt,blue!40] (n36.south) -- (n47.north);
		\draw[line width=1.6pt,blue!40] (n37.south) -- (n48.north);
		\draw[line width=1.6pt,blue!40] (n40.south) -- (n50.north);
		\draw[line width=2pt,orange!40] (n38.south) -- (n49.north);

\end{tikzpicture}