å¨è¿éå享ä¸ä¸å¦ä½å¨Macä¸æ建Latexç¼è¾ç¯å¢çæ¹æ³
é¦å
å½ç¶æ¯Google Mac Latex寻æ¾å·²æçBlogæç¨ï¼ç¶ååç°Macä¸å¸¸ç¨Sublime Textæ¥ç¼è¾ï¼å æ¤æç´¢Mac sublime Latexï¼
é£ä¹æ建æ¹æ³åºæ¬å°±å¨è¿éé¢äºã
æçç¯å¢æ¯ Mac OS X Yosemite 10.10 ï¼Xcode 6.1
æ»ç»ä¸ä¸æçæ建æ¹æ³ï¼
Step 1ï¼ä¸è½½MacTex ææç»è¿æ¯ä½¿ç¨äºå®æ´çå
Step 2ï¼ä¸è½½Sublime Text 3 Beta
Step 3ï¼ä¸è½½å®è£
Skim
Step 4ï¼å¨Sublime Textä¸å®è£
Package Control
æ¹æ³å¾ç®åï¼æå¼Sublime Text 3, æCtrl+` æå¼æ§å¶å°ï¼copyä¸é¢çpython代ç ç²è´´ä¸å»è¿è¡ï¼å°±å¯ä»¥å®æå®è£
Step 5ï¼å¨Sublime Textä¸å®è£
LatexTools
å¨Sublime TextéCommand+Shift+Pè°åºå½ä»¤çªå£ï¼è¾å
¥Installï¼ä¹åéæ©LaTexToolsï¼å®æå®è£
ï¼
Step 6ï¼å¨Sublime Text ä¸é
ç½®LaTexToolsï¼å¦ä¸å¾ä¸ºå®è£
好çæ
åµï¼ç¹å»Reconfigure and migrate settings å®æéæ°é
ç½®
Step 7ï¼Skimåæ¥é
ç½®
ç¹å»Skim-ãé项
å¨å½ä»¤ä¸è¾å
¥ï¼/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
åæ°å¦ä¸è¾å
¥ï¼â%fileâ:%line
Step 8: ä¿®æ¹ç¼è¯åä¸æç¯å¢
è¿ä¸æ¥å®å
¨åèä¸é¢åçç½é¡µçæ¹æ³ï¼
ç¹å»Browse Packageï¼ç¶å
æå¼ç¼è¾~/Library/Application\ Support/Sublime\ Text/Packages/Users/LaTeX.sublime-settingsï¼å°å
¶ä¸âbuilderâæ¡ç®æ¹ä¸ºï¼
âbuilderâ: âsimpleâ
æ¥çæå¼ç¼è¾~/Library/Application\ Support/Sublime\ Text/Packages/LaTeXTools/builders/simpleBuilder.py
æ¾å°å
¶ä¸å¤§æ¦ç¬¬41è¡
pdflatex = [âpdflatexâ, â-interaction=nonstopmodeâ, â-synctex=1â³]
ä¿®æ¹ä¸º
pdflatex = [âxelatexâ, â-interaction=nonstopmodeâ, â-synctex=1â³]
ä¿ååå
³éï¼éæ°ç¼è¯ä¸ä¸ï¼ä¸ææ£å¸¸å¦ï¼
OK,ç»è¿ä¸é¢çæ¥éª¤ï¼æ´ä¸ªLatexç¯å¢å°±æ建å®æ¯äºï¼ä¸é¢å个æµè¯ï¼
å¨Sublime Text è¾å
¥å¦ä¸ä»£ç ï¼
\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}
ä¿ååæ Command+B ç¼è¯ï¼Skimç´æ¥æ¾ç¤ºï¼
å¨Mac OS Xä¸æ建Latexç¼è¾ç¯å¢
温馨提示:答案为网友推荐,仅供参考