[Tugindia] Width of Caption
Dr. M. Kalidoss
kalidoss at sjctni.edu
Fri Jul 25 11:04:14 CEST 2003
Try the following file:
\documentclass{article}
\begin{document}
\renewcommand{\baselinestretch}{1.6}\small\normalsize
\begin{table}[htbp]
\parbox[c]{5.4cm}{\caption{Force constant parameters of Sample~1 and
Sample~2 in units of 10$^{4}$~dyne cm$^{ - 1}$.}}
%\\ %%% Remove the % sign at the beginning of this line and see the result!
\begin{tabular}{||c|cc||}
\hline\hline
Symbol& \multicolumn{2}{c||}{Value for} \\
\cline{2-3}
& Sample~1 & Sample~2 \\
\hline
A& -3.2992& -5.9960 \\
B& -2.64017& -4.54166 \\
E& -4.2283& - 5.8750 \\
C& -1.6379& -1.2600 \\
D& -0.3176& 0.0400 \\
A$_{2}$& -1.4391& -1.9600 \\
B$_{2}$& -0.2854& 0.0770 \\
\hline\hline
\end{tabular}
\end{table}
\end{document}
-----Original Message-----
From: H S Rai [SMTP:hsraidce at iitr.ernet.in]
Sent: Friday, July 18, 2003 10:11 AM
To: TugIndia
Subject: [Tugindia] Width of Caption
Is there any way to fix width of caption equal to width of table?
Sometimes, it happen that for less wide table with long caption,
caption is covering whole text-width while table covering only one
third of that.
I found that desired thing happening by default in case of longtable.
--
H.S.Rai
More information about the tugindia
mailing list