本人刚用latex来编辑论文,现遇到跨页表格无法实现,求各位大神帮忙!
我想用supertabular来实现,但编译总是不过。贴上代码,求大神看看。
\begin{table}[ht]
\centering\footnotesize
\begin{threeparttable}
\topcaption{\label{tab:2}Selected Performance Counters}
\tablefirsthead{%
\toprule
\centering \textbf{Category} & \centering \textbf{ID}\tnote{a} & \centering \textbf{Counters} & \centering \textbf{Synopsis}\\
\midrule}
\tablehead{%
\multicolumn{4}{l}{\footnotesize\sl continued from previous page}\\
\toprule
\centering \textbf{Category} & \centering \textbf{ID}\tnote{a} & \centering \textbf{Counters} & \centering \textbf{Synopsis}\\
\midrule}
\tabletail{%
\bottomrule
\multicolumn{4}{r}{\footnotesize\sl continued on next page}\\
}
\tablelasttail{\bottomrule}
\begin{supertabular}{cm{1cm}m{2cm}m{7cm}}
%%\caption{\label{tab:2}Selected Performance Counters}\\
%%\toprule
%%\centering \textbf{Category} & \centering \textbf{ID}\tnote{a} & \centering \textbf{Counters} & \centering \textbf{Synopsis}\cr
%%\midrule
\multirow{3}{2cm}[-10pt]{CPU} & \centering 1 & \centering DPC-Time & The time that the processor spent receiving and servicing deferred procedure call (DPCs).\\ \cmidrule(r){2-4}
& \centering 2 & \centering Interrupt-Time & The time that the processor spent receiving and servicing hardware interrupts.\\ \cmidrule(r){2-4}
& \centering 3 & \centering Processor-Time & The non-idle time that the processor executing processes.\cr
\midrule
\multirow{7}{2cm}{Memory} & \centering 11 & \centering Committed-Bytes & The amount of committed virtual memory.\\ \cmidrule(r){2-4}
& \centering 12 & \centering Nonpaged-Request & The number of requests to allocate space in the nonpaged address.\\ \cmidrule(r){2-4}
& \centering 13 & \centering Page-Faults & The number of pages faulted.\\ \cmidrule(r){2-4}
& \centering 14 & \centering Cache-Faults & The number of faults due to cache miss during a page seek in the file system, which must be retrieved from memory or disk.\\ \cmidrule(r){2-4}
& \centering 15 & \centering Pages-Total & The number of pages that are read from or written to disk to resolve hard page faults.\\ \cmidrule(r){2-4}
& \centering 16 & \centering Page-Reads & The number of disk read to resolve hard page faults.\\ \cmidrule(r){2-4}
& \centering 17 & \centering Page-Writes & The number of pages that are written to disk to free up memory space.\cr
\midrule
\multirow{2}{2cm}{Physical Disk} & \centering 40 & \centering Disk-Time & The elapsed time that the disk drive is buy servicing read or write requests.\\ \cmidrule(r){2-4}
& \centering 41 & \centering Disk-Bytes & The number of bytes are transferred to or from the disk during write or read operations.\cr
\midrule
\multirow{6}{2cm}{Cache} & \centering 61 & \centering Copy-Reads & The number of read operations from pages of the cache involves a copy read.\\ \cmidrule(r){2-4}
& \centering 62 & \centering Copy-Read-Hits & The number of copy read requests hits the cache.\\ \cmidrule(r){2-4}
& \centering 63 & \centering Data-Flushes & The number of times that the cache flushes its contents to disk.\\ \cmidrule(r){2-4}
& \centering 64 & \centering Data-Maps & The number of file pages that are mapped into the cache.\\ \cmidrule(r){2-4}
& \centering 65 & \centering Data-Map-Hits & Total number of page accesses that hits the cache.\\ \cmidrule(r){2-4}
& \centering 66 & \centering Fast-Read-Misses & The number of cache misses due to insufficient resources to satisfy the request.\cr
\midrule
\multirow{2}{2cm}{Process} & \centering 73 & \centering IO-Data-Bytes & The number of I/O operations that the process is reading and writing in bytes.\\ \cmidrule(r){2-4}
& \centering 74 & \centering Process-Page-Faults & The number of page faults occurred during the execution of the process.\cr
\midrule
\tabincell{c}{Network\\Interface} & \centering 86 & \centering Network-Bytes & The total number of bytes sent and received on the network interface.\cr
%%\bottomrule
\end{supertabular}
\begin{tablenotes}
\item[a]ID refers to the index of the dimensions in the profiling sample matrix
\end{tablenotes}
\end{threeparttable}
\end{table}
--
您收到此邮件是因为您订阅了 Google 网上论坛的“CTeX”论坛。
要在网络上查看此讨论,请访问 https://groups.google.com/d/msg/ctex/-/NU5sx9YlUmUJ。
要向此网上论坛发帖,请发送电子邮件至 ct...@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 ctex+uns...@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/ctex?hl=zh-CN 访问此网上论坛。