Graphics, Figures & Tables ⇒ Table Caption Position
Table Caption Position
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Table Caption Position
if you want to limit the caption width to the table width then the floatrow package could be useful. Take a look at the following simple example:
Code: Select all
\documentclass{report}
\usepackage{floatrow}
\begin{document}
\begin{table}
\begin{floatrow}
\ttabbox
{\begin{tabular}{|ccc|}\hline
column 1 & column2 & column3 \\\hline
\end{tabular}}%
{\caption{An example of a table whose caption width equals the width of the
table}\label{tab:test}}
\end{floatrow}
\end{table}
\end{document}