How to compile your TeX document with SyncTeX
Tiffany Antopolski
tiffany@antopolski.com

Creative Commons Share Alike 3.0

Christopher Meng
i@cicku.me 2012-2013
ravix
dr.neemous@gmail.com 2013
Dianjin Wang
1132321739qq@gmail.com 2012
Cravix
dr.neemous@gmail.com 2013
nyanyh
rebuilty@gmail.com 2013
liulitchi
xingzuo88@qq.com 2013
玉堂白鹤
yjwork@qq.com 2015
Mingye Wang
arthur200126@gmail.com 2015-2016
白铭骢
jeffbai@aosc.xyz 2015-2016
刘子兴
liushuyu@aosc.xyz 2015-2016

# Compile TeX with SyncTeX

Adding the line \synctex=1 in the preamble of your TeX file will trigger synchronization with SyncTeX.

\documentclass{article} \synctex=1 \usepackage{fullpage} \begin{document} ... \end{document}

Alternatively, you can run the pdflatex command with the -synctex=1 option:

    pdflatex -synctex=1 yourFile.tex