title: Make LaTeX table caption same width as table?
body: <p>It looks bad in my paper if a caption is wider than the table underneath it. How can I make them both align?</p>
  
  <p>Right now my code looks like:</p>
  
  <pre><code>\begin{table}[th!]
  \caption{Reference temperature blah blah}
  \centering
  \begin{tabular}{llll}
  ...
  \end{tabular}
  \end{table}
  </code></pre>