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

Creative Commons Share Alike 3.0

Ilmar Kerm
ikerm hot ee 2001, 2002.
Tõivo Leedjärv
toivo linux ee 2002, 2003.
Priit Laes
plaes plaes org 2004–2006, 2008, 2009
Ivar Smolin
okul linux ee 2005–2010, 2014–2015, 2018.

# 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