key bindings in texshop: what was that key combination?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

key bindings in texshop: what was that key combination?

Nicolae Garleanu-2
Hi everyone,

Quick question on figuring out which key binding I used for a given text or symbol. When I open the key bindings editor in Texshop, I see all sorts of symbols in the left column, but I don’t know what key combinations they indicate. Could this be to do with the encoding chosen? Anyway, is there an easy way to tell what the combinations are?

(Encoding is a topic I don’t understand anywhere near well enough; for instance, I get an error when I compiled a file in which I left a bullet introduced when completing an environment — \begin{align*}, say — which makes it a pain; I’ll probably have to change the definition of all the completions. What is the recommended encoding for writing scientific documents, in English, on the latest Mac OS?)

Best regards,
Nicolae



----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
Reply | Threaded
Open this post in threaded view
|

Re: key bindings in texshop: what was that key combination?

Herbert Schulz
> On Jun 5, 2020, at 1:29 PM, Nicolae Garleanu <[hidden email]> wrote:
>
> Hi everyone,
>
> Quick question on figuring out which key binding I used for a given text or symbol. When I open the key bindings editor in Texshop, I see all sorts of symbols in the left column, but I don’t know what key combinations they indicate. Could this be to do with the encoding chosen? Anyway, is there an easy way to tell what the combinations are?
>
> (Encoding is a topic I don’t understand anywhere near well enough; for instance, I get an error when I compiled a file in which I left a bullet introduced when completing an environment — \begin{align*}, say — which makes it a pain; I’ll probably have to change the definition of all the completions. What is the recommended encoding for writing scientific documents, in English, on the latest Mac OS?)
>
> Best regards,
> Nicolae

Howdy,

Under the Keyboard panel in System Preferences choose the Input Sources tab and check the Show Input menu in menu bar item. A new menu will appear in the Menu Bar. Choose the Show Keyboard Viewer item in this new menu. The small keyboard image shows what you get when pressing keys on the keyboard. If you press the Option key it changes to show what happens when you press the Option key and one of the other keys simultaneously.

Note: there are some keys that are highlighted when you press the Option key. These keys are precursor or dead keys in that AFTER pressing and releasing that key you must press another key to produce a character in the source file; e.g., on the US Keyboard you need to press and release Opt-e and then the letter e to get é, the letter e with an acute accent. Note: these key combinations cannot be programmed in Key Bindings.

One other thing to note about Key Bindings is that if you proceed the key binding with a \ you'll get the original character after the \ E.g., I have " type out ``|'' so I get a complete set of double quotes with | being the selection and the insertion point however if I type \ and then " I get \" which can be handy.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
Reply | Threaded
Open this post in threaded view
|

Re: key bindings in texshop: what was that key combination?

Nicolae Garleanu-2
Thank you very much, Herb. I was able to identify my forgotten bindings via this reverse-search method.

Concerning pour point about \, I tried to type \ followed immediately by a key binding, and got \ followed by the symbol the binding is associated with (not the original character, shown in the KB editor or seen in the Keyboard Viewer). It subsequently turned out that for some bindings I do get the original character. E.g., \ + Alt-t prints \\tau, while \ + _ prints \_ (rather than \_{}). Does this perhaps only work for (original) characters that do not involve the Option (and maybe other) key?

(And yes, I am aware of the acute accent, in particular — it prevents me from binding alt+e to \epsilon in the way that I get my other Greek letter.)

Best,
Nicolae



On Jun 5, 2020, at 11:58, Herbert Schulz <[hidden email]> wrote:

> On Jun 5, 2020, at 1:29 PM, Nicolae Garleanu <[hidden email]> wrote:
>
> Hi everyone,
>
> Quick question on figuring out which key binding I used for a given text or symbol. When I open the key bindings editor in Texshop, I see all sorts of symbols in the left column, but I don’t know what key combinations they indicate. Could this be to do with the encoding chosen? Anyway, is there an easy way to tell what the combinations are?
>
> (Encoding is a topic I don’t understand anywhere near well enough; for instance, I get an error when I compiled a file in which I left a bullet introduced when completing an environment — \begin{align*}, say — which makes it a pain; I’ll probably have to change the definition of all the completions. What is the recommended encoding for writing scientific documents, in English, on the latest Mac OS?)
>
> Best regards,
> Nicolae

Howdy,

Under the Keyboard panel in System Preferences choose the Input Sources tab and check the Show Input menu in menu bar item. A new menu will appear in the Menu Bar. Choose the Show Keyboard Viewer item in this new menu. The small keyboard image shows what you get when pressing keys on the keyboard. If you press the Option key it changes to show what happens when you press the Option key and one of the other keys simultaneously.

Note: there are some keys that are highlighted when you press the Option key. These keys are precursor or dead keys in that AFTER pressing and releasing that key you must press another key to produce a character in the source file; e.g., on the US Keyboard you need to press and release Opt-e and then the letter e to get é, the letter e with an acute accent. Note: these key combinations cannot be programmed in Key Bindings.

One other thing to note about Key Bindings is that if you proceed the key binding with a \ you'll get the original character after the \ E.g., I have " type out ``|'' so I get a complete set of double quotes with | being the selection and the insertion point however if I type \ and then " I get \" which can be handy.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
               https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
Reply | Threaded
Open this post in threaded view
|

Re: key bindings in texshop: what was that key combination?

Herbert Schulz
> On Jun 5, 2020, at 2:18 PM, Nicolae Garleanu <[hidden email]> wrote:
>
> Thank you very much, Herb. I was able to identify my forgotten bindings via this reverse-search method.
>
> Concerning pour point about \, I tried to type \ followed immediately by a key binding, and got \ followed by the symbol the binding is associated with (not the original character, shown in the KB editor or seen in the Keyboard Viewer). It subsequently turned out that for some bindings I do get the original character. E.g., \ + Alt-t prints \\tau, while \ + _ prints \_ (rather than \_{}). Does this perhaps only work for (original) characters that do not involve the Option (and maybe other) key?

Howdy,

I guess it does only work for the normal keyboard. e.g., if I type _ the Key Binding give _{|} (where | is the Selection + Insertion Point) but typing \ followed by _ correctly gives \_ .

>
> (And yes, I am aware of the acute accent, in particular — it prevents me from binding alt+e to \epsilon in the way that I get my other Greek letter.)
>
> Best,
> Nicolae
>

try using Command Completion. Type xe (with a leading white space or \xe) and Esc to get \epsilon. See Appendix A of the Help->TeXShop Tips and Tricks for a complete list of the completions.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex