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

知识共享 署名-相同方式共享 3.0

Dianjin Wang
1132321739qq@gmail.com 2012

# 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