GNU TeXmacsUser manualReferenceAboutEnglish·Français·Deutsch·Español·Italiano·Português·Polski·中文
Conventions for this manual
Menu entries

Throughout the TeXmacs manual, menu entries will be typeset using a sans serif font, like in Document, File\(\rightarrow\)Load or Format\(\rightarrow\)Font shape\(\rightarrow\)Italic.

Keyboard modifiers

TeXmacs makes use of the following keyboard modifiers:

⇧

For shift key combinations.

⌃

For control key combinations.

⌥

For alternate key combinations.

⌘

For meta key combinations.

For instance, ⌘⇧X stands for the action which consists of simultaneously pressing the three keys ⌘, ⇧ and X.

The actual keyboard modifier keys depend on your system as indicated in the following table

⌃ ⌥ ⌘

Windows keyboard

Ctrl left Alt (\(\dagger\)) \(\)\(\) (\(\dagger\))
Apple keyboard ^ Control (\(\dagger\)) ⌥ Option (\(\dagger\)) ⌘ Command (\(\dagger\))
fallback combination ⎋⎋⎋ ⎋⎋ ⎋

Table 1. Actual modifier keys on common platforms.

\(\dagger\) Some modifier key combinations are preempted by the operating system. The behavior may be different for the right and left modifier key.

Keyboard shortcuts

Keyboard shortcuts are obtained by pressing several keys or “modified keys” in succession. For instance, the shortcut -> corresponds on first pressing the - key and then the key >. Inside mathematical formulas, this shortcut inserts the arrow \(\rightarrow\). Similarly, the shortcut ⌃X⌃F consists of first pressing the keys ⌃ and X together, and next pressing the keys ⌃ and F again together. In the Emacs “look and feel”, this shortcut enables you to open a new file.

Some common keyboard prefixes are detailed in the section on general keyboard rules. In cases when TeXmacs keyboard shortcuts are superseded by shortcuts from the operating system, equivalents for the keyboard modifiers can be obtained using the ⎋ key. For instance, ⎋ is equivalent to ⌥ and ⎋⎋ is equivalent to ⌃.

Notice that the TeXmacs menus and keyboard behavior are contextual, i.e. they depend on the current mode (i.e. text mode or “math mode”), the current language and the position of the cursor inside your document. For instance, inside math mode, you have special keyboard shortcuts which are handy for typing mathematical formulas, but which are useless in text mode.

Special keys

On some platforms, some special keys such as the Return key are depicted by short glyphs. Below follows the table with all such special keys and there meaning.

Key Meaning Key Meaning
⇧ Shift modifier ← Cursor left
⇪ Caps lock → Cursor right
⌃ Control modifier ↑ Cursor up
⌥ Alternate modifier ↓ Cursor down
⌘ Meta modifier ↖ Home
↩ Return ↘ End
⌦ Forward delete ⇞ Page up
⌫ Backspace ⇟ Page down
⎋ Escape ␣ Space
⇥ Tab

Table 2. Special keys.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".