画一幅图,其中某些部分是表格

画一幅图,其中某些部分是表格

就像上面说的,像下面的图一样:

带表格的图片

答案1

使用TikZ

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning,calc} 

\begin{document}

\begin{tikzpicture}
\node (ul)
  {%
    \begin{tabular}{|l|}
    \hline
    Reference paper \\
    \hline
    rp sentence1 \\
    rp sentence2 \\
    \hline
    \end{tabular}%
  };
\node[below=of ul] (ml)
  {%
    \begin{tabular}{|l|}
    \hline
    Citances to rp1 \\
    \hline
    citance1 \\
    citance2 \\
    \hline
    \end{tabular}%
  };
\node[below=of ml] (ll)
  {%
    \begin{tabular}{|l|}
    \hline
    Abstracts \\
    \hline
    abstract1 \\
    abstract2 \\
    \hline
    \end{tabular}%
  };

\node (mm) at ([xshift=3.5cm] $ (ul.north)!0.5!(ll.south) $ )
  {%
    \begin{tabular}{|l|l|}
    \hline
    rp1 & $\ldots$ \\
    rp2 & $\ldots$ \\
    \hline
    c1 & $\ldots$ \\
    c2 & $\ldots$ \\
    \hline
    a1 & $\ldots$ \\
    a2 & $\ldots$ \\
    \hline
    \end{tabular}%
  };
\foreach \Nodo in {ul,ml,ll}
{  \draw[->]
    (\Nodo.east) -- (mm);
}
\end{tikzpicture}

\end{document} 

在此处输入图片描述

相关内容