
我正在嘗試編寫一個使用其他兩個手稿的文檔,這些手稿使用了功能似乎重疊的不同庫。特別是當我嘗試使用時
\usepackage[linesnumbered, ruled, vlined]{algorithm2e}
使用這些演算法包(\usepackage{algpseudocode}
,\usepackage{algorithm}
),我在編譯文檔期間遇到了無數錯誤。所有這些錯誤似乎都與演算法描述有關。當我刪除該庫時,我收到了一堆與某些演算法程式碼部分相關的錯誤。例如
l.148 \SetAlgoLined 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.
我正在考慮將文件分開,但是還有其他方法可以解決這些問題嗎?