Quando digito o código a seguir, a tabela aparece acima da pergunta. Como posso fazer com que apareça abaixo da pergunta?

Quando digito o código a seguir, a tabela aparece acima da pergunta. Como posso fazer com que apareça abaixo da pergunta?
\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}

insira a descrição da imagem aqui

Responder1

O tableambiente é para tabelas flutuantes. Se você não quiser que seu material tabular seja movido, omita-o e use apenas tabular.

Responder2

  • O table-environment é usado para obter tabulares flutuantes, se você não quiser que um tabular flutue, apenas não o use. Você pode usar um centerambiente simples.

  • Se você quiser uma legenda para esta tabular, carregue o caption-package e use o \captionof{table}{Bla Bla}comando. As legendas das tabelas devem estar acima da tabela.

  • Use siunitxcorretamente, para um número use \num{1e3}, para um número com uso unitário\SI{1500}{\cubic\meter}

  • Use a opção S-column do siunitx para colunas de dados, ela alinha os números em suas casas decimais e permite especificar o formato com a table-formatopção.

  • não use linhas verticais nas tabelas. booktabsoferece linhas especiais com espaçamento adequado. É altamente recomendável usá-los (e ler a documentação)

  • Você não deve codificar enumerações, use os ambientes de lista. Se precisar customizar as listas, dê uma olhada no enumitempacote. Oferece alta personalização das listas de látex e a possibilidade de retomar uma enumeração antiga.

Você deve dar um exemplo compilável, como este:

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

Saída:

Saída

informação relacionada