Hi there,
I am making a table document, meaning that the whole document will be a table. It seems to work absolutely fine, except when I \includegraphics. The figure shows at the right place, but the text in the next column is align at the bottom of the figure, leaving a blank. Is there anyway to remove this blank, and to have the text next to my figure. Cheers
Graphics, Figures & Tables ⇒ figures in table
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: figures in table
I found a solution that suits me pretty well. I just need to add a new line in the cell on top of the figure.
It seems like the compiler aligns the first line of text in each column. Therefore, having a figure on top, forces the text in the next cell to be align at the bottom of the figure.
Cheers
It seems like the compiler aligns the first line of text in each column. Therefore, having a figure on top, forces the text in the next cell to be align at the bottom of the figure.
Cheers
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
figures in table
This is more a workaround than a real solution. Show with a sample table what you want to do and we will see how to get it working.fatra2 wrote:I found a solution that suits me pretty well. I just need to add a new line in the cell on top of the figure. [...]
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
figures in table
Hi fatra2,
the base line of included graphics is at the bottom, this could cause that alignment. Have a look here: Vertical alignment of graphics, you could try that \vspace{0pt} hack or use \raisebox for example.
Or post a piece of your code.
Stefan
the base line of included graphics is at the bottom, this could cause that alignment. Have a look here: Vertical alignment of graphics, you could try that \vspace{0pt} hack or use \raisebox for example.
Or post a piece of your code.
Stefan
LaTeX.org admin
figures in table
And you are absolutely right, this is a workaround. But this is the only suitable workaround I found up to now. I have tried with raisebox, but then the text that is raised never breaks line.This is more a workaround than a real solution.
The appearance is quite suitable for me, specially that I have a few figures in my table. I would look for a real solution if I would have all the time in the world, and many more figures to include.
Thank you for your help. Cheers