%%%------------------------------------------------------------------------------------------------------------ %%% 短语系统的问题 - 一个实例 \begin{center} \begin{tikzpicture} \begin{scope} \node [anchor=east] (shead) at (0,0) {源语:}; \node [anchor=west] (swords) at (shead.east) {澳洲\ \ 是\ \ 与\ \ 北韩\ \ 有\ \ 邦交\ \ 的\ \ 少数\ \ 国家\ \ 之一}; \node [anchor=north east] (thead) at ([yshift=-0.8em]shead.south east) {短语系统:}; \node [anchor=west] (twords) at (thead.east) {Australia is diplomatic relations with North Korea}; \node [anchor=north west] (twords2) at ([yshift=-0.2em]twords.south west) {is one of the few countries}; \node [anchor=north east] (rhead) at ([yshift=-2.2em]thead.south east) {参考译文:}; \node [anchor=west] (rwords) at (rhead.east) {Australia is one of the few countries that have}; \node [anchor=north west] (rwords2) at ([yshift=-0.2em]rwords.south west) {diplomatic relations with North Korea}; \begin{pgfonlayer}{background} { \draw[fill=red!20,draw=white] ([xshift=-5.4em]twords.north) rectangle ([xshift=10.8em]twords.south); \draw[fill=blue!20,draw=white] ([xshift=-4.6em]twords2.north) rectangle ([xshift=6.1em]twords2.south); \node [anchor=south east,inner sep=1pt,fill=black] (l1) at ([xshift=10.8em]twords.south) {\tiny{{\color{white} 1}}}; \node [anchor=south east,inner sep=1pt,fill=black] (l2) at ([xshift=6.1em]twords2.south) {\tiny{{\color{white} 2}}}; } \end{pgfonlayer} \end{scope} \end{tikzpicture} \end{center}