I find that the caption in my longtable takes two lines but it seems that it can fit in one line. See the figure below:
My code is:
\begin{longtable}{|c|c|c|c||c|c|c|}
\caption{Testing error for training size 100000 and 8000 random counts}\\
\hline
\multicolumn{2}{|c|}{Concept} & \multicolumn{2}{c||}{Negative Class} & \multicolumn{2}{c|}{Positive Class} & Error rate \\
\hline
...
\end{longtable}
How to make the caption fit into a single line?
EDIT:
Thank, Geoff. But I tried "\usepackage{fullpage}" as you suggested, the whole content in the pdf file is messed up.
As you can see, there is still lot of space on the left of the caption. If the caption can be moved to the left, it will fit into a single line.
You can do this:
\LTcapwidth=\textwidth
\begin{longtable}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With