Cuando escribo el siguiente código, la tabla aparece encima de la pregunta. ¿Cómo puedo hacer que aparezca debajo de la pregunta?

Cuando escribo el siguiente código, la tabla aparece encima de la pregunta. ¿Cómo puedo hacer que aparezca debajo de la pregunta?
\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}

ingrese la descripción de la imagen aquí

Respuesta1

El tableentorno es para mesas flotantes. Si no desea que su material tabular se mueva, omítalo y simplemente use tabular.

Respuesta2

  • El tableentorno se utiliza para obtener tabulares flotantes; si no desea que un tabular flote, simplemente no lo use. Puedes utilizar un centerentorno simple en su lugar.

  • Si desea un título para este tabular, cargue el captionpaquete y use el \captionof{table}{Bla Bla}comando. Los títulos de las tablas deben estar encima de la mesa.

  • Usar siunitxcorrectamente, para un uso numérico \num{1e3}, para un número con uso unitario\SI{1500}{\cubic\meter}

  • Utilice la opción columna S de siunitx para columnas de datos, alinea los números en su punto decimal y le permite especificar el formato con la table-formatopción.

  • No utilice líneas verticales en las tablas. booktabsOfrece líneas especiales con el espaciado adecuado. Es muy recomendable utilizarlos (y leer la documentación)

  • No debe codificar enumeraciones, utilice los entornos de lista. Si necesita personalizar las listas, eche un vistazo al enumitempaquete. Ofrece una personalización muy alta de las listas de látex y la posibilidad de reanudar una enumeración antigua.

Deberías dar un ejemplo compilable, 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}

Producción:

Producción

información relacionada