禁忌包 \end{tabu} 錯誤

禁忌包 \end{tabu} 錯誤

ShareLaTex 正在「發現」生產線上發生的幾個錯誤,\end{tabu} 我對乳膠相當陌生,我正在努力找出問題所在。

任何幫助將不勝感激,這是代碼:

\documentclass[11pt]{article}
\usepackage[utf8x]{inputenc}
\usepackage[table]{xcolor}
\usepackage{tabu}
\usepackage[version=4]{mhchem}

\begin{document}

\begin{table}
\centering
\caption{316 SS comp.}
\label{tab:316}
\rowcolors{1}{blue!5!white!95}{white}
\begin{tabu} to \textwidth {X[.2,l] X[.1,l] X[l]}
\rowfont\bfseries {{Element} & {wt\%} & {Isotopic Abundance}} \\[0.20em]
\small{Chromium} & 17.00 & \ce{^{52} Cr}(83.76\%),\ce{^{53} Cr}(9.55\%),\ce{^{50} Cr}(4.31\%),\ce{^{54} Cr}(2.38\%) \\[0.2em]
\\etc.....

\end{tabu}
\end{table}


\end{document}

答案1

您必須刪除跨越多列的標題行中的大括號:

\rowfont\bfseries {Element} & {wt\%} & {Isotopic Abundance} \\[0.20em]

相關內容