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

Is there a way to allow TeXShop complete common functions to avoid typing the same word multiple times ?

For example, when you type \sub , TeXShop would automatically provide options to complete the word for you. So that you type \sub - [ Press TAB ] - \subsection ..

I find it tedious to type down common functions repeatedly.

share|improve this question
Hit the escape key :) – Jubobs Apr 10 '13 at 18:49
@Jubobs can you please add that as answer to mark it as correct ? – Razor Apr 10 '13 at 18:57
I think you should accept Mario's far more complete answer instead. – Jubobs Apr 10 '13 at 19:03
I'm sorry, it took me a little while to write the answer. I was trying to get the hyperlink right. Thank you @Jubobs for the recommendation – Mario S. E. Apr 10 '13 at 19:19
up vote 7 down vote accepted

According to About TeXShop (available here)

"Auto completion is user configurable. To configure, open the file ˜/Library/TeXShop/Keyboard/autocompletion.plist with TeXShop. Read the comments at the top, edit appropriately to redefine Landweber’s choices or add your own, and save. Be sure to edit and save in UTF-8 format if you use Unicode characters".

The source editor supports command completion. Type the first few letters of a word and hit the escape key. The remaining letters will be entered. Hitting escape again will cycle through all possible completions.

share|improve this answer
perfect thank you :) – Razor Apr 10 '13 at 19:25
Also, if you don't like using ESC to trigger completion, you can set it to TAB in the TeXShop preferences. – Alan Munn Apr 10 '13 at 22:31

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.