TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to edit the output PDF file, but it is difficult to find the correct place in the source editor. What is the keyboard shortcut to jump from a place in the output PDF to the corresponding place in the source of the document?

I am using the editor TeXShop with Mac OS X.

share|improve this question
Could you please tell what editor you are using. Some editors do and others don't provide the feature you described. – strpeter Dec 30 '13 at 17:09
TexShop is the one I am using – Tess Dec 30 '13 at 17:13
COMMAND+SHIFT+CLICK should be the required maneuver. – egreg Dec 30 '13 at 17:25
@egreg Yes. This is working. – Tess Dec 30 '13 at 17:37
up vote 7 down vote accepted

The maneuver for going back and forth from the LaTeX file to the PDF file and conversely is


share|improve this answer

Actually, Command+Click is sufficient to switch between source and pdf file with TeXShop. (This answer was meant as a comment, but "I must have 50 reputation to comment"…)

share|improve this answer

My trick - which applies much more general to all kind of editors - is to find the place of interest (correct line or even word) by applying a search on (all) the *.tex file(s).

Single file search is editor dependent and in TeXShop it is Ctrl+f (educated guess).

For multiple file search, you can use the shell command grep -r "source code" *.tex, as you have a shell too in OS X.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.