使用 MiKTeX 在 Windows 7 上运行 LyX。我试图将 LyX 的“嵌入式对象教程”导出为 PDF,但出现此错误:
Undefined control sequence
\hline
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
有问题的代码似乎是
\let\myHlineC\hline
\renewcommand{\hline}
{\arrayrulecolor{red}\myHlineC\arrayrulecolor{black}}
(文件第 2.11.2 节)。
可能相关,也可能不相关:文件的序言。