安裝 Texlive 2024 後使用演算法2e 出現問題

安裝 Texlive 2024 後使用演算法2e 出現問題

我用這個安裝了 texlive 2024關聯在 Ubuntu 2022.04 上並將 Latex 資料夾新增至系統路徑中,當我不使用 Algorithm2e 套件時,我可以編譯該文件。但不幸的是,當我想使用\usepackage{algorithm2e} 時,我收到錯誤“文件`algorithm2e.sty'未找到。\newcommand”,儘管我可以在“/usr/local/texlive/”中找到“ algorithm2e.sty」 2024/texmf-dist/tex/latex/algorithm2e/algorithm2e.sty」。有人可以幫忙解決這個錯誤嗎?

相關內容