次のコードを入力すると、表が質問の上に表示されます。質問の下に表示させるにはどうすればよいですか?

次のコードを入力すると、表が質問の上に表示されます。質問の下に表示させるにはどうすればよいですか?
\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

  • -environmenttableは浮動表形式を取得するために使用されます。表形式を浮動させたくない場合は、これを使用しないでください。center代わりに、単純な -environment を使用できます。

  • この表にキャプションが必要な場合は、caption-package をロードして コマンドを使用します\captionof{table}{Bla Bla}。表のキャプションは表の上に表示する必要があります。

  • 適切に使用してくださいsiunitx。数値の場合は\num{1e3}、単位付きの数値の場合は を使用してください。\SI{1500}{\cubic\meter}

  • データ列には siunitx の S 列オプションを使用します。これにより、数値が小数点で揃えられ、table-formatオプションを使用して形式を指定できるようになります。

  • 表に縦線を使用しないでください。booktabs適切な間隔で特別な線が用意されています。それらを使用することを強くお勧めします(ドキュメントを読むこともお勧めします)。

  • 列挙をハードコードするのではなく、リスト環境を使用してください。リストをカスタマイズする必要がある場合は、enumitemパッケージを参照してください。このパッケージは、LaTeX リストの非常に高度なカスタマイズ性と、古い列挙を再開する可能性を提供します。

次のようにコンパイル可能な例を挙げてください。

\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}

出力:

出力

関連情報