如何查找 tlmgr_install 安装的软件包的文件位置

问题描述 投票:0回答:1

我是 Latex 和 rMarkdown 的新手,所以如果这是一个非常基本的问题,我深表歉意。我无法找到由tinytex::tlmgr_install 安装的软件包的文件位置。我在哪里可以找到这些包裹的位置?

例如,在哪里可以找到通过下面的代码安装的包“longtable”和“rotating”的文件位置?

library("tinytex")
tinytex::tlmgr_install("longtable")
tinytex::tlmgr_install("rotating")

我的操作系统是Mac OS 12.5。我尝试在 Finder 中搜索包名称,但没有找到任何结果。我相信这些软件包确实安装成功,因为我能够使用它们在 xtable 教程中重现 rmarkdown 中的示例,例如:

x <- matrix(rnorm(1000), ncol = 10)
x.big <- xtable(x, caption = "My Table")
print(x.big, hline.after=c(-1, 0), tabular.environment = "longtable")
r r-markdown tinytex tlmgr
1个回答
0
投票

您可能会在

ls ~/Library/TinyTeX/texmf-dist/
下找到它们。

例如,这是我的 LaTeX 包:

% ls ~/Library/TinyTeX/texmf-dist/tex/latex
academicons euenc       graphics-def    lineno      times
amscls      fancyhdr    helvetic    lm      tipa
amsfonts    fancyvrb    hycolor     mdwtools    tools
amsmath     filehook    hyperref    microtype   unicode-math
arydshln    firstaid    ifplatform  minted      upquote
atveryend   float       inconsolata multirow    url
auxhook     fontawesome5    kvoptions   natbib      xcolor
base        fontspec    kvsetkeys   newfloat    xkeyval
bookmark    framed      l3backend   psnfss      zapfding
booktabs    fvextra     l3kernel    refcount
colortbl    geometry    l3packages  rerunfilecheck
epstopdf-pkg    graphics    latexconfig symbol
etoolbox    graphics-cfg    letltxmacro tex-ini-files
© www.soinside.com 2019 - 2024. All rights reserved.