The editor is made for LaTeX: commands, environments, math and comments have their own colours, and your work is saved by itself a moment after you stop typing.
TeX keys and the math palette
Above the on-screen keyboard (or at the bottom of the screen with a hardware keyboard) is a row of TeX keys: \ { } $ [ ] % ^ _ & ~ \begin{} \cite{} \ref{}. A key with braces puts the cursor inside them.
The Math key at the start of the row opens the math palette:
- Structures: fraction, root, sum, integral, limit, brackets, matrix, displayed equation, align.
- Greek Letters, Relations & Operators (≤ ≥ ≠ ≈ ∈ → × ± ∞ …) and Styles (ℝ, bold, roman, calligraphic, vector, hat, bar).
- At the top, Read a Formula from handwriting or a picture 3.0.0 or later (more).
On Android and computers, type the commands, or let the suggestions finish them.
Suggestions while typing
As you type, the app suggests:
- commands and environments (
\begin{lists the environments), - labels after
\ref{,\eqref{and the like, - cite keys after
\cite{,\citep{,\parencite{and the like — from the project's .bib files, and from your Rectoly library when you cite from Rectoly, - file names after
\input{,\include{and\includegraphics{.
To take one:
- Tap a suggestion in the bar above the keyboard.
- Tap a suggestion in the strip under the editor.
- Click a suggestion, or use ↑ ↓ and Tab or Enter. Esc hides them and Ctrl+Space shows them again.
To turn them off, switch off Suggestions While Typing in Settings › Editor.
Math preview
When the cursor is in math ($…$, \[…\], equation, align …), the formula is drawn above the editor as you type. Turn it off with Math Preview in Settings › Editor.
The Math Preview switch in the bar above the editor does the same.
Outline and files
The files part of the project screen lists the project's files and, under Outline, its section and chapter headings, figures, tables and labelled equations. Tap or click one to go to its line.
- To make another file the main file (the one that is compiled), choose Make Main File on it.
- Recently opened files stay as tabs above the editor.
Search and replace
Search in Project looks through every file of the project. It can match case, whole words and regular expressions, and replace one match or Replace All.
- Tools › Search in Project, or ⌘⇧F.
- Search, beside Outline in the files part.
The editor's settings 3.0.0 or later
In Settings › Editor: Text Size (10 to 28), Suggestions While Typing, Math Preview, Line Numbers (off by default; they count lines as the error list does) and Check Spelling (spelling). In Settings › General, Appearance (light or dark) and the Page Color also colour the editor (settings).
Keyboard shortcuts
With a hardware keyboard: ⌘R compiles, ⌘⇧J shows the current line in the PDF, ⌘⇧F searches the project, and ⌘Z undoes.
Ctrl+Space shows the suggestions; ↑ ↓, Tab or Enter and Esc work in them.