\begin 的参数有一个额外的 }

\begin 的参数有一个额外的 }

我收到了一封电子邮件,其中有一份“示例”文档,我应该根据自己的需要进行剪切/复制/粘贴。但是,它似乎充满了问题。首先出现的问题是:

./testit.tex:9: Argument of \begin has an extra }.

该文件:

\documentclass{aastex}
\usepackage{lscape}
\usepackage{longtable}

\begin{document}

\clearpage
\longtable
\begin{landscape}
\begin{deluxetable}{ccccccccccccccc}
\tabletypesize{\scriptsize}
\tablecolumns{10}
\tablewidth{0pt}
\tablecaption{\bf NGC 2264 members monitored with {\em CoRoT} and {\em
  Spitzer}}
\tablehead{
\colhead{Object} & \colhead{2MASS id} & \colhead{CoRoT id} & \colhead{J} & \colhead{H} &
\colhead{K} & \colhead{[3.6]} & \colhead{[4.5]} & \colhead{[5.8]} & \colhead{[8.0]} &
\colhead{[24]} & \colhead{Class} & \colhead{SpT} &
\colhead{H$\alpha$} & \colhead{Comp?}}
\startdata
CSI Mon-000007 & J06415304+0958028 & 223994721 & 12.22$\pm$0.02 & 11.53$\pm$0.03 & 11.18$\pm$0.02 & 10.12$\pm$0.00 & 9.74$\pm$0.00 & 9.32$\pm$0.00 & 8.75$\pm$0.00 & 6.20$\pm$0.03 & II & K7 & - & Y \\
CSI Mon-000011 & J06411725+0954323 & 223985009 & 12.83$\pm$0.02 & 12.05$\pm$0.03 & 11.55$\pm$0.02 & 10.49$\pm$0.00 & 10.07$\pm$0.00 & 9.69$\pm$0.00 & 8.82$\pm$0.00 & 5.60$\pm$0.01 & II & K7 & 58.30 & N \\
CSI Mon-006491 & J06392550+0931394 & 616920065 & 13.77$\pm$0.03 & 12.86$\pm$0.03 & 12.38$\pm$0.02 & 11.73$\pm$0.00 & 11.44$\pm$0.00 & 11.15$\pm$0.01 & 10.52$\pm$0.01 & 7.86$\pm$0.03 & II & - & - & N 
\enddata
\tablecomments{We have assembled a list of NGC~2264 region members,
  candidates, and field stars, called the CSI~Mon catalog. Here we
  show only the Mon identification numbers of objects discussed in
  this paper. The {\em CoRoT} ids are from the SRa05 run. H$\alpha$ refers to the equivalent
 width of the H$\alpha$ emission line, and we adopt the values of \citet{2002AJ....123.1528R} and \citet{2005AJ....129..829D}. 
  Spectral types are from \citet{1956ApJS....2..365W}, \citet{2004AJ....127.2228M}, 
  and \citet{2005AJ....129..829D}, Objects with the disk class II/III
  are have a class III SED based on the slope, but have significant
  evidence of a weak disk based on their [3.6]-[8.0] colors. The ``comp''
  column denotes whether the object appears to have a companion within
  1\arcsec (``Y'' if yes). Detection is based on visual binarity or elongation of the
  PSF reported by \citet{2009AJ....138.1116S}, or spectroscopic indications of
  binarity via variable radial velocity measured by \citet{2006ApJ...648.1090F}.
  Objects with no known companion (``N'') may still be
  undetected binaries. *Objects with IRAC staring data are marked with 
 asterisks.}
\end{deluxetable}

为什么这么说?我没有发现什么明显的东西(至少对我来说)。

答案1

longtable定义了一个环境longtable,该环境接受一个强制参数,即列的规范。因此,以下标记\begin 成为的参数\longtable

由于表格位于 之后\begin{landscape},因此前一个\longtable可能只是拼写错误。如果将其删除,则文件可以编译(在添加\end{landscape}和之后) \end{document}

相关内容