2

These days I am trying to improve my typing speed on TexShop by employing the Command Completion source. However, I've found that I have to type in a Space before using, say, "xg+Tab" to represent \gamma, even when the character right before it is not a letter but something like "+","/" or other special characters (so in such cases I think that the editor should not be stupid enough to misunderstand what I'm trying to do).

Thus I want to know how to activate auto-completion without typing in a Space all the time.

Thank you in advance!

  • The auto-completion doesn't know anything about the source properties (i.e., it doesn't distinguish characters) and therefore must use spaces as a way to delimit the completion strings. I don't think there's any way around this short of making a feature request to the TeXShop team. If you make your completions begin with \ then you can avoid the space. – Alan Munn Oct 6 '18 at 21:05
  • Thank you very much for your comment @AlanMunn! It's very nice of you. – Collin Oct 7 '18 at 16:34
  • Since I think that's the only answer, I'll convert it into an answer. – Alan Munn Oct 7 '18 at 16:52
3

The auto-completion doesn't know anything about the source properties (i.e., it doesn't distinguish characters) and therefore must use spaces as a way to delimit the completion strings. I don't think there's any way around this short of making a feature request to the TeXShop team. If you make your completions begin with \ then you can avoid the space.

So if instead of using xg as your auto-complete string for \gamma you use \xg, things will work well without needing the space.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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