Create Shortcuts.md

Since this seems a bit long for readme.md but still worth having, here it is as a separate file
This commit is contained in:
tecosaur 2018-09-30 14:11:31 +08:00 committed by GitHub
parent 7dc412ff9d
commit 47d142bfb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

57
Shortcuts.md Normal file
View File

@ -0,0 +1,57 @@
# 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 #1 | Shortcut #2 | Does |
| ----------- | ----------- | --------------- |
| `C-b` | `C-l C-b` | Bold text |
| `C-i` | `C-l C-i` | Italic Text |
| `C-u` | `C-l C-u` | Underline |
| `C-r` | `C-l C-r` | Roman Text |
| `C-e` | `C-l C-e` | Emphasised Text |
| `C-t` | `C-l C-t` | Typewriter Text |
| `C-s` | `C-l C-s` | Slanted Text |
| | `C-l C-c` | Small Caps Text |
| | `C-l C-l` | Lowercase |
| | `C-l C-u` | Uppercase |
_NB: Shortcut #1 is only active when text is selected, Shortcut #2 works all the time_
### 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 |