我在使用 IEEEtran 文章类的长表中遇到了一点问题。
我正在使用与此 MWE 相近的东西,原始版本比此版本长 4 页,MWE 捕获了问题。 \specialcell{} 来自此回答在下面的来源中。
\documentclass[journal]{IEEEtran}
\usepackage{longtable,booktabs,multirow,lipsum,array}
\newcommand{\specialcell}[2][c]{%
\begin{tabular}[#1]{@{}c@{}}#2\end{tabular}}
\title{A MWE with a longtable cell width problem}
\author{Joao Andrade}
\begin{document}
\maketitle
{\footnotesize\onecolumn
\begin{longtable}{c | cr | r | crrcc | c | c | rrr | c}
\caption{Summary of stuff.}
\label{tab:big_table_over_margins}\\
\multirow{1}{*}{Work} & \multicolumn{2}{c|}{Parallelism} & \multicolumn{1}{c|}{Data} & \multicolumn{5}{c|}{LDPC Code} & \multicolumn{2}{c|}{Decoding} & \multicolumn{3}{c|}{Perf.} & \multicolumn{1}{c}{Platform}\tabularnewline\midrule
%\cline{2-15}
& Thread- & Data- & \multicolumn{1}{c|}{Width} & \multicolumn{1}{c}{Code} & q & N & Rate & Tanner & Sched. & Alg. & \specialcell{Lat.\\(ms)} & \specialcell{Thr.\\(Mbit/s)} & Iter. & Name\tabularnewline
\midrule
\endfirsthead
\multicolumn{4}{c}%
{\tablename\ \thetable\ \textit{\centering Continued from previous page}} \\
\multirow{1}{*}{Work} & \multicolumn{2}{c|}{Parallelism} & \multicolumn{1}{c|}{Data} & \multicolumn{5}{c|}{LDPC Code} & \multicolumn{2}{c|}{Decoding} & \multicolumn{3}{c|}{Perf.} & \multicolumn{1}{c}{Platform}\tabularnewline\midrule
& Thread- & Data- & \multicolumn{1}{c|}{Width} & \multicolumn{1}{c}{Code} & q & N & Rate & Tanner & Sched. & Alg. & \specialcell{Latency \\(ms)} & \specialcell{Thr.\\(Mbit/s)} & Iter. & Name\tabularnewline
\midrule
\endhead
\midrule \multicolumn{4}{r}{\textit{Continued on next page}} \\
\endfoot
\endlastfoot
\multirow{5}{*}{Work 1} & \multirow{5}{*}{{bpc}} & \multirow{3}{*}{512} & \multirow{5}{*}{6--8} & \multirow{5}{*}{802.16e} & \multirow{5}{*}{2} & 768 & \multirow{5}{*}{1/2} & \multirow{5}{*}{Struct.} & \multirow{5}{*}{TDMP} & \multirow{5}{*}{MSA} & 2.62 & 150 & \multirow{5}{*}{10} & \multirow{5}{*}{\specialcell{GeForce\\9800 GTX+}}\tabularnewline
& & & & & & 1152 & & & & & 3.88 & 152 & & \tabularnewline
& & & & & & 1536 & & & & & 4.91 & 160 & & \tabularnewline
& & 384 & & & & 1920 & & & & & 5.27 & 140 & & \tabularnewline
& & 256 & & & & 2304 & & & & & 3.69 & 160 & & \tabularnewline
Work 2 & {cpc} & 128 & 8 & 802.16e & 2 & 2304 & 1/2 & Struct. & TDMP & MSA & 1.09 & 270 & 10 & \specialcell{Cell\\B.E.}\tabularnewline
\hline
\multirow{4}{*}{Work 3} & \multirow{4}{*}{{tpn}} & \multirow{4}{*}{1} & \multirow{4}{*}{8} & \multirow{4}{*}{802.16e} & & 768 & \multirow{4}{*}{1/2} & \multirow{4}{*}{Struct.} & \multirow{4}{*}{TPMP} & \multirow{4}{*}{MSA} & 0.01 & 98.7 & \multirow{4}{*}{10} & \multirow{4}{*}{\specialcell{Nallatech\\PCI 385N D5}}\tabularnewline
& & & & & & 1152 & & & & & 0.01 & 103.9 & & \tabularnewline
& & & & & & 1536 & & & & & 0.02 & 81.4 & & \tabularnewline
& & & & & & 1920 & & & & & 0.02 & 81.0 & & \tabularnewline
\multirow{4}{*}{Work 4} & \multirow{4}{*}{bpe} & \multirow{4}{*}{4} & \multirow{4}{*}{32} & \multirow{4}{*}{Regular} & 32 & \multirow{4}{*}{384} & \multirow{4}{*}{1/3} & \multirow{4}{*}{Sparse} & \multirow{4}{*}{TPMP} & \multirow{4}{*}{\specialcell{FFT-\\-SPA}} & 14.93 & 0.82 & \multirow{4}{*}{10} & \multirow{4}{*}{\specialcell{Tesla\\C1060}}\tabularnewline
& & & & & 64 & & & & & & 31.55 & 0.39 & & \tabularnewline
& & & & & 128 & & & & & & 7.36 & 1.67 & & \tabularnewline
& & & & & 256 & & & & & & 10.28 & 1.20 & & \tabularnewline
\hline
\multirow{6}{*}{Work 5} & \multirow{2}{*}{{tpn}} & \multirow{6}{*}{1} & \multirow{6}{*}{8} & \multirow{2}{*}{802.11n} & \multirow{6}{*}{2} & \multirow{2}{*}{1944} & \multirow{2}{*}{1/2} & \multirow{2}{*}{Struct.} & \multirow{2}{*}{TPMP} & \multirow{2}{*}{MSA} & 0.12 & 16 & \multirow{6}{*}{10} & \multirow{2}{*}{\specialcell{Nallatech\\PCI 385N D5}}\tabularnewline
& & & & & & & & & & & 0.09 & 21 & & \tabularnewline
& \multirow{4}{*}{N/A} & & & \multirow{4}{*}{DVB-S2} & & \multirow{4}{*}{64800} & \multirow{4}{*}{1/2} & \multirow{4}{*}{Struct.} & \multirow{4}{*}{\specialcell{TPMP\\TDMP}} & \multirow{4}{*}{MSA} & 0.28 & 234 & & \multirow{2}{*}{\specialcell{Virtex5 LX330T\\Max2 Board}}\tabularnewline
& & & & & & & & & & & 0.05 & 1260 & & \tabularnewline
& & & & & & & & & & & 0.28 & 234 & & \multirow{2}{*}{\specialcell{Virtex6 LX330T\\Max3 Board}}\tabularnewline
& & & & & & & & & & & 0.05 & 1296 & & \tabularnewline
\bottomrule
\end{longtable}
\lipsum[1]
{\footnotesize\onecolumn
\begin{longtable}{@{}c@{} | @{}c@{}@{}r@{} | @{}r@{} | @{}c@{}@{}r@{}@{}r@{}@{}c@{}@{}c@{} | @{}c@{} | @{}c@{} | @{}r@{}@{}r@{}@{}r@{} | @{}c@{}}
\caption{Summary of stuff.}
\label{tab:big_table_nospace}\\
\multirow{1}{*}{Work} & \multicolumn{2}{c|}{Parallelism} & \multicolumn{1}{c|}{Data} & \multicolumn{5}{c|}{LDPC Code} & \multicolumn{2}{c|}{Decoding} & \multicolumn{3}{c|}{Perf.} & \multicolumn{1}{c}{Platform}\tabularnewline\midrule
%\cline{2-15}
& Thread- & Data- & \multicolumn{1}{c|}{Width} & \multicolumn{1}{c}{Code} & q & N & Rate & Tanner & Sched. & Alg. & \specialcell{Lat.\\(ms)} & \specialcell{Thr.\\(Mbit/s)} & Iter. & Name\tabularnewline
\midrule
\endfirsthead
\multicolumn{4}{c}%
{\tablename\ \thetable\ \textit{\centering Continued from previous page}} \\
\multirow{1}{*}{Work} & \multicolumn{2}{c|}{Parallelism} & \multicolumn{1}{c|}{Data} & \multicolumn{5}{c|}{LDPC Code} & \multicolumn{2}{c|}{Decoding} & \multicolumn{3}{c|}{Perf.} & \multicolumn{1}{c}{Platform}\tabularnewline\midrule
& Thread- & Data- & \multicolumn{1}{c|}{Width} & \multicolumn{1}{c}{Code} & q & N & Rate & Tanner & Sched. & Alg. & \specialcell{Latency \\(ms)} & \specialcell{Thr.\\(Mbit/s)} & Iter. & Name\tabularnewline
\midrule
\endhead
\midrule \multicolumn{4}{r}{\textit{Continued on next page}} \\
\endfoot
\endlastfoot
\multirow{5}{*}{Work 1} & \multirow{5}{*}{{bpc}} & \multirow{3}{*}{512} & \multirow{5}{*}{6--8} & \multirow{5}{*}{802.16e} & \multirow{5}{*}{2} & 768 & \multirow{5}{*}{1/2} & \multirow{5}{*}{Struct.} & \multirow{5}{*}{TDMP} & \multirow{5}{*}{MSA} & 2.62 & 150 & \multirow{5}{*}{10} & \multirow{5}{*}{\specialcell{GeForce\\9800 GTX+}}\tabularnewline
& & & & & & 1152 & & & & & 3.88 & 152 & & \tabularnewline
& & & & & & 1536 & & & & & 4.91 & 160 & & \tabularnewline
& & 384 & & & & 1920 & & & & & 5.27 & 140 & & \tabularnewline
& & 256 & & & & 2304 & & & & & 3.69 & 160 & & \tabularnewline
Work 2 & {cpc} & 128 & 8 & 802.16e & 2 & 2304 & 1/2 & Struct. & TDMP & MSA & 1.09 & 270 & 10 & \specialcell{Cell\\B.E.}\tabularnewline
\hline
\multirow{4}{*}{Work 3} & \multirow{4}{*}{{tpn}} & \multirow{4}{*}{1} & \multirow{4}{*}{8} & \multirow{4}{*}{802.16e} & & 768 & \multirow{4}{*}{1/2} & \multirow{4}{*}{Struct.} & \multirow{4}{*}{TPMP} & \multirow{4}{*}{MSA} & 0.01 & 98.7 & \multirow{4}{*}{10} & \multirow{4}{*}{\specialcell{Nallatech\\PCI 385N D5}}\tabularnewline
& & & & & & 1152 & & & & & 0.01 & 103.9 & & \tabularnewline
& & & & & & 1536 & & & & & 0.02 & 81.4 & & \tabularnewline
& & & & & & 1920 & & & & & 0.02 & 81.0 & & \tabularnewline
\multirow{4}{*}{Work 4} & \multirow{4}{*}{bpe} & \multirow{4}{*}{4} & \multirow{4}{*}{32} & \multirow{4}{*}{Regular} & 32 & \multirow{4}{*}{384} & \multirow{4}{*}{1/3} & \multirow{4}{*}{Sparse} & \multirow{4}{*}{TPMP} & \multirow{4}{*}{\specialcell{FFT-\\-SPA}} & 14.93 & 0.82 & \multirow{4}{*}{10} & \multirow{4}{*}{\specialcell{Tesla\\C1060}}\tabularnewline
& & & & & 64 & & & & & & 31.55 & 0.39 & & \tabularnewline
& & & & & 128 & & & & & & 7.36 & 1.67 & & \tabularnewline
& & & & & 256 & & & & & & 10.28 & 1.20 & & \tabularnewline
\hline
\multirow{6}{*}{Work 5} & \multirow{2}{*}{{tpn}} & \multirow{6}{*}{1} & \multirow{6}{*}{8} & \multirow{2}{*}{802.11n} & \multirow{6}{*}{2} & \multirow{2}{*}{1944} & \multirow{2}{*}{1/2} & \multirow{2}{*}{Struct.} & \multirow{2}{*}{TPMP} & \multirow{2}{*}{MSA} & 0.12 & 16 & \multirow{6}{*}{10} & \multirow{2}{*}{\specialcell{Nallatech\\PCI 385N D5}}\tabularnewline
& & & & & & & & & & & 0.09 & 21 & & \tabularnewline
& \multirow{4}{*}{N/A} & & & \multirow{4}{*}{DVB-S2} & & \multirow{4}{*}{64800} & \multirow{4}{*}{1/2} & \multirow{4}{*}{Struct.} & \multirow{4}{*}{\specialcell{TPMP\\TDMP}} & \multirow{4}{*}{MSA} & 0.28 & 234 & & \multirow{2}{*}{\specialcell{Virtex5 LX330T\\Max2 Board}}\tabularnewline
& & & & & & & & & & & 0.05 & 1260 & & \tabularnewline
& & & & & & & & & & & 0.28 & 234 & & \multirow{2}{*}{\specialcell{Virtex6 LX330T\\Max3 Board}}\tabularnewline
& & & & & & & & & & & 0.05 & 1296 & & \tabularnewline
\bottomrule
\end{longtable}
\lipsum[1]
{\footnotesize\onecolumn
\begin{longtable}{@{ }c@{ } | @{ }c@{ }@{ }r@{ } | @{ }r@{ } | @{ }c@{ }@{ }r@{ }@{ }r@{ }@{ }c@{ }@{ }c@{ } | @{ }c@{ } | @{ }c@{ } | @{ }r@{ }@{ }r@{ }@{ }r@{ } | @{ }c@{ }}
\caption{Summary of stuff.}
\label{tab:big_table_somespace}\\
\multirow{1}{*}{Work} & \multicolumn{2}{c|}{Parallelism} & \multicolumn{1}{c|}{Data} & \multicolumn{5}{c|}{LDPC Code} & \multicolumn{2}{c|}{Decoding} & \multicolumn{3}{c|}{Perf.} & \multicolumn{1}{c}{Platform}\tabularnewline\midrule
%\cline{2-15}
& Thread- & Data- & \multicolumn{1}{c|}{Width} & \multicolumn{1}{c}{Code} & q & N & Rate & Tanner & Sched. & Alg. & \specialcell{Lat.\\(ms)} & \specialcell{Thr.\\(Mbit/s)} & Iter. & Name\tabularnewline
\midrule
\endfirsthead
\multicolumn{4}{c}%
{\tablename\ \thetable\ \textit{\centering Continued from previous page}} \\
\multirow{1}{*}{Work} & \multicolumn{2}{c|}{Parallelism} & \multicolumn{1}{c|}{Data} & \multicolumn{5}{c|}{LDPC Code} & \multicolumn{2}{c|}{Decoding} & \multicolumn{3}{c|}{Perf.} & \multicolumn{1}{c}{Platform}\tabularnewline\midrule
& Thread- & Data- & \multicolumn{1}{c|}{Width} & \multicolumn{1}{c}{Code} & q & N & Rate & Tanner & Sched. & Alg. & \specialcell{Latency \\(ms)} & \specialcell{Thr.\\(Mbit/s)} & Iter. & Name\tabularnewline
\midrule
\endhead
\midrule \multicolumn{4}{r}{\textit{Continued on next page}} \\
\endfoot
\endlastfoot
\multirow{5}{*}{Work 1} & \multirow{5}{*}{{bpc}} & \multirow{3}{*}{512} & \multirow{5}{*}{6--8} & \multirow{5}{*}{802.16e} & \multirow{5}{*}{2} & 768 & \multirow{5}{*}{1/2} & \multirow{5}{*}{Struct.} & \multirow{5}{*}{TDMP} & \multirow{5}{*}{MSA} & 2.62 & 150 & \multirow{5}{*}{10} & \multirow{5}{*}{\specialcell{GeForce\\9800 GTX+}}\tabularnewline
& & & & & & 1152 & & & & & 3.88 & 152 & & \tabularnewline
& & & & & & 1536 & & & & & 4.91 & 160 & & \tabularnewline
& & 384 & & & & 1920 & & & & & 5.27 & 140 & & \tabularnewline
& & 256 & & & & 2304 & & & & & 3.69 & 160 & & \tabularnewline
Work 2 & {cpc} & 128 & 8 & 802.16e & 2 & 2304 & 1/2 & Struct. & TDMP & MSA & 1.09 & 270 & 10 & \specialcell{Cell\\B.E.}\tabularnewline
\hline
\multirow{4}{*}{Work 3} & \multirow{4}{*}{{tpn}} & \multirow{4}{*}{1} & \multirow{4}{*}{8} & \multirow{4}{*}{802.16e} & & 768 & \multirow{4}{*}{1/2} & \multirow{4}{*}{Struct.} & \multirow{4}{*}{TPMP} & \multirow{4}{*}{MSA} & 0.01 & 98.7 & \multirow{4}{*}{10} & \multirow{4}{*}{\specialcell{Nallatech\\PCI 385N D5}}\tabularnewline
& & & & & & 1152 & & & & & 0.01 & 103.9 & & \tabularnewline
& & & & & & 1536 & & & & & 0.02 & 81.4 & & \tabularnewline
& & & & & & 1920 & & & & & 0.02 & 81.0 & & \tabularnewline
\multirow{4}{*}{Work 4} & \multirow{4}{*}{bpe} & \multirow{4}{*}{4} & \multirow{4}{*}{32} & \multirow{4}{*}{Regular} & 32 & \multirow{4}{*}{384} & \multirow{4}{*}{1/3} & \multirow{4}{*}{Sparse} & \multirow{4}{*}{TPMP} & \multirow{4}{*}{\specialcell{FFT-\\-SPA}} & 14.93 & 0.82 & \multirow{4}{*}{10} & \multirow{4}{*}{\specialcell{Tesla\\C1060}}\tabularnewline
& & & & & 64 & & & & & & 31.55 & 0.39 & & \tabularnewline
& & & & & 128 & & & & & & 7.36 & 1.67 & & \tabularnewline
& & & & & 256 & & & & & & 10.28 & 1.20 & & \tabularnewline
\hline
\multirow{6}{*}{Work 5} & \multirow{2}{*}{{tpn}} & \multirow{6}{*}{1} & \multirow{6}{*}{8} & \multirow{2}{*}{802.11n} & \multirow{6}{*}{2} & \multirow{2}{*}{1944} & \multirow{2}{*}{1/2} & \multirow{2}{*}{Struct.} & \multirow{2}{*}{TPMP} & \multirow{2}{*}{MSA} & 0.12 & 16 & \multirow{6}{*}{10} & \multirow{2}{*}{\specialcell{Nallatech\\PCI 385N D5}}\tabularnewline
& & & & & & & & & & & 0.09 & 21 & & \tabularnewline
& \multirow{4}{*}{N/A} & & & \multirow{4}{*}{DVB-S2} & & \multirow{4}{*}{64800} & \multirow{4}{*}{1/2} & \multirow{4}{*}{Struct.} & \multirow{4}{*}{\specialcell{TPMP\\TDMP}} & \multirow{4}{*}{MSA} & 0.28 & 234 & & \multirow{2}{*}{\specialcell{Virtex5 LX330T\\Max2 Board}}\tabularnewline
& & & & & & & & & & & 0.05 & 1260 & & \tabularnewline
& & & & & & & & & & & 0.28 & 234 & & \multirow{2}{*}{\specialcell{Virtex6 LX330T\\Max3 Board}}\tabularnewline
& & & & & & & & & & & 0.05 & 1296 & & \tabularnewline
\bottomrule
\end{longtable}
\lipsum[1]
\end{document}
原始论文为双栏式,但单栏下的边距保持不变,因此 \lipsum[1] 足以标记长表宽度的限制。
第一个表格明显超出了边距。因此,我将 \ref{tab:big_table_nospace} 中每个单元格的文本间距改为 @{}。结果仍然在页边距内,但存在问题。第四列太宽,不符合其应有的大小。
在 \ref{tab:big_table_some_space} 中将 @{} 改为 @{ } 会出现类似问题。第四列太宽。
如何解决这个问题?很明显,表格已经快要适应边距了。但是,即使手动调整单元格,p{.##cm} 也会使第四列变得太宽。我这里漏掉了什么?
答案1
编辑:
我玩了一下你的表格。首先,我添加了包makecell
-- 从中我使用宏\multirowcell
和thead
-- 和包siunitx
来更好地形成第 13 列。thead
我用替换定义的命令specilacell
然后,我为了更简洁的书写定义了三个新命令:\mc
作为 的简写\multicolumn
,mrc
作为 的简写并将multirowcell
单元格内容居中 以及mrcR
作为 的简写multirowcell
并将单元格内容右对齐。
除此之外,我还删除了表格中的垂直线,并将其缩小tabcolsep
到4.5pt
,将使用的字体从 更改为footnotesize
。\small
我将第一行和第二行之间的水平线替换为一系列\cmidrule
。
最后我清理了你的代码。得到的结果是:
在 MWE 中,我还转义了第二个表头和表尾的定义。应该很容易添加,就像定义第一个表头一样。
\documentclass[journal]{IEEEtran}
\usepackage{array,booktabs,longtable,makecell,multirow}
\newcommand\mc[2]{\multicolumn{#1}{c}{#2}}
\newcommand\mrcR[2]{\multirowcell{#1}[0pt][r]{#2}}
\newcommand\mrc[2]{\multirowcell{#1}[0pt][c]{#2}}
\usepackage{siunitx}
\usepackage{lipsum}
% \usepackage{showframe}
\begin{document}
{\onecolumn
\small
\setlength{\tabcolsep}{4.5pt}
\begin{longtable}{c cr c crrcc cc rSc c}
\caption{Summary of stuff.}
\label{tab:big_table_over_margins}\\
\toprule
\thead{Work} & \mc{2}{Parallelism} & \mc{1}{Data}
& \mc{5}{LDPC Code} & \mc{2}{Decoding}
& \mc{3}{Perf.} & \mc{1}{Platform} \\
\cmidrule(r){1-1}\cmidrule(lr){2-3}\cmidrule(lr){4-4}
\cmidrule(lr){5-9}\cmidrule(lr){10-11}\cmidrule(lr){12-14}
\cmidrule(l){15-15}
& \mc{1}{Thread} & \mc{1}{Data} & \mc{1}{Width}
& \mc{1}{Code} & \mc{1}{q} & \mc{1}{N} & \mc{1}{Rate}
& \mc{1}{Tanner} & \mc{1}{Sched.} & \mc{1}{Alg.}
& \thead{Lat.\\(ms)} & {\thead{Thr.\\(Mbit/s)}}
& \mc{1}{Iter.} & \mc{1}{Name} \\
\midrule
%
\mrc{5}{Work 1} & \mrc{5}{bpc} & \mrcR{3}{512} & \mrc{5}{6--8} & \mrc{5}{802.16e} & \mrcR{5}{2} & 768 & \mrc{5}{1/2} & \mrc{5}{Struct.} & \mrc{5}{TDMP} & \mrc{5}{MSA} & 2.62 & 150 & \mrc{5}{10} & \mrc{5}{GeForce\\9800 GTX+}
\\
& & & & & & 1152 & & & & & 3.88 & 152 & & \\
& & & & & & 1536 & & & & & 4.91 & 160 & & \\
& & 384 & & & & 1920 & & & & & 5.27 & 140 & & \\
& & 256 & & & & 2304 & & & & & 3.69 & 160 & & \\
Work 2 & {cpc} & 128 & 8 & 802.16e & 2 & 2304 & 1/2 & Struct. & TDMP & MSA & 1.09 & 270 & 10 & \thead{Cell\\B.E.}
\\
\midrule
\mrc{4}{Work 3} & \mrc{4}{tpn} & \mrcR{4}{1} & \mrc{4}{8} & \mrc{4}{802.16e}
& & 768 & \mrc{4}{xxx} & \mrc{4}{Struct.} & \mrc{4}{TPMP} & \mrc{4}{MSA}
& 0.01 & 98.7 & \mrc{4}{10} & \mrc{4}{Nallatech\\PCI 385N D5} \\
& & & & & & 1152 & & & & & 0.01 & 103.9 & & \\
& & & & & & 1536 & & & & & 0.02 & 81.4 & & \\
& & & & & & 1920 & & & & & 0.02 & 81.0 & & \\
\mrc{4}{Work 4} & \mrc{4}{bpe} & \mrcR{4}{4} & \mrc{4}{32} & \mrc{4}{Regular} & 32 & \mrc{4}{384} & \mrc{4}{1/3} & \mrc{4}{Sparse} & \mrc{4}{TPMP} & \mrc{4}{FFT-\\-SPA} & 14.93 & 0.82 & \mrc{4}{10} & \mrc{4}{Tesla\\C1060}
\\
& & & & & 64 & & & & & & 31.55 & 0.39 & & \\
& & & & & 128 & & & & & & 7.36 & 1.67 & & \\
& & & & & 256 & & & & & & 10.28 & 1.20 & & \\
\midrule
\mrc{6}{Work 5} & \mrc{2}{tpn} & \mrcR{6}{1} & \mrc{6}{8} & \mrc{2}{802.11n} & \mrcR{6}{2} & \mrc{2}{1944} & \mrc{2}{1/2} & \mrc{2}{Struct.} & \mrc{2}{TPMP} & \mrc{2}{MSA} & 0.12 & 16 & \mrc{6}{10} & \mrc{2}{Nallatech\\PCI 385N D5}
\\
& & & & & & & & & & & 0.09 & 21 & & \\
& \mrc{4}{N/A} & & & \mrc{4}{DVB-S2} & & \mrc{4}{64800} & \mrc{4}{1/2} & \mrc{4}{Struct.} & \mrc{4}{TPMP\\TDMP} & \mrc{4}{MSA} & 0.28 & 234 & & \mrc{2}{Virtex5 LX330T\\Max2 Board}
\\
& & & & & & & & & & & 0.05 & 1260 & &
\\
& & & & & & & & & & & 0.28 & 234 & & \mrc{2}{Virtex6 LX330T\\Max3 Boar}
\\
& & & & & & & & & & & 0.05 & 1296 & & \\
\bottomrule
\end{longtable}
\lipsum[1]
\end{document}
类似地,您可以改进其他表格。最后,使用包showframe
您可以查看表格是否适合文本宽度。