La tabla que utiliza látex al dorso se muestra en la parte inferior de la tabla.

La tabla que utiliza látex al dorso se muestra en la parte inferior de la tabla.

A pesar de especificar que la tabla debe mostrar dónde se ubica en el código, \begin{table}[ht]se muestra en la parte inferior del documento. Estoy usando látex al dorso.

Esto es lo que intento:

\begin{table}[h!]
\begin{minipage}{\textwidth}
    \centering
    \caption{Example of profit developments}
    \label{tab:table3}
    \begin{tabular}{llrrrrr}
    \toprule
    & & \multicolumn{1}{c}{} & \multicolumn{2}{c}{Case 1} & \multicolumn{2}{c}{Case 2} \\
    \cmidrule(lr){4-5} \cmidrule(lr){6-7}
    & & \multicolumn{1}{c}{} & \multicolumn{2}{c}{\begin{tabular}{@{}c@{}}Constant\\ mark-up assumption\end{tabular}} & \multicolumn{2}{c}{{\begin{tabular}{@{}c@{}}Increasing\\ mark-up assumption\end{tabular}}} \\
    \cmidrule(lr){2-7}
    & {\begin{tabular}{@{}c@{}}National\\Accounts Indicators\end{tabular}} & {\begin{tabular}{@{}c@{}}Initial Period\\ T0\end{tabular}} & T1 & {\begin{tabular}{@{}c@{}}\%Change from\\ T0 to T1\end{tabular}} & T1 & {\begin{tabular}{@{}c@{}}\%Change from\\ T0 to T1\end{tabular}} \\
    \cmidrule(lr){2-7}
    (1) & Mark-up &20\%&20\% &0\% &15\% &-25\% \\
    \cmidrule(lr){2-7}
    (2) & Real units & & & & & \\
    \cmidrule(lr){2-7}
    (3) & Intermediate costs & & & & & \\
    \cmidrule(lr){2-7}
    (4) & Labour costs & & & & & \\
    \cmidrule(lr){2-7}
    (5) & Total costs = (3) + (4) & & & & & \\
    \cmidrule(lr){2-7}
    (6) & Profits & & & & & \\
    \cmidrule(lr){2-7}
    (7) & Nominal gross output = (5) + (6) & & & & & \\
    \cmidrule(lr){2-7}
    (8) & Unit profits = (6) / (2) & & & & & \\
    \cmidrule(lr){2-7}
    (9) & Price = (7) / (2) & & & & & \\
    \cmidrule(lr){2-7}
    (10) & Profit share = (6) / [(6) + (4)] & & & & & \\
    \bottomrule
    \end{tabular}
      \\Source: US Bureau of Economic Analysis
      \end{minipage}
\end{table}

información relacionada