LaTeX-Workshop/Shortcuts-doc.md

56 lines
1.8 KiB
Markdown
Raw Normal View History

# List of the LaTeX Workshop Keyboard Shortcuts
### Quick Note
The shortcuts are given using [Emacs Key Notation](https://www.emacswiki.org/emacs/EmacsKeyNotation), so `C` is used to represent `ctrl`/`cmd`, so `C-c` represents `ctrl+c`/`cmd+c` etc.
## Extension Commands
| Shortcut | Does |
| -------- | ---------------------------------- |
| `C-M-b` | Builds current file |
| `C-M-v` | Opens correspanding PDF |
| `C-M-j` | Synctex from cursor (windows only) |
| `C-M-x` | Open Extension Sidebar |
## Miscilanious Actions
| Shortcut | Does |
| ----------- | ------------------------ |
| `C-l C-RET` | Insert `\item` |
## Font Selection
| Shortcut | Does |
| --------- | --------------- |
| `C-l C-b` | Bold text |
| `C-l C-i` | Italic Text |
| `C-l C-u` | Underline |
| `C-l C-r` | Roman Text |
| `C-l C-e` | Emphasised Text |
| `C-l C-t` | Typewriter Text |
| `C-l C-s` | Slanted Text |
| `C-l C-c` | Small Caps Text |
| `C-l C-l` | Lowercase |
| `C-l C-u` | Uppercase |
### Other text formatting
| Shortcut | Command |
| ------------- | ------------------ |
| `C-l C-6` | `\textsuperscript` |
| `C-l C-minus` | `\textsubscript` |
_Why the `6` and `minus`? Because they are the same keys for `^` and `_`._
## Math Font Selection
| Shortcut | Does |
| ----------- | --------------------- |
| `C-m C-S-b` | Blackboard Font (𝔹) |
| `C-m C-c` | Calligraphic Font (𝓒) |
| `C-m C-f` | Frak Font (𝔉) |
| `C-m C-b` | Bold |
| `C-m C-i` | Italic |
| `C-m C-r` | Roman |
| `C-m C-t` | Typewriter |
| `C-m C-s` | Sans Serif |