clarkgrubb / latex-input

Enter Unicode characters using LaTeX notation
MIT License
92 stars 12 forks source link

whitespace vs return #7

Open alexhkurz opened 5 years ago

alexhkurz commented 5 years ago

First, let me say that writing latex eg in emails is really great. Just one difficulty that makes it impossible for me to use smoothly:

"When the latex input method is in effect, one types LaTeX notation, following by SPACE to render or RETURN to accept the LaTeX notation literally."

I usually have latex and text interwoven, so not having SPACE available for SPACE makes using this too inconvenient ... then I rather have my \cup's and \cap's in the text ...

(also going to the language input icon and switching between latex and english each time I want to switch between latex and english on the keyboard means to leave the keyboard from typing for the mouse, which is slowing things down too much ... btw I am working on a mac)

Would it be an option to change the role of SPACE and RETURN?

After all, one types a SPACE much more often than a RETURN.

alexhkurz commented 5 years ago

"Would it be an option to change the role of SPACE and RETURN?"

Or maybe even better: If I typed sth like "\cup" then a SPACE keeps doing what it is doing now, but if I typed just "cup" without the leading backslash then SPACE is just SPACE.

Btw, here is another thing. If I type "\cup" and then SPACE, I get ⋓ and not ∪ . Can we have the default to correspond to the command that one actually typed?

Many latex users rely on fast typing and so not having to use the drop down menu will be important to many of us, I imagine.