\documentclass[manuscript]{aastex}
\begin{document}
\clearpage
\begin{deluxetable}{}
\tabletypesize{\scriptsize}
\rotate
\tablecaption{Sample table taken from \citet{treu03}\label{tbl-1}}
\tablewidth{0pt}
\tablehead{
\colhead{Mon ID} & \colhead{U} & \colhead{B} & \colhead{V} & \colhead{R} &
\colhead{I} & \colhead{u} & \colhead{g} &
\colhead{i} & \colhead{J} &
\colhead{Jerr} & \colhead{H} & \colhead{Herr} & \colhead{K} & \colhead{Kerr} & \colhead{IRAC1} & \colhead{I1err} & \colhead{IRAC2} & \colhead{I2err} & \colhead{IRAC3} & \colhead{I3err} & \colhead{IRAC4} & \colhead{I4err} & \colhead{MIPS24} & \colhead{M24err} & \colhead{SpT} & \colhead{HaEW} & \colhead{RA} & \colhead{DEC} & \colhead{Mean I1} & \colhead{Mean I2} & \colhead{alpha K24} & \colhead{Class} & \colhead{alpha K8} & \colhead{Av}}
\startdata
Mon-000101 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 16.749 & 99.999 & 16.253 & 99.999 & 99.999 & 99.999 & 11.142 & 0.014 & 10.05 & 0.007 & 9.091 & 0.028 & 8.326 & 0.066 & 99.999 & 99.999 & null & -99.999 & 100.27242 & 9.608597 & 11.082 & 10.034 & 0.39 & I & 0.39 & 31.1 \\
Mon-000171 & 99.999 & 99.999 & 24.485 & 22.18 & 19.966 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 14.942 & 0.058 & 14.479 & 0.111 & 13.639 & 1.256 & 12.11 & 0.302 & 99.999 & 99.999 & null & -99.999 & 100.2923 & 9.52286 & 14.834 & 14.385 & 0.45 & I & 0.45 & 33.7 \\
\enddata
\end{document}
(上图)是我想制作的表格的一小部分。基本上,我只是将我的数据(使用 翻译excel2latex
)复制/粘贴到包中的 sample.tex 文档中aastex
。当我尝试查看 PDF 时(抱歉,不太熟悉 LaTeX 术语),我收到以下错误:
./sample.tex:600: Use of /@array doesn't match its definition.
<argument> \edef \reserved@a {
\reserved@a x}\advance \@tempcnta \m@ne
1.600 \startdata
?
我不知道那是什么意思,也不知道我的问题出在哪里。提前感谢任何指点、帮助和一般帮助。
答案1
我以前没见过这种环境,但texdoc aastex
它显示参数应该是每列的 rl 或 c。另外,你错过了\end{deluxetable}
\begin{deluxetable}{rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr}
\tabletypesize{\scriptsize}
\rotate
\tablecaption{Sample table taken from \citet{treu03}\label{tbl-1}}
\tablewidth{0pt}
\tablehead{
\colhead{Mon ID} & \colhead{U} & \colhead{B} & \colhead{V} & \colhead{R} &
\colhead{I} & \colhead{u} & \colhead{g} &
\colhead{i} & \colhead{J} &
\colhead{Jerr} & \colhead{H} & \colhead{Herr} & \colhead{K} & \colhead{Kerr} & \colhead{IRAC1} & \colhead{I1err} & \colhead{IRAC2} & \colhead{I2err} & \colhead{IRAC3} & \colhead{I3err} & \colhead{IRAC4} & \colhead{I4err} & \colhead{MIPS24} & \colhead{M24err} & \colhead{SpT} & \colhead{HaEW} & \colhead{RA} & \colhead{DEC} & \colhead{Mean I1} & \colhead{Mean I2} & \colhead{alpha K24} & \colhead{Class} & \colhead{alpha K8} & \colhead{Av}}
\startdata
Mon-000101 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 16.749 & 99.999 & 16.253 & 99.999 & 99.999 & 99.999 & 11.142 & 0.014 & 10.05 & 0.007 & 9.091 & 0.028 & 8.326 & 0.066 & 99.999 & 99.999 & null & -99.999 & 100.27242 & 9.608597 & 11.082 & 10.034 & 0.39 & I & 0.39 & 31.1 \\
Mon-000171 & 99.999 & 99.999 & 24.485 & 22.18 & 19.966 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 99.999 & 14.942 & 0.058 & 14.479 & 0.111 & 13.639 & 1.256 & 12.11 & 0.302 & 99.999 & 99.999 & null & -99.999 & 100.2923 & 9.52286 & 14.834 & 14.385 & 0.45 & I & 0.45 & 33.7 \\
\enddata
\end{deluxetable}