LaTeX with Sublime Text and Skim on Mac

LaTeX with Sublime Text and Skim on Mac

Wiki

LaTeX is a word processor and document markup language. It is distinguished by typical word processors such as Microsoft Office and OpenOffice in that the writer uses plain text as opposed to formatted text, relying on markup tagging conventions to define the general structure of a document (such as article, book, and letter), to stylise text throughout a document (such as bold and italic), and to add citations and cross-referencing. A TeX distribution such as TeXlive or MikTeX is used to produce an output file (such as PDF or DVI) suitable for printing or digital distribution.

Install LaTex

Download last version MacTeX.pkg from TeX Users Group (approximately 2.4G, will take 4.62 GB of space on computer after installed).

Install Sublime Text

Download installer from Sublime Text official website, open Package Control by press Command Shift P after installed, input Install Package and press Enter, search and install LaTexTools plugin.

Install Skim

Skim is a PDF reader and note-taker for OS X. It is designed to help you read and annotate scientific papers in PDF, but is also great for viewing any PDF file. Download Skim installer from MacUpdate website and install it.

After installed, open Preference, in Sync tab, in PDF-TeX Sync support select Sublime Text, don't select the Check for the file changes, close this window.

LaTeX with Sublime Text and Skim on Mac

Chinese Support

Add %!TEX program = xelatex in first line of .tex file.

Test

%!TEX program = xelatex
\documentclass{article}
\usepackage{fontspec, xunicode, xltxtra}
\setmainfont{Hiragino Sans GB}
\title{Title}
\author{}
\begin{document}
\maketitle{}
\section{Introduction}
This is where you will write your content. 中文内容测试。
\end{document}

After save .tex file, press Command B to compile and run, then you can see inside the Skim PDF preview. If prompted LaTeXTools: you need to migrate your preferences. See the README file for instructions., open Pallte by press Command Shift P, input LaTeXTools: Reconfigure and migrate settings. That these.

Reference Templete

Using the LaTeX Resume Templates
LaTeX Templates
moderncv Package
ShareLaTeX

0.00 avg. rating (0% score) - 0 votes