I have a long table with many rows and columns over many pages. Due to my longness of caption, I cannot see the overall table content properly. When I try my code with a shorter caption, table seems fine. Is there a way to overcome? Any help is appreciated. I am also open to alternative, simple long table templates.
\begin{longtable}
{|l|l|l|l|c|l|l|l|c|c|c|}
\hline
\textbf{n} &\textbf{$M$} &\textbf{$A_s$} &\textbf{$A_d$} &\textbf{Space} &\textbf{$D_m$} &\textbf{$D_s$} &\textbf{$D_d$} &\textbf{Delay} &\textbf{Space x Delay} &\textbf{Algorithm} \\
\hline
\endfirsthead
\multicolumn{11}{c}%
{\textit{ Continued from previous page} } \\
\hline
\textbf{n} &\textbf{$M$} &\textbf{$A_s$} &\textbf{$A_d$} &\textbf{Space} &\textbf{$D_m$} &\textbf{$D_s$} &\textbf{$D_d$} &\textbf{Delay} &\textbf{Space x Delay} &\textbf{Algorithm} \\
\hline
\endhead
\hline \multicolumn{11}{c}{\tablename\ \thetable \text{: }{Polynomial Multiplication Delay Optimization Result \protect(No Padding, $M=A_s=A_d$, $D_m=D_s=D_d$)}} \\
\endfoot
\hline
\caption{Polynomial Multiplication Delay Optimization Result (No Padding, $M=A_s=A_d$, $D_m=D_s=D_d$)}
\endlastfoot
\label{Table:Polynomial Multiplication-1}
1&1&0&0&1&1&0&0&1&1&Initial Condition\\
2&4&0&1&5&1&2&0&3&15&SB\\
\end{longtable}
Best Answer
xltabular
package instead oflongtable
. It prescribe table width (for example to be equal to\textwidth
)\caption
command (see MWE below)xltabular
package, complicate caption numbering.MWE:
(red lines indicate page layout)
Addendum (Off-topic):
I would design your table on more usual and "professional" way:
siunitx
packageFor table I should use
tabularray
table with its librarysiunitx
(it loadsiunitx
package). It require just one compilation for final form of table.