sublime配置Latex

sublime配置Latex

由于WinEdt实在难用,所以配置Sublime。

  1. 安装sublime;
  2. 安装latex,我使用的是CTeX套件;
  3. 安装SumatraPDF;
  4. 本地安装latextools,将LaTexTools下载到sublime安装目录下packages目录下,
  • 打开sublime–>首选项–>Package settings–>latextools–>check systems;
  • 打开sublime–>首选项–>Package settings–>latextools–>settings user;
    修改如下:
	"windows": {
		// Path used when invoking tex & friends; "" is fine for MiKTeX
		// For TeXlive 2011 (or other years) use
		// "texpath" : "C:\\texlive\\2011\\bin\\win32;$PATH",
		"texpath" : "D:\\LaTeX\\CTEX\\MiKTeX\\miktex\\bin;$PATH",
		// TeX distro: "miktex" or "texlive"
		"distro" : "miktex",
		// Command to invoke Sumatra. If blank, "SumatraPDF.exe" is used (it has to be on your PATH)
		"sumatra": "D:\\SumatraPDF\\SumatraPDF.exe",
		// Command to invoke Sublime Text. Used if the keep_focus toggle is true.
		// If blank, "subl.exe" or "sublime_text.exe" will be used.
		"sublime_executable": "",
		// how long (in seconds) to wait after the jump_to_pdf command completes
		// before switching focus back to Sublime Text. This may need to be
		// adjusted depending on your machine and configuration.
		"keep_focus_delay": 0.5
	},
  1. SumatraPDF反向搜索设置:

sublime配置Latex_第1张图片

你可能感兴趣的:(环境搭建)