我不知道如何修复此错误。它来自已经接受的论文我正尝试将其提交给 arXiv。
\documentclass[10pt,twocolumn,letterpaper]{article}
\usepackage{graphicx}
\newcommand\xmark{x}
\newcommand\cmark{y}
\begin{document}
\newcommand{\rb}[1]{\makebox[20pt]{\rotatebox{45}{#1}}}%
\begin{table*}[ht]
% \centering
\begin{tabular}{rrrc|ccccccccc}
Dataset & \#objects & \#frames & Description &
% \rb{depth} & \rb{stereo} & \rb{\multicolumn{1}{c{0.5cm}}{\centering 3D \\ pose}} &
\makebox[10px]{\rb{depth}} & \makebox[10px]{\rb{stereo}} &
\makebox[9px]{\rb{\multicolumn{1}{p{0.7cm}}{\centering 3D \\ pose}}} &
\rb{\multicolumn{1}{p{1.1cm}}{\centering full \\ rotation}} & \rb{occlusion} &
\rb{\multicolumn{1}{p{1.2cm}}{\centering extreme \\ lighting}} &
\rb{\multicolumn{1}{p{1.2cm}}{\centering segmen \\ tation}} &
\rb{\multicolumn{1}{p{0.9cm}}{\centering bbox \\ coords}} &
\rb{\multicolumn{1}{p{1.5cm}}{\centering flying \\ distractors}} \\
\hline
UW RGB~\cite{lai2011large} & 300 & 250k & various &
\cmark & \xmark & \cmark & \cmark & \xmark & \xmark & \xmark & \xmark & \xmark \\
LINEMOD~\cite{hinterstoisser2012model} & 15 & 18k & various &
\cmark & \xmark & \cmark & \cmark & \xmark & \xmark & \xmark & \xmark & \xmark \\
Pascal3D+~\cite{xiang2014beyond} & 12 & 30k & various &
\xmark & \xmark & \cmark & \xmark & \cmark & \cmark & \xmark & \xmark & \xmark \\
% Brachman et al.~\cite{brachmann2014learning} & 20 & 10k & various &
% \cmark & \xmark & \cmark & \cmark & \cmark & \cmark & \xmark & \xmark & \xmark \\
Rutgers APC~\cite{rennie2016dataset} & 24 & 10k & warehouse &
\cmark & \xmark & \cmark & \xmark & \xmark & \xmark & \xmark & \xmark & \xmark \\
T-LESS~\cite{hodan2017t} & 30 & 10k & industrial &
\cmark & \xmark & \cmark & \cmark & \cmark & \xmark & \xmark & \xmark & \xmark \\
YCB Video~\cite{xiang2017posecnn} & 21 & 134k & household &
\cmark & \xmark & \cmark & \cmark & \cmark & \xmark & \cmark & \cmark & \xmark \\
Falling Things~\cite{tremblay2018falling} & 21 & 60k & household &
\cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \xmark \\
SIDOD & 21 & 144k & household &
\cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark \\
&
\end{tabular}
\caption{Object pose and detection datasets with at least 10,000 frames.} %TODO: finish caption.}
\label{tab:comparison}
\end{table*}
\end{document}
这是 3 页文章的完整 Latexhttps://pastebin.com/wLaT1rH9
答案1
\multicolumn
需要是其单元格中的第一项。但这里不需要多列,我认为你可以使用 parbox 而不是\multicolumn{1}{p}
\documentclass[10pt,twocolumn,letterpaper]{article}
\usepackage{graphicx}
\newcommand\xmark{x}
\newcommand\cmark{y}
\begin{document}
\newcommand{\rb}[1]{\makebox[20pt]{\rotatebox{45}{#1}}}%
\begin{table*}[ht]
% \centering
\begin{tabular}{rrrc|ccccccccc}
Dataset & \#objects & \#frames & Description &
% \rb{depth} & \rb{stereo} & \rb{\parbox{0.5cm}{\centering 3D \\ pose}} &
\makebox[10px]{\rb{depth}} & \makebox[10px]{\rb{stereo}} &
\makebox[9px]{\rb{\parbox{0.7cm}{\centering 3D \\ pose}}} &
\rb{\parbox{1.1cm}{\centering full \\ rotation}} & \rb{occlusion} &
\rb{\parbox{1.2cm}{\centering extreme \\ lighting}} &
\rb{\parbox{1.2cm}{\centering segmen \\ tation}} &
\rb{\parbox{0.9cm}{\centering bbox \\ coords}} &
\rb{\parbox{1.5cm}{\centering flying \\ distractors}} \\
\hline
UW RGB~\cite{lai2011large} & 300 & 250k & various &
\cmark & \xmark & \cmark & \cmark & \xmark & \xmark & \xmark & \xmark & \xmark \\
LINEMOD~\cite{hinterstoisser2012model} & 15 & 18k & various &
\cmark & \xmark & \cmark & \cmark & \xmark & \xmark & \xmark & \xmark & \xmark \\
Pascal3D+~\cite{xiang2014beyond} & 12 & 30k & various &
\xmark & \xmark & \cmark & \xmark & \cmark & \cmark & \xmark & \xmark & \xmark \\
% Brachman et al.~\cite{brachmann2014learning} & 20 & 10k & various &
% \cmark & \xmark & \cmark & \cmark & \cmark & \cmark & \xmark & \xmark & \xmark \\
Rutgers APC~\cite{rennie2016dataset} & 24 & 10k & warehouse &
\cmark & \xmark & \cmark & \xmark & \xmark & \xmark & \xmark & \xmark & \xmark \\
T-LESS~\cite{hodan2017t} & 30 & 10k & industrial &
\cmark & \xmark & \cmark & \cmark & \cmark & \xmark & \xmark & \xmark & \xmark \\
YCB Video~\cite{xiang2017posecnn} & 21 & 134k & household &
\cmark & \xmark & \cmark & \cmark & \cmark & \xmark & \cmark & \cmark & \xmark \\
Falling Things~\cite{tremblay2018falling} & 21 & 60k & household &
\cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \xmark \\
SIDOD & 21 & 144k & household &
\cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark \\
&
\end{tabular}
\caption{Object pose and detection datasets with at least 10,000 frames.} %TODO: finish caption.}
\label{tab:comparison}
\end{table*}
\end{document}
答案2
旋转的标题很难放置,特别是如果很长并且需要分成两行时。
我建议在表格底部使用缩写并加上图例。
\documentclass[10pt,twocolumn,letterpaper]{article}
\usepackage{booktabs}
\newcommand\xmark{x}
\newcommand\cmark{y}
\begin{document}
\begin{table*}[ht]
\centering
\setlength{\tabcolsep}{0pt}
\begin{tabular*}{\textwidth}{ @{\extracolsep{\fill}} lccc @{\hspace{0.5em}} *{9}{c} }
\toprule
Dataset & \#objects & \#frames & Description &
(1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) & (9) \\
\midrule
UW RGB~\cite{lai2011large} & 300 & 250k & various &
\cmark & \xmark & \cmark & \cmark & \xmark & \xmark & \xmark & \xmark & \xmark \\
LINEMOD~\cite{hinterstoisser2012model} & 15 & 18k & various &
\cmark & \xmark & \cmark & \cmark & \xmark & \xmark & \xmark & \xmark & \xmark \\
Pascal3D+~\cite{xiang2014beyond} & 12 & 30k & various &
\xmark & \xmark & \cmark & \xmark & \cmark & \cmark & \xmark & \xmark & \xmark \\
% Brachman et al.~\cite{brachmann2014learning} & 20 & 10k & various &
% \cmark & \xmark & \cmark & \cmark & \cmark & \cmark & \xmark & \xmark & \xmark \\
Rutgers APC~\cite{rennie2016dataset} & 24 & 10k & warehouse &
\cmark & \xmark & \cmark & \xmark & \xmark & \xmark & \xmark & \xmark & \xmark \\
T-LESS~\cite{hodan2017t} & 30 & 10k & industrial &
\cmark & \xmark & \cmark & \cmark & \cmark & \xmark & \xmark & \xmark & \xmark \\
YCB Video~\cite{xiang2017posecnn} & 21 & 134k & household &
\cmark & \xmark & \cmark & \cmark & \cmark & \xmark & \cmark & \cmark & \xmark \\
Falling Things~\cite{tremblay2018falling} & 21 & 60k & household &
\cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \xmark \\
SIDOD & 21 & 144k & household &
\cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark \\
\midrule[\heavyrulewidth]
\multicolumn{1}{@{}l@{}}{%
\makebox[0pt][l]{\parbox[t]{\textwidth}{\raggedright
(1):~depth; (2):~stereo; (3):~3D~pose; (4):~full~rotation; (5):~occlusion;
(6):~extreme~lighting; (7):~segmentation; (8):~bbox~coords; (9):~flying~distractors}}}
\end{tabular*}
\caption{Object pose and detection datasets with at least 10,000 frames.} %TODO: finish caption.}
\label{tab:comparison}
\end{table*}
\end{document}