operating system: win10
Install Texlive
Download and install Texlive from this page.
Install SumatraPDF
Download and install SumatraPdf from this page.
Install Sublime Text
Download and install Sublime Text from this page.
Install Package Control plugin
- Click the
Preferences > Browse Packages…
menu - Browse up a folder and then into the
Installed Packages/
folder - Download Package Control.sublime-package and copy it into the
Installed Packages/
directory - Restart Sublime Text
Install LatexTools plugin
- Open the command palette by
Ctrl + Shift + P
- Type
Install Packages
andEnter
- Type
LatexTools
andEnter
Update LatexTools settings
- Click the
Preferences > Packages Settings > LatexTools > Settings-User
- If you are installing LatexTools for the first time, sublime will ask you to create a copy of
default-setting
in theUser
file. ClickOk
to create this copy - Type
Ctrl + F
and findwindows
. Put your Texlive path and SumatraPDF path intotexpath
andsumatra
. Filldistro
bytexlive
andsublime_excutable
by\your\sublime\path\subl.exe
- Find
builder
. Replacetradition
bysimple
- Find
keep-focues
. Setfalse
Auto Complete
Press Preferences > Settings
. Add
1 | "auto_complete_selector": "source,text", |
Inverse Search in SumatraPDF
- Add your SumatraPDF path to system environment path.
- Open your SumatraPDF and click
advanced settings
. Settrue
forEnableTexEnhancement
- Click
settings
and fill the last line with"your\sublime\path\sublime_text.exe" "%f:%l"
Test
Create a new file and add the following
\documentclass{article}
\usepackage{amsmath}
\begin{document}
hello this is a \LaTeX testing file
\begin{equation}
\int_a^b f {\rm d}x = F(b)-F(a)
\end{equation}
\end{document}
Press Ctrl + B
to compile this tex file.