在下表中,我希望两个多行中的括号都跨越多行覆盖的三行。我尝试使用\left.\right\}
和编辑垂直空间,但到目前为止没有任何效果。
\begin{table}[H]
\centering
\begin{tabular}{|l|r|r|l|c|r|r|}
\hline
Area & \multicolumn{2}{|c|}{Residents} & \multicolumn{3}{|c|}{Number of Calls} & Percentage Moving Calls \\
\hline
Zuidhorn & 6,878 & 38.3 & (6.128) & 6 & \multirow{3}{*}{\}16} & 0\% \\
Aduard & 2,253 & 12.6 & (2.016) & 3 & & 0\% \\
Lewenborg & 8,800 & 49.1 & (7.856) & 8 & & 0\% \\
\cline{2-6}
Groningen & \multicolumn{2}{|c|}{171,201} & \multicolumn{3}{|c|}{300} & 40\% \\
\cline{2-6}
Hoogkerk & 14,640 & 42.8\% & (12.84) & 13 & \multirow{3}{*}{\}30} & 70\% \\
Haren & 18,656 & 54.6\% & (16.38) & 16 & & 70\% \\
Engelbert & 870 & 2.6 \% & (0.78) & 1 & & 70\% \\
\hline \hline
Total & 223,298 & & & & & \\
\hline
\end{tabular}
\caption{}
\label{}
\end{table}
答案1
类似这样的怎么样\multirow{3}{*}{$\left. \vphantom{\begin{tabular}{c}3\\3\\3\end{tabular}}\right\}$16}
?
答案2
一种更简单的方法是使用\bigdelim
,
\documentclass{article}
\usepackage{multirow,bigdelim}
\begin{document}
\begin{table}[H]
\centering
\begin{tabular}{|l|c|r|}
\hline
\multicolumn{3}{|c|}{Number of Calls} \\
\hline
(6.128) & 6 & \rdelim\}{3}{20pt}[16] \\
(2.016) & 3 & \\
(7.856) & 8 & \\
\hline
\end{tabular}
\end{table}
\end{document}
这使
答案3
该scalerel
包也是一种替代方案:
\documentclass{article}
\usepackage{scalerel}
\usepackage{multirow}
\begin{document}
\begin{table}[H]
\centering
\begin{tabular}{|l|r|r|l|c|r|r|}
\hline
Area & \multicolumn{2}{|c|}{Residents} & \multicolumn{3}{|c|}{Number of
Calls} & Percentage Moving Calls \\
\hline
Zuidhorn & 6,878 & 38.3 & (6.128) & 6 &
\multirow{3}{*}{\scalerel*[1ex]{\}}{\rule[-2.8ex]{1ex}{7.2ex}}17} & 0\% \\
Aduard & 2,253 & 12.6 & (2.016) & 3 & & 0\% \\
Lewenborg & 8,800 & 49.1 & (7.856) & 8 & & 0\% \\
\cline{2-6}
Groningen & \multicolumn{2}{|c|}{171,201} & \multicolumn{3}{|c|}{300} &
40\% \\
\cline{2-6}
Hoogkerk & 14,640 & 42.8\% & (12.84) & 13 &
\multirow{3}{*}{\scalerel*[1ex]{\}}{\rule[-2.8ex]{1ex}{7.2ex}}30} & 70\%
\\
Haren & 18,656 & 54.6\% & (16.38) & 16 & & 70\% \\
Engelbert & 870 & 2.6 \% & (0.78) & 1 & & 70\% \\
\hline \hline
Total & 223,298 & & & & & \\
\hline
\end{tabular}
\caption{}
\label{}
\end{table}
\end{document}