title: How to align the long caption of the table in LaTeX?
body: <p>I have a longtable in LaTeX with a caption that doesn't fit into one line, e.g.</p>
  
  <pre><code>\begin{longtable}{lrrr}
  \caption{This is a very long caption that does not fit into one line}
  ...
  \end{longtable}
  </code></pre>
  
  <p>The resulting PDF looks as follows:</p>
  
  <pre><code>Figure 1: This is a very long caption that does not fit
  into one line
  </code></pre>
  
  <p>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</p>
  
  <pre><code>Figure 1: This is a very long caption that does not fit
            into one line
  </code></pre>
  
  <p>or at least make the caption text be centered.
  How can I do this?</p>