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

Creative Commons Share Alike 3.0

Woodman Tuen wmtuen@gmail.com 2005-06 Abel Cheung abel@oaka.org 2003-04 趙惟倫 bluebat@member.fsf.org 2013
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