I wish to have a table with two rows - first one with a picture, and the second is some text (I know I can probably do it within the figure environment, but I want to do it on my own). I want the text to be split whenever necessary, so I use \begin{tabular}{p{width}}. However, I decided that I want to firstly set the height of the picture, and then let the width of the scaled picture determine the width of the text cell. How can I do it?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
|||
|
|
First set the picture into a box, then you can get the width of the box to use in your p argument using
|
|||||||||||||||
|