Hi,
Is there a way to justify a long caption to the table width. This means that the width of a long caption does not go beyond the table width even if the caption is split into multiple lines.
Regards,
Ruchir
Graphics, Figures & Tables ⇒ justifying caption to table width
-
- Posts: 13
- Joined: Tue Apr 21, 2009 9:14 am
justifying caption to table width
Last edited by ruchir_iit on Fri Apr 09, 2010 5:29 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
justifying caption to table width
Hi,
you can use some of the features provided by the floatrow package; a little example:
Please, refer to the package documentation for further information.
you can use some of the features provided by the floatrow package; a little example:
Code: Select all
\documentclass{article}
\usepackage{floatrow}
\usepackage{lipsum}% just to generate some text for the example
\begin{document}
\begin{figure}
\ttabbox[\FBwidth]
{\caption{\lipsum[1]}\label{tab:test}}
{\begin{tabular}{ccc}\hline
column1 & column2 & column3\\\hline
\end{tabular}}
\end{figure}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 13
- Joined: Tue Apr 21, 2009 9:14 am
Re: justifying caption to table width
Hi gmedina,
Thank you very much for the help!! The problem is solved!!
Thank you very much for the help!! The problem is solved!!