安装 LaTeX TexStudio 后缺少 letltxmacro.sty

Bow*_*ark 16 package-management apt latex compiling

我正在运行 Ubuntu 20.04。我通过aptitude. 但是当我尝试构建文档时,在 TexStudio 中出现以下错误:

File `letltxmacro.sty' not found. \RequirePackage{letltxmacro}[2008/06/13]
Run Code Online (Sandbox Code Playgroud)

经过一番谷歌搜索,我发现它可能属于包gl2pslibgl2ps*. 但是,它们都在我的存储库中不可用:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gl2ps
Run Code Online (Sandbox Code Playgroud)

有没有可能解决这个问题?如果是,如何?

N0r*_*ert 27

根据在 packages.ubuntu.com上的搜索- 您需要为letltxmacro.sty安装单个软件包:

sudo apt-get install texlive-latex-extra
Run Code Online (Sandbox Code Playgroud)

  • 效果很好。 (4认同)