表格后未出现行

表格后未出现行

所以我不知道为什么“N/A 表示存在任何导致模型不可行 $\mu$ ”出现在表格的开头,而实际上应该出现在表格的结尾。

\begin{table}
\caption{Parameter estimates for 2018 DTaP case study}
\centering 
\begin{tabular} {c c c }
\hline
Model component & Base Value & Sensitivity Analysis\\
\hline
$D$ & 4.034M & [4.0M, 7.832M] \\
$\mu$ & $10^{-4}$  & N/A \\
$\gamma$ & 0.25 & [0,0.5] \\
$K_{inf}. K_{Dap}$ & 4.034M & [2.837M, 4.034M] \\
$P_{inf}, P_{Dap}$ & \$ 39.8M, \$45.1M & [\$26.5, \$ 53.0M]  \\
$\rho_{inf}, \rho_{Dap}$ & \$ 18.62, \$18.02 & N/A \\
\hline
\end{tabular}
\end{table}

N/A indicates that there $\nexists$ any $\mu$ that the model becomes infeasible. 

答案1

自判决以来

N/A indicates that there $\nexists$ any $\mu$ that the model becomes infeasible.

似乎为一些表格材料提供了图例,您应该将其作为环境table本身的一部分,将其放置在tabular环境下方但在之前\end{table}。这样,图例就不会与它要说明的材料分离。

有很多方法可以做到这一点。一种方法是利用包装机械threeparttable。这种方法的一个优点是材料的宽度以下环境tabular(此处为图例)将根据需要进行换行,以免超出tabular环境的宽度。(顺便说一下,这也适用于标题。)

为了达到更好的效果,并且为了让表格看起来更加开放,我还将加载该booktabs包并使用其线条绘制宏 -- \toprule\midrule\addlinespace\bottomrule-- ,而不是基本\hline指令。

在此处输入图片描述

\documentclass{article}
\usepackage[T1]{fontenc} % unless you have a very good reason to use OT1
\usepackage{amsmath}
\usepackage{amssymb}   % for '\nexists' macro
\usepackage{booktabs}  % for well-spaced horizontal rules
\usepackage[flushleft]{threeparttable}
\begin{document}

\begin{table}
\centering 
\begin{threeparttable}
\caption{Parameter estimates for 2018 DTaP case study}
\begin{tabular} {@{} c c c @{}}
\toprule %\hline
Model component & Base Value & Sensitivity Analysis\\
\midrule % \hline
$D$ & 4.034M & [4.0M, 7.832M] \\
$\mu$ & $10^{-4}$ & N/A \\
$\gamma$ & 0.25 & [0, 0.5] \\ \addlinespace % provide some visual grouping
$K_{\inf}$, $K_{\mathrm{Dap}}$ & 4.034M & [2.837M, 4.034M] \\
$P_{\inf}$, $P_{\mathrm{Dap}}$ & \$39.8M, \$45.1M & [\$26.5, \$53.0M] \\
$\rho_{\inf}$, $\rho_{\mathrm{Dap}}$ & \$18.62, \$18.02 & N/A \\
\bottomrule %\hline
\end{tabular}

\smallskip\footnotesize
N/A indicates that there $\nexists$ any $\mu$ that the model becomes infeasible.
\end{threeparttable}
\end{table}

\end{document}

相关内容