figure-a-simple-example-for-tl.tex 946 Bytes
Newer Older
zengxin committed
1 2 3 4 5 6 7 8 9 10 11



%%% outline
%-------------------------------------------------------------------------
\begin{tikzpicture}
%第一段----------------------------------------------
%原文-------------
\node [pos=0.4,left,xshift=-36em,yshift=7em,font=\small] (original0) {\quad 源语(中文)输入:};
\node [pos=0.4,left,xshift=-22em,yshift=7em,font=\small] (original1) {
\begin{tabular}[t]{l}
zengxin committed
12
\parbox{14em}{“我”、“很”、“好”、“<eos>” }
zengxin committed
13 14 15 16 17 18
\end{tabular}
};
%译文1--------------mt1
\node[font=\small] (mt1) at ([xshift=0em,yshift=-1em]original0.south) {目标语(英文)输出:};
\node[font=\small] (ts1) at ([xshift=0em,yshift=-1em]original1.south)  {
\begin{tabular}[t]{l}
zengxin committed
19
\parbox{14em}{“I”、“am”、“fine”、“<eos>”}
zengxin committed
20 21 22 23 24 25 26 27 28 29 30
\end{tabular}
};

\begin{pgfonlayer}{background}
{
\node[rectangle,draw=ublue, inner sep=0mm] [fit =(original0)(mt1)(ts1)(ts1)(original1)(original1)] {};
}
\end{pgfonlayer}


\end{tikzpicture}