When viewing a pdf of a long LaTeX document, it can sometimes be difficult to find where a certain equation or a line in the pdf is located in the source code, as there are no page numbers in the source code (Unlike visual word processors).
I wonder if there is a simple way to find such a location.
[Tex/LaTex] Location inside a LaTeX source code
forward-inverse-searchsourcecode
Best Answer
TexWorks
uses the-synctex
option which allows you to right click and selectview source
which takes you back to the source of that line, or right click in the LaTeX source and jump the appropriate spot in the PDF.Most IDEs will also provide this sort of functionality, so if you use an good IDE you can cross reference between the PDF and the LaTeX source. Am sure you could just add this to the command line if you are compiling your documents that way.
See LaTeX Editors/IDEs for a list of these. Which editor and environment do you use?