Windows下如何用 Sublime 3 愉快地写 Latex


1. Sublime 3的安装


2. Miktex 的安装


3. Sumatra PDF的安装

安装这个是为了能重定位,在PDF里双击文字就能再Sublime里跳到对应的位置,方便修改。


4. 配置


  1. Ctrl+Shift+P —–> Install Package Control
    安装教程 https://packagecontrol.io/installation
  2. Package Control 安装 (可能需要fan墙)
    • LaTeXTools
    • LaTeX-cwl(代码自动补全)
  3. 将 LaTeXTools 的默认配置复制到 User 中,修改路径设置Windows下如何用 Sublime 3 愉快地写 Latex
  4. 数学公式预览出现问题?
    参考:
    https://latextools.readthedocs.io/en/latest/settings/#preview-settings
    https://github.com/SublimeText/LaTeXTools/issues/920

  • 下载 ImageMagick 并将其路径添加至PATH和 LatexTools 配置中的 texpath 下
  • Click (Show Report);
  • Copy contents between —–BEGIN DOCUMENT—– and —–END DOCUMENT—– to a TeX file like 1.tex.
  • Then compile it by hand: pdflatex 1.tex.
    The tex engine will automatically install missing packages. (And this issue has been solved.)

相关文章:

  • 2021-09-14
  • 2022-12-23
  • 2022-01-23
  • 2021-08-11
  • 2021-11-18
  • 2022-12-23
  • 2021-12-01
  • 2021-05-07
猜你喜欢
  • 2021-12-03
  • 2022-01-19
  • 2020-05-23
  • 2022-01-07
  • 2021-04-17
相关资源
相似解决方案