I have to draw an arrow to a table like in this picture.

|
|
|
And as a LaTeX document.
|
||||
|
|
|
For the task of drawing stack diagrams I once used the Groff PIC processor which can emit TeX. PIC is a diagram language from the Unix Troff tool. For the example below, the PIC code looked like this:
Obviously this is not a pure TeX solution but the description language is suffiently high level to mark an interesting point in the design space. |
|||
|
|
|
Here's a quick mock-up with Plain:
|
||||
|
|
|
One way to do would be by making a Tikz image as shown here make each cell of a table as node and then you can connect arrows from anywhere in the document as long as your references are correct. How to draw lines around multiple table cells |
|||
|
|