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

Creative Commons Share Alike 3.0

# 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