Setting up LaTeX on Mac OS X
These are my notes for getting LaTeX running on Mac OS X with the components and fonts I want. Which is handy when you want to generate PDFs from Sphinx. At some point I want to replace this with a Docker container similar https://github.com/blang/latex-docker, albeit with the components in parts 3 and 4 below.
-
Get mactex-basic.pkg from https://www.ctan.org/pkg/mactex-basic
-
Click mactex-basic.pkg to install LaTeX.
-
Update
tlmgr
:sudo tlmgr update --self
-
Install the following tools via
tlmgr
:sudo tlmgr install titlesec sudo tlmgr install framed sudo tlmgr install threeparttable sudo tlmgr install wrapfig sudo tlmgr install multirow sudo tlmgr install enumitem sudo tlmgr install bbding sudo tlmgr install titling sudo tlmgr install tabu sudo tlmgr install mdframed sudo tlmgr install tcolorbox sudo tlmgr install textpos sudo tlmgr install import sudo tlmgr install varwidth sudo tlmgr install needspace sudo tlmgr install tocloft sudo tlmgr install ntheorem sudo tlmgr install environ sudo tlmgr install trimspaces
-
Install fonts via
tlmgr
:sudo tlmgr install collection-fontsrecommended
note: Yes, I know I can install the basic LaTeX package using Homebrew, but sometimes I like doing things manually.
Tags: book LaTeX howto python