Generalhow to draw a table with cells connected by arrows

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
lguminski
Posts: 2
Joined: Tue Jun 17, 2008 1:18 am

how to draw a table with cells connected by arrows

Post by lguminski »

Hi,

I need to draw a table with cells connected by arrows. Something similar to what you can see at the image below.
Image
(http://www.sudocue.net/images/guide/ng-13-02.png)

The problem is that I have no idea how to overlap and align a table and arrows. That would be great if somebody knew the solution.

Thanks,
Lukasz

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

how to draw a table with cells connected by arrows

Post by Stefan Kottwitz »

Hi Lukasz,

that should be possible by using pgf/TikZ, see its manual and the example collection by Kjell Magne Fauske.

Stefan
LaTeX.org admin
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

how to draw a table with cells connected by arrows

Post by gmedina »

I add this response just because I love symmetries ;) .
@Lukasz: please inform that you also posed your question in another forum (www.cqf.info), just to prevent repeated answers and redundant work.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
lguminski
Posts: 2
Joined: Tue Jun 17, 2008 1:18 am

how to draw a table with cells connected by arrows

Post by lguminski »

Hi,

Thank a lot for all the answers! I didn't expect to get them that fast:)
Kreso wrote:I usually draw this kind of pictures in a drawing application (such as Inkscape (freeware) or CorelDRAW), save them as EPS, and include them as graphic in LaTeX.
Yes, I am considering that, but first I would like to try to use Latex to get exactly the same appearance as tables that I already have in my document.
gmedina wrote:Try using the PGF/TikZ (documentation here) or PS-Tricks (documentation here) packages.
It seems promising. I will have a try.
Stefan wrote: it would be nice if you mention in your postings that you posted your question to another forum too, just to inform and to avoid double answers and redundant work.
You're right:) I have posted it to 2 forums. For 2 reasons: I love redundancy and I hoped to double the chance of getting an answer. The fact that you have noticed that proves that my assumptions were wrong.. But I hope that I have reached at least 1.5 higher probability;)

Cheers,
Lukasz
PS. If anybody knows any other way of solving the problem, don't hesitate to post it here.
Post Reply