1

I have a longtable in LaTeX with a caption that doesn't fit into one line, e.g.

\begin{longtable}{lrrr}
\caption{This is a very long caption that does not fit into one line}
...
\end{longtable}

The resulting PDF looks as follows:

Figure 1: This is a very long caption that does not fit
into one line

I would like the second line of the caption be either aligned with the start of the caption (not the text "Figure 1") to make it look like

Figure 1: This is a very long caption that does not fit
          into one line

or at least make the caption text be centered. How can I do this?

vitaut
  • 49,672
  • 25
  • 199
  • 336
  • Check here: http://stackoverflow.com/questions/1110961/latex-longtable-package-pwidth-and-multicolumn-question – eumiro Oct 25 '10 at 11:42

1 Answers1

5

What documentclass are you using?

If you use something from komascript, your wish should be the default.

So I suppose, you do not use komascript. Then, try the caption package. You have to specify the option format=hang in order to get what you want (i.e. \usepackage[format=hang]{caption}.

phimuemue
  • 34,669
  • 9
  • 84
  • 115