我正在尝试绘制一张长表但出现错误:
Command \longtable* already defined.
Or name \end... illegal, see p.192 of the manual.
我检查了旧问题但找不到解决方案。
\documentclass[prl,showpacs,superscriptaddress,floatfix,12pt,showkeys,noshowpacs]{revtex4}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[letterpaper]{geometry}
\usepackage{longtable}
\begin{document}
\centering
\begin{longtable}{rrrrrrrrrrr}
\caption{blah}
\label{tab:eb-eg}
\toprule
{Sys} & {1} & {2} & {3}& {4} & {5}& {6} & {7} & {8} & {9} & {10} & {11}
\midrule
{\bf{Sc}} & & & & & & & & & & & \\
{} & N-in & & & & & & & & & & \\
{} & N-out & & & & & & & & & & \\
{} & O-in & & & & & & & & & & \\
{} & O-out & & & & & & & & & & \\
\hline
{\bf{Ti}} & & & & & & & & & & \\
{} & N-in & & & & & & & & & & \\
{} & N-out & & & & & & & & & & \\
{} & O-in & & & & & & & & & & \\
{} & O-out & & & & & & & & & & \\
\hline
{\bf{V}} & & & & & & & & & & \\
{} & N-in & & & & & & & & & & \\
{} & N-out & & & & & & & & & & \\
{} & O-in & & & & & & & & & & \\
{} & O-out & & & & & & & & & & \\
\hline
{\bf{Cr}} & & & & & & & & & & \\
{} & N-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & N-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
\hline
{\bf{Mn}} & & & & & & & & & & \\
{} & N-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & N-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
\hline
{\bf{Fe}} & & & & & & & & & & \\
{} & N-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & N-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
\hline
{\bf{Co}} & & & & & & & & & & \\
{} & N-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & N-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
\hline
{\bf{Ni}} & & & & & & & & & & \\
{} & N-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & N-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
\hline
{\bf{Cu}} & & & & & & & & & & \\
{} & N-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & N-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
\hline
{\bf{Zn}} & & & & & & & & & & \\
{} & N-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & N-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-in & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
{} & O-out & -3.01 & 0.70 & -3.36 & 3.50 & 3.36 \\
\bottomrule
\end{longtable}
\end{document}