Ron Bakker/LabTeXHelp
← Back to LabTeX

Guide

Writing and editing

The Write view is a page made of blocks: paragraphs, headings, lists, equations, figures, tables and code. Text blocks are edited directly; the others open a small editor when you click them.

Blocks

Press Enter to start a new paragraph, Backspace at the start of a paragraph to join it to the one above. Move the mouse over a block to see two buttons in the left margin:

The style menu at the left of the toolbar does the same for the block with the cursor in it.

The page is shown at its real size (A4 or Letter). Fit width, at the right of the toolbar, scales it to the window — that is the default; − and + zoom out and in, and LabTeX remembers your choice.

Formatting text

Select text and use B, I, tt or the link button (or Ctrl/⌘ + B, I, E, K). They become \textbf, \emph, \texttt and \href in the source. Special characters such as % & # _ can simply be typed; LabTeX escapes them.

We \emph{emphasise} a word, set \textbf{one in bold}, write \texttt{code}, and link to \href{https://ronbakker.com/mathlab/}{MathLab}. Costs fell 40\% at R\&D.
Typesetting…

Formulas, citations, references and footnotes

These are small atomic pieces in the text. Click one to edit it.

You can also type the LaTeX: \cite{key}, \ref{fig:a}, \footnote{text} or \emph{word} turn into the real thing when you type the closing brace. Pasted text is converted the same way.

Typing shortcuts

Typeto get
# + spacea section (## subsection, ### subsubsection)
- + spacea bulleted list (1. + space: a numbered list)
$$ then Entera display equation
``` then Entera code block
/the block menu, on an empty line
$x^2$an inline formula
Tabnext table cell (adds a row at the end)

All keyboard shortcuts are listed in the command reference.

Title block and authors

Click the title, the abstract or the keywords on the page to type. Click the author line (or open Document in the side panel) to add authors, their affiliation numbers and e-mail addresses, and the affiliations themselves. The Document panel also holds the layout, the date and your macros (\newcommand).

The source view

Source shows the LabTeX file beside the compiled pages. Anything you change there — a whole section pasted from another paper, a BibTeX entry, a new environment — is read back when you return to Write. Paste LaTeX with several paragraphs into the Write view and it is split into blocks too.

\section{Method}\label{sec:method}
We integrate with an adaptive scheme.\footnote{Dormand--Prince, as in MATLAB's \texttt{ode45}.}
\begin{itemize}
  \item tolerance $10^{-8}$;
  \item step size control on the local error.
\end{itemize}
Typesetting…

Undo, drafts and files