Tabularx 重复表格 3 次,不知道为什么

Tabularx 重复表格 3 次,不知道为什么
\begin{table}
\small
\centering
\caption{Realized matching rate for time pressure group \label{table:timepressuresadvantage}

\begin{tabularx}{0.7\textwidth}{lllll}
&&NoB & Matching rate \\ Nash mixed prediction &  && $0.071$ \\ Matching game &Local control& 559 & 0.64(0.006)\\ &Online control& 458 &  0.63(0.004)\\ &Online time-pressure& 388 & 0.63(0.005)\\ Hider-seeker game &Local control& 1060 &  0.09(0.002)\\ &Online control& 893 & 0.09(0.002)\\&Online time-pressure& 753 &  0.15(0.003)\\
\end{tabularx}
\\This table illustrates the realized seeking win rate in normal condition(6s) vs time pressure condition (2s), along with the standard error in the bracket.} 
\end{table}

在此处输入图片描述

答案1

不要忽略错误消息。}标题后面有一个缺失,}结尾处有一个虚假信息。它不会给出错误,但tabularx在没有列的情况下无法做任何有用的事情X,所以

在此处输入图片描述

\documentclass{article}

\usepackage{tabularx}
\begin{document}
\begin{table}
\small
\centering
\caption{Realized matching rate for time pressure group \label{table:timepressuresadvantage}}

\begin{tabularx}{0.7\textwidth}{>{\raggedright}X>{\raggedright}Xll}
&&NoB & Matching rate \\
Nash mixed prediction &  && $0.071$ \\
Matching game &Local control& 559 & 0.64(0.006)\\
&Online control& 458 &  0.63(0.004)\\
&Online time-pressure& 388 & 0.63(0.005)\\
Hider-seeker game &Local control& 1060 &  0.09(0.002)\\
&Online control& 893 & 0.09(0.002)\\
&Online time-pressure& 753 &  0.15(0.003)\\
\end{tabularx}

This table illustrates the realized seeking win rate in normal condition(6s) vs time pressure condition (2s), along with the standard error in the bracket.
\end{table}
\end{document}

相关内容