mirror of
https://github.com/James-Yu/LaTeX-Workshop.git
synced 2024-10-04 23:27:20 +03:00
4.2 KiB
4.2 KiB
List of the LaTeX Workshop Keyboard Shortcuts
Quick Note
All commands are listed as ctrl+some key. If you're on Mac, don't worry we have written equivalents, so every time you see ctrl just imagine it's ⌘.
Extension Commands
By default, the shortcuts are set according to the first column. You may switch to an alternative keymap by setting latex-workshop.bind.altKeymap.enabled
to true
and reload/reopen vscode.
Shortcut | Alternative | Does |
---|---|---|
ctrl+alt+b | ctrl+l, alt+b | Builds current file |
ctrl+alt+c | ctrl+l, alt+c | clean latex build files |
ctrl+alt+v | ctrl+l, alt+v | Opens corresponding PDF |
ctrl+alt+j | ctrl+l, alt+j | Synctex from cursor (windows only) |
ctrl+alt+x | ctrl+l, alt+x | Open Extension Sidebar |
Miscellaneous Action
Shortcut | Does |
---|---|
ctrl+l, ctrl+Enter | Insert \item |
Font Selection
Shortcut | Does |
---|---|
ctrl+l, ctrl+b | Bold text |
ctrl+l, ctrl+i | Italic Text |
ctrl+l, ctrl+u | Underline |
ctrl+l, ctrl+r | Roman Text |
ctrl+l, ctrl+e | Emphasized Text |
ctrl+l, ctrl+t | Typewriter Text |
ctrl+l, ctrl+s | Slanted Text |
ctrl+l, ctrl+c | Small Caps Text |
ctrl+l, ctrl+l | Lowercase |
ctrl+l, ctrl+u | Uppercase |
Other text formatting
Shortcut | Command |
---|---|
ctrl+l, ctrl+6 | Insert \textsuperscript |
ctrl+l, ctrl+minus | Insert \textsubscript |
Why the 6 and minus? Because they are the same keys for ^
and _
.
Math Font Selection
Shortcut | Does |
---|---|
ctrl+m, ctrl+S+b | Blackboard Font (𝔹) |
ctrl+m, ctrl+c | Calligraphic Font (𝓒) |
ctrl+m, ctrl+f | Fraktur Font (𝔉) |
ctrl+m, ctrl+b | Bold |
ctrl+m, ctrl+i | Italic |
ctrl+m, ctrl+r | Roman |
ctrl+m, ctrl+t | Typewriter |
ctrl+m, ctrl+s | Sans Serif |