Latex environment on Mac OS X

Install Latex with Sublime and Skim on Mac OS X.

Posted by ourren on December 25, 2014

Latex is new format typesetting for researchers, especially for writing paper and books. You can use its grammer and tools to export perfect documents. Today we want to deploy the Latex enviroment for Mac. As all we know, Sublime Text is a good editor tool for Promgramer and Web developer, not just only because it has a beatiful theme but also has many plugins. Latextools is another Latex tool for Sublime Text. In order to finish this, we need to install the following programs step by step.

Step1: install Mactex

Mactex is the base latex enviroment for Mac. You can download the latest MacTex.pkg and install as usual.

Step2: install Sublime Text

Sublime Text is a commerce software but could use for free. It will be our text editor for Latex.

After you have installed the sublime text, you also need to install some packages:

  1. Need to install Sublime package control;
  2. Install Latextools. Open sublime and press “Command+Shift+P” to open the command pallet. Alternatively you can find it in the Tools menu. Start typing “Install Package” and you’ll find it auto-completes if for you. Select and hit “Enter”.

Step3: install Skim

Skim is free pdf reader for Mac.

  1. Download and install SKIM PDF viewer.
  2. Open Skim, go to Preferences > Sync.
  3. Uncheck “Check for file changes” option.
  4. Under Preset type “Custom”.
  5. Run Command as below:

The detail comand:

/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl
Finally set Arguments to:
"%file":%line

Step4: configure

  1. If you could see the live preview with your documents, just say you want to see two windows(sublime and skim) on the Mac screen, you need to install Moom software.
  2. If you want to write some Chinese paper with latex, you also need to solve the font problems, you can see it from here,solve the Chinese problem with Latex.

Materials about Latex

If you are a newbie for Latex, you need some usefull links, here is my current learn list.

  1. Latex video by ChinaTex
  2. CTEX : OnlineDocuments
  3. The Not So Short Introduction to LATEX 2ε
  4. Latex Template Download

Sublime Latex

Reference

  1. Making your first PDF with LaTeX and Sublime Text 2 for Mac
  2. deploy Latex on Mac.