figure-absolute-match-word-alignment-1.tex 1.78 KB
Newer Older
曹润柘 committed
1
\begin{tikzpicture}[scale=0.5]
zhoutao committed
2 3
	\tikzstyle{cand} = [draw,line width=1pt,align=center,minimum width=2.6em,minimum height=1.6em,drop shadow={shadow xshift=0.15em},fill=green!15]
	\tikzstyle{ref} = [draw,line width=1pt,align=center,minimum width=2.6em,minimum height=1.6em,drop shadow={shadow xshift=0.15em},fill=red!15]
曹润柘 committed
4
		
zhoutao committed
5
		\node[align=center,minimum width=2.4em,minimum height=1.6em,minimum width=6em] (n11) at (0,0){\small{机器译文:}};
曹润柘 committed
6 7 8
		\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};
zhoutao committed
9
		\node[cand,anchor=west] (n15) at ([xshift=1em]n14.east){it};
曹润柘 committed
10 11
		\node[cand,anchor=west] (n16) at ([xshift=1em]n15.east){like};
		\node[cand,anchor=west] (n17) at ([xshift=1em]n16.east){he};
zhoutao committed
12
		\node[cand,anchor=west] (n18) at ([xshift=1em]n17.east){?};
曹润柘 committed
13
		
zhoutao committed
14
		\node[align=center,minimum width=2.4em,minimum height=1.6em,anchor=north,minimum width=6em] (n21) at ([yshift=-6em]n11.south){\small{参考答案:}};
曹润柘 committed
15 16 17 18
		\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};
19
		\node[ref,anchor=west] (n26) at ([xshift=1em]n25.east){can};
曹润柘 committed
20
		\node[ref,anchor=west] (n27) at ([xshift=1em]n26.east){like};
zhoutao committed
21 22
		\node[ref,anchor=west] (n28) at ([xshift=1em]n27.east){him};
		\node[ref,anchor=west] (n29) at ([xshift=1em]n28.east){?};
曹润柘 committed
23 24 25 26
		
		\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] (n16.south) -- (n27.north);
zhoutao committed
27
		\draw[line width=1.6pt,blue!40] (n18.south) -- (n29.north);
曹润柘 committed
28
\end{tikzpicture}