3

As mentioned above, like the picture below:

picture with tables

  • You can do that with the psmatrix environment, from the pst-node package (a member of the pstricks family). – Bernard May 3 '15 at 11:59
  • 3
    To the downvoters: Please don't downvote a question (especially if it's the first question of a new user) without leaving an explanation of why you think the question needs improvement. Just downvoting without giving the user a chance to improve their post is useless and plain hostile. – Jake May 3 '15 at 12:37
  • 1
    dshbusiness, welcome to Tex.SE. Probably you got downvoted because usually, asking how to draw something just supplying a picture of your desired result without posting any code attempt in your question is seen as a "gimme teh codez" request and not very well welcomed. Probably you were asking how in a "what could I use" sense and that's a more valid question. You can ask what packages are best suited for a certain task. In any case, adding some wording to your question to make this explicit is the best bet. – Alenanno May 3 '15 at 15:02
  • By the way, you can still edit your question (and downvotes might be retracted in that case). – Alenanno May 3 '15 at 15:05
  • Alternatively, you could post some code e.g. for the individual parts of the picture and ask for help putting them together to form the whole diagram. If the question is which packages you could use: you could use tikz as an alternative to pstricks. TikZ also has libraries for matrices and so on. Or you could create the individual elements and then use tikzmark to annotate them and add the arrows etc. – cfr May 3 '15 at 15:10
3

A starting point using 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} 

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.