# Include image in a table [duplicate]

I am trying to include an image inside a table cell. But I am declaring the image using the `figure` environment, where I can include a label to reference to inside the document (that's why I did't use `\includegraphics`, because this hasn't got a label to use as reference)

As it appears to be, I can't put the `figure` environment inside a table, because they are incompatible. But this is the only way I know for later referencing inside the text.

-

## migrated from stackoverflow.comApr 15 '11 at 19:51

This question came from our site for professional and enthusiast programmers.

## marked as duplicate by Caramdir, lockstep, Martin Scharrer♦Apr 15 '11 at 20:52

Sorry, I think I entered the wrong number. I wanted to suggest tex.stackexchange.com/questions/7210/… as a duplicate. –  Caramdir Apr 15 '11 at 20:01
tex.stackexchange.com/questions/6438/… in also related. –  Caramdir Apr 15 '11 at 20:01
@Caramdir: I removed the wrong duplicate as requested. Turns out it can be simply edited away. :-) –  Martin Scharrer Apr 15 '11 at 20:57