Shortcuts and troubleshooting
On a Mac, press ⌘ Cmd wherever this page says Ctrl.
File
| Action | Shortcut |
|---|---|
| New / New window | Ctrl+N / Ctrl+Shift+N |
| Open / Open in new window | Ctrl+O / Ctrl+Shift+O |
| Save / Save As | Ctrl+S / Ctrl+Shift+S |
| Print / Print preview | Ctrl+P / Ctrl+Shift+P |
| Quit | Ctrl+Q |
Editing
| Action | Shortcut |
|---|---|
| Undo / Redo | Ctrl+Z / Ctrl+Y (or Ctrl+Shift+Z) |
| Cut / Copy / Paste / Select all | Ctrl+X / C / V / A |
| Paste Special | Ctrl+Alt+V |
| Find / Replace | Ctrl+F / Ctrl+H |
| Bold / Italic / Underline | Ctrl+B / I / U |
| Hyperlink | Ctrl+K |
| Highlight | Ctrl+Shift+H |
| New paragraph / line break | Enter / Shift+Enter |
| Next / previous table cell | Tab / Shift+Tab |
| Show formatting marks | Ctrl+* |
Insert
| Action | Shortcut |
|---|---|
| Inline maths / displayed equation | Ctrl+M / Ctrl+Shift+M |
| Equation builder | Ctrl+Shift+E |
| Symbols palette | Ctrl+Shift+G |
| Chemical reaction / structure | Ctrl+Shift+R / Ctrl+Shift+T |
| Flowchart builder | Ctrl+Shift+F |
| New comment | Ctrl+Alt+M |
| Previous / next comment | Ctrl+Shift+[ / Ctrl+Shift+] |
View and compile
| Action | Shortcut |
|---|---|
| Visual / Code / PDF | Ctrl+1 / Ctrl+2 / Ctrl+3 |
| PDF side panel / Documents panel / Console | Ctrl+4 / Ctrl+5 / Ctrl+6 |
| Fit page width | Ctrl+0 |
| Compile PDF | Ctrl+Shift+C |
| User guide | F1 |
| Spelling list | F7 |
Drawing canvas
| Tool | Key |
|---|---|
| Select / Pencil / Eraser / Fill / Colour picker / Text | V / P / X / B / K / T |
| Line / Arrow / Dimension | L / A / M |
| Rectangle / Circle / Ellipse | R / C / E |
Troubleshooting
Windows says "Windows protected your PC". The installer isn't code-signed yet. Click More info ▸ Run anyway.
macOS says the app can't be opened. Right-click kTeX in Applications and choose Open. You only need to do this the first time.
The PDF doesn't update. Check that Auto-compile is on, or press Ctrl+Shift+C. If the Console tab is red, the compile failed; read the last error in the log (Ctrl+6).
A compile error mentions a missing package. Templates compile offline. For a package you added yourself (Document properties ▸ Packages), kTeX downloads it the first time, which needs the internet once. Tools ▸ Compiler ▸ Compiler status… shows whether the engine and package cache are working.
The page on screen doesn't match the PDF exactly. For classes marked beta, the visual page is an approximation. The PDF is always the final result.
A citation shows as [?] or a reference as ??. Run Tools ▸ Check citations. Make sure the label exists (References ▸ Captions & labels…), then compile again.
A long thesis compiles slowly.
- Use Compile range to typeset only the chapter you're working on.
- Switch on Skip images.
- Turn Auto-compile off and compile when you want to.
I need my document from before an edit. Use History ▸ View version history…, select an earlier version, and click Restore this version.
Something else is wrong. kTeX is in beta. Send a description, and a screenshot if you can, with Help ▸ Send feedback (beta)….