我收到“LaTeX 错误:数组参数中的非法字符”

我收到“LaTeX 错误:数组参数中的非法字符”
\begin{table}
\centering
\begin{tabular}{ i|i|i }

Dimnsions in nanoscale & Property &example\\\hline
3D Nanodots & All dimensions lie in nanoscale & fullerenes \\
2D Nanosheets & 2 dimensions lie in nanoscale & asbestos fibres\\
1D Nanofibers & 1 dimension lies in nanoscale & Carbon nanotubes\\
\end{tabular}
\caption{\label{tab:widgets}An example table.}
\end{table}

答案1

我认为你只是忽略了i事实上是l

\documentclass{article}

\begin{document}

\begin{table}
\centering
\begin{tabular}{ l|l|l }

Dimnsions in nanoscale & Property &example\\\hline
3D Nanodots & All dimensions lie in nanoscale & fullerenes \\
2D Nanosheets & 2 dimensions lie in nanoscale & asbestos fibres\\
1D Nanofibers & 1 dimension lies in nanoscale & Carbon nanotubes\\
\end{tabular}
\caption{\label{tab:widgets}An example table.}
\end{table}

\end{document}

相关内容