# [texhax] Long Caption in Table

Axel E. Retif axel.retif at mac.com
Tue Mar 31 10:00:30 CEST 2009

On  31 Mar, 2009, at 01:39, Philip G. Ratcliffe wrote:

>>> I finally managed to create a table that look pretty good; however,
>>> the caption for this table is quite lengthy and I can't see how it
>>> can be written over two or three lines so this caption would have
>>> the same width as the table.
>>>
>>> I would greatly appreciate if someone could help me with
>> this problem
>>
>> The caption package seems to me the help you need. In your
>> terminal or
>> Command Prompt, do
>>
>> texdoc caption-eng
>
> Actually, in a footnote on page 11 of the manual the author states:
> "Only
> fixed widths are supported here; if you are looking for a way to
> limit the
> width of the caption to the width of the figure or table, please
> take a look
> at the floatrow [8] or threeparttable [22] package."

You're right. I thought you could change it locally with a
\captionsetup{margin=xx}, but I just tried it, and, no, you can't.

Thanks for clarifying this point.

Best,

Axel