方程式中未定義的控制序列 - 錯誤訊息但代碼有效

方程式中未定義的控制序列 - 錯誤訊息但代碼有效

在我的文件中編寫方程式時,我收到所有方程式相同的錯誤訊息。程式碼可以編譯,但錯誤訊息堆積起來。錯誤中唯一改變的是它所引用的行(在本例中為 404 行)。

方程式範例:

\begin{equation}
    a
\end{equation}

錯誤訊息:

Undefined control sequence

<argument> ...es \theequation \unskip \italiccorr 
                                                  )
l.404 \end{equation}

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.

相關內容