LoginSignup
0
1

basictex 2023 mac

Last updated at Posted at 2021-02-15
Distribution

配布的な?

  • TeXLive
  • MiKTeX
BasicTeX

TeXLiveを元にしたMacOS用のディストリビューションでscheme-smallに相当するものらしい

brew install --cask basictex

pathが通らない時は

echo 'export PATH="$PATH:/usr/local/texlive/2021basic/bin/universal-darwin"' >> ~/.zshrc
sudo tlmgr update --self --all
sudo tlmgr install collection-langjapanese #日本語したい
sudo tlmgr isntall haranoaji #日本語標準フォントがIPAEXから原ノ味に変更された。
Package

足りないパッケージを補う。


sudo tlmgr install [package]
#一例
sudo tlmgr install biblatex wrapfig minted fvextra catchfile xstring framed multirow trimspaces transparent svg courier luatex85 xypic bussproofs rsfs lualatex-math selnolig biber genealogytree tcolorbox environ framed standalone varwidth circuitikz scsnowman tikzfill
luaotfload

MacにはFont Bookというアプリが純正で入っていて、フォントを追加でインストールすることができる。luatexはフォント検索にluaotfloadを使っていてtexmf.cnf

texmf.cnf
#//はフォルダの意味
OSFONTDIR=/System/Library/AssetsV2/com_apple_MobileAsset_Font7//

を追記して


luaotfload-tool -u -f

とすれば、追加したフォントも使用可能になる。

requirements
  • minted
brew install pygments
  • svg
brew install inkscape
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1