我在我的 Mac 上使用 MacTex,并尝试使用 Texmaker 作为我的编辑器。
但是,当我输入\usepackage{algorithms}
Texmaker 时,它总是警告我algorithms.sty
找不到。我也在Texshop试过这个,错误是一样的。
我首先检查了 TexLive Utility 以确保安装了算法包。它给出了肯定的答案。然后我尝试algorithms.sty
从一个文件夹复制/usr/local/texlive/2015/texmf-dist/tex/latex/algorithms
到另一个文件/usr/local/texlive/2015/texmf-dist/tex/latex/base
夹并执行 texhash 进行更新。仍然无法正常工作并得到同样的错误。
有人可以帮我弄这个吗?任何帮助表示赞赏。