!扫描 \@imakebox 的使用时文件结束

!扫描 \@imakebox 的使用时文件结束

我正在尝试创建一个表,一开始一切正常,突然出现错误,我不明白。也许有人知道问题出在哪里?提前谢谢您。

Error msg:
! File ended while scanning use of \@imakebox.
<inserted text>
\par
<*> ./test.tex
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

我的脚本:

\documentclass{article}
\usepackage{array, booktabs, caption}
\usepackage{tabu}
\usepackage{amsmath,mathtools}
\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}
\newcommand{\tvar}[1]{\mathit{#1}}
\usepackage{commath}
\usepackage{amssymb}
\setlength{\tabcolsep}{13pt}
\renewcommand{\arraystretch}{1.5}
\usepackage[backend=bibtex,
            style=authoryear,
            natbib=true, 
            style=numeric-comp
            ]{biblatex}

\begin{document}
\hrulefill
\noindent\makebox[\linewidth]{
\begin{tabular}{|c|*{6}{c|}
& {$\tvar{delta}_{\mathrm{max,X}}$(m)} & {$\Theta (degree)$} & {$\tvar{delta}_{\mathrm{max,Y}}$(m)} & {$ \Theta (degree)$} & {$\tvar{delta}_{\mathrm{max,Z}}$(m)}  & {$\Theta (degree)$}  \\
\hline
FH & 0.262 & -146.422 & 0.289 & -1.680 & 0.100 & -2.256\\
\hline
UT & 0.163 & -0.122 & 0.210 & 21.968 & 0.080 & 9.276\\
\hline
LT & 0.196 & -0.122 & 0.166 & 32.315 & 0.136 & 8.230\\
\hline
\end{tabular}}
\end{document}

答案1

{您的列名称中有一个额外内容;它应该是{|c|*{6}c|}

相关内容