\begin{question}
Calculate the reverberation time of hall of 1500 \si{m^3} volume
having a seating capacity for 120 persons when \\
(i) when the hall is empty \\
(ii) with full capacity audience \\
(iii) audience occupying the cushioned seats with following data:
\begin{table}
\begin{tabular}{| c | c | c |}
\hline
\textbf{Surface} & \textbf{Area (\si{m^2})} & \textbf{Coefficient of
absorption (O W U)} \\
\hline
Plastered walls & 112 & 0.03 \\
Wooden floor & 130 & 0.06 \\
Plastered ceiling & 170 & 0.04 \\
Wooden door & 20 & 0.06 \\
\hline
Cushioned chairs (Nos.) & 100 & 1.0 \\
Audience (Nos.) & 120 & 4.7 \\
\hline
\end{tabular}
\end{table}
答案1
该table
环境适用于浮动表格。如果您不想让表格材料移动,请省略它并直接使用tabular
。
答案2
-environment
table
用于获取浮动表格,如果您不希望表格浮动,请不要使用它。您可以改用简单的center
-environment。如果您想要为该表格添加标题,请加载 -package
caption
并使用\captionof{table}{Bla Bla}
命令。表格的标题应位于表格上方。正确使用
siunitx
,用于数字\num{1e3}
,用于带单位的数字\SI{1500}{\cubic\meter}
对数据列使用 siunitx 的 S 列选项,它将数字按小数点对齐,并允许您使用该
table-format
选项指定格式。不要在表格中使用垂直线。
booktabs
提供具有适当间距的特殊线条。强烈建议使用它们(并阅读文档)您不应该对枚举进行硬编码,而应该使用列表环境。如果您需要自定义列表,请查看包
enumitem
。它提供了非常高的乳胶列表可定制性,并可以恢复旧的枚举。
你应该给出一个可编译的例子,像这样:
\documentclass{article}
\usepackage{exsheets} % i assumed you used this package
\usepackage{booktabs} % for the top/bottom/midrule commands
\usepackage{siunitx} % use it everwhere you can and all of it's commands
\usepackage{enumitem} % for custamisation of enumerate and other lists
\usepackage{caption} % for the \captionof command
\begin{document}
\begin{question}
Calculate the reverberation time of hall of \SI{1500}{\cubic\metre} volume
having a seating capacity for 120 persons when
\begin{enumerate}[label=(\roman*), nosep]
\item when the hall is empty
\item with full capacity audience
\item audience occupying the cushioned seats with following data:
\end{enumerate}
\begin{center}
\captionof{table}{Data for the Question}
\begin{tabular}{l S[table-format=3.0] S[table-format=1.2]}
\toprule
{Surface} & {Area / \si{m^2}} & {Coefficient of absorption / O W U} \\
\midrule
Plastered walls & 112 & 0.03 \\
Wooden floor & 130 & 0.06 \\
Plastered ceiling & 170 & 0.04 \\
Wooden door & 20 & 0.06 \\
\midrule
Cushioned chairs (Nos.) & 100 & 1.0 \\
Audience (Nos.) & 120 & 4.7 \\
\bottomrule
\end{tabular}
\end{center}
\end{question}
\end{document}
输出: