1

在 Ubuntu 中,我可以简单地从终端运行:

texmaker file.tex

它在 Texmaker 中打开了我的 tex 文件。在 MacOS 中texmaker,即使我安装了Texmaker ,也找不到该命令。

如何在 MacOS 中实现这一点?有没有等价的命令?

4

2 回答 2

1

安装 Texmaker 后,您可以添加:

alias texmaker="open -a texmaker"

到你的.profile. 从现在开始,应该可以简单地从命令行运行:

texmaker file.tex

在它所在的位置file.tex

于 2018-11-28T16:42:17.007 回答
1

如果您是这个意思,那么您可以使用以下命令使用homebrew 安装它:

brew cask install texmaker
于 2018-11-28T16:01:04.060 回答