Possible Duplicate:
Align Note below table
I have a tabular inside a table-environment and wish to add some explanatory text directly below the tabular within the float. Of course I know that I should explain the contents of the table in my normal text and will do so. But in this case I need some special information given directly below the tabular. So far, I've come up with the solutuion below. But there are two problems I can't solve.
- I'd like the text to be justified like the normal text (full-justification, in German "Blocksatz"), neither centered nor left-justified nor right-justified. I haven't found a way to manually set the text justified.
- I'd like the text to be of the same width as the tabular above and, while justified, be placed directly below the centered tabular. The width of the tabular is not given manually (by the starred tabular-version or the like), but determined by the contents of the tabular. I thought about adding multicolums to the table, but that is only conditionally feasible as I need to set every line break manually and still have no justified text.
Is there any way to solve one or preferraby both of these issues?
\documentclass{scrartcl}
\usepackage{blindtext}
\begin{document}
\begin{table}[htbp]
\centering
\begin{tabular}{ll}
some text & some more text\\
some text & which determines the width of the tabular\\
\end{tabular}\\
\blindtext
\caption{Test}
\end{table}
\end{document}
pcolumns so do allow justification and automatic breaking. However you may want to look at thethreeparttablepackage. – David Carlisle Jun 06 '12 at 09:26threeparttablesolves my issues. – meep.meep Jun 06 '12 at 10:05threeparttable, an out-of-the-box solution is provided bythreeparttablex, see my answer to the duplicate question. – dgs Jun 06 '12 at 17:30