赞
踩
下载与安装
配置MacTex
打开终端Terminal
,输入latex -version
pdfTeX 3.141592653-2.6-1.40.25 (TeX Live 2023)
kpathsea version 6.3.5
Copyright 2023 Han The Thanh (pdfTeX) et al.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.39; using libpng 1.6.39
Compiled with zlib 1.2.13; using zlib 1.2.13
Compiled with xpdf version 4.04
返回上述内容表示安装MacTex成功了。
继续输入echo $PATH
,配置MacTex到系统的环境变量。
Install package control
回车等待安装完成。Install package
,选择Package Control: Install package
,回车。LaTeXTools
,回车等待安装完成。"preview_math_mode": "all",
和"preview_math_scope": "text.tex.latex meta.environment.math",
同步
这个选项/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
"%file":%line
打开Sublime Text,新建一个.tex的文件。
输入测试代码:
\documentclass{article}
\begin{document}
Hello, world!
\end{document}
同时按下:Shift + Command + P,输入set syntax: LaTeX
,回车。
同时按下:Shift + Command + B,选择XeLaTex
,进行编译。
如果没有自动调用Skim,先按Command + l,然后迅速按v预览pdf。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。