Install Latex For Mac



This post will show you how to install LaTeX easily on a Mac with the package manager Homebrew.

  1. Latex Download For Windows 10
  2. Install Latex Mactex
Install Latex For Mac
  1. Install BasicTeX only (100MB) + your personal LaTeX editor; Option 1 (Full LaTeX installation with LaTeX editor): Download MacTex. For more details about MaxTex: Click Here. Since MaxTex installs an LaTex editor already, installing another LaTeX editor is unnecessary. Option 2 (BasicTeX + Custom LaTeX editor): Download BasicTeX.
  2. Download the MACTEX. This is the LaTex working environment on Mac, including necessary compliers. Double click the downloaded “mactex-20150613.pkg” “mactex-20160603.pkg“, instal the MACTEX; Step 2 Instal Sublime Text 3. Download the SUBLIME TEXT3. Actually you can use SublimeText2, I just want to show the newest version of this.
  3. 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. #book #LaTeX #howto #python.
  4. TeX Distributions. If you’re new to TeX and LaTeX or just want an easy installation, get a full TeX distribution. The TeX Users Group (TUG) has a list of notable distributions that are entirely, or least primarily, free software.

The best LaTeX editor for Mac with Unicode support includes TeXmaker. It one among the powerful editor available for multiple platforms in addition to Mac. It is a freeware that is integrated with the tools required to develop best-in-class documents.

Latex Download For Windows 10

You can directly install MacTex or BasicTex from https://tug.org/mactex/ and follow the instructions from 3 to 4. But I prefer brew for its ease.

1. First you should install Homebrew;
/usr/bin/ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'

You may look at brew.sh for newer or additional installation methods. After you have installed brew you can easily search for packages with

brew search wget

or install found packages by

brew install wget

You may use brew for installing various packages, command line tools, applications etc.

2. There is a small twist while installing MacTex or BasicTex packages. Because they are supplied at the Homebrew Cask repository. Cask is a community contributed repository for large binaries and applications. So you should add cask command before installing MacTex or BasicTex.

brew cask install basictex
to install basictex or
brew cask install mactex
for mactex.

Install Latex Mactex

MaxTex is more than a GB and BasicTex is around 90MBs. There are many packages that you will never use in MacTex thus I prefer the BasicTex.

3. Now you will need a simple text editor to write LaTeX. Then simply use the command line to convert your raw latex code to pdf. You may also use a latex editor like TexMaker if you prefer a GUI. MacTex readily comes with some tex editors.

4. As BasicTex is very lightweight it is missing some essential packages. If you get errors like “multirow.sty not found” while compiling tex then you should install the missing modules. The package tlmgr is used to install the missing modules.

For example;

sudo tlmgr install multirow

tlmgr comes with BasicTex.

I have used the following resources to summarize the installation process and install latex myself on El Capitan.