Skip to content

Instantly share code, notes, and snippets.

@yxjxx
Last active August 29, 2015 14:17
Show Gist options
  • Save yxjxx/6ad5f7a4f2de4092164a to your computer and use it in GitHub Desktop.
Save yxjxx/6ad5f7a4f2de4092164a to your computer and use it in GitHub Desktop.
Subilme3+Skim+MacTex == Latex中文支持
%!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}
%参考博文:http://blog.csdn.net/longzhiyu_chx/article/details/44068205
%demo: http://i.imgur.com/fPIe7ZO.png
%Command + b 编译
%Command + shift + click(鼠标左键) 在pdf上操作跳转到对应的tex源码位置
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment