[next] [prev] [prev-tail] [tail] [up]

A

# Customizing TEXworks

### A.1 Syntax highlighting

Among its many other features, TEXworks also include syntax highlighting. This means that certain things like LaTeX commands, environments, or comments are coloured, underlined, or highlighted in some other way. TEXworks also provides the ability to switch between different highlighting schemes1, and to define your own ones. This is useful if you often work with types of files for which no highlighting scheme is provided by default, or if you want to adjust the highlighting schemes to better match your system’s colour scheme.

To modify the highlighting schemes, you have to edit the plain-text file <resources>/configuration/syntax-patterns.txt. This file can contain any number of individual sections, each defining a single highlighting scheme to be displayed in the menu structure of TEXworks. To define a section, just write the name enclosed in square brackets on a line of its own. Naturally, these names should not include the `]` character. By default, the following two sections are defined:

    [LaTeX]
    [ConTeXt]

In addition, you can add comments to the file by starting a line with `#`. Empty lines are ignored.

Each section consists of an arbitrary number of styling rules. Each such instruction consists of three parts: a formatting instruction, a spell-check flag, and a regular expression2 defining what part of a text to match. These parts must all be on the same line, and separated by whitespaces (e.g., spaces or tabstop characters). Take for example the following line from the default `LaTeX` section:

    red    Y    %.*

The first part, `red`, defines the format (in this case, a red foreground colour is specified). The second part, `Y`, defines that spellchecking should be enabled for text that matches this particular rule. Sometimes, it is useful to put `N` here to disable spellchecking. For example, if spellchecking would be enabled for LaTeX commands, most documents would be flooded with red underlines indicating misspelled words when in fact they are only special commands. Finally, the third part specifies that this rule should be applied to all text preceded by `%`.

Let us take a closer look at the three parts of each rule. In its most general form, the first part—the format instruction—looks like

    <foreground_colour>/<background_colour>;<fontflags>

The `<fontflags>` can be specified independent of the colours (note, though, that it must always be preceded by a `;`). The background colour (together with the `/`) can be omitted, but if you specify it, you also have to specify the foreground colour.

Each colour can either be specified by an SVG name3 or by a hexadecimal value (`#rrggbb` 4) similar as in web documents. The `<fontflags>` can be any combination of the letter `B` (bold), `I` (italic), and `U` (underlined).

Examples of valid formatting instructions are:

    red
    white/#000000
    ;B
    blue;I
     #000000/#ffff00;U

### A.2 Keyboard shortcuts

The use of keyboard shortcuts greatly facilitates typing in and the management of the source and the preview windows. Their use is much more effective than the use of buttons for frequently-used actions.

Below, you’ll find the shortcuts for source and preview windows. Note that on macOS, `Ctrl` actually refers to the Command key, which is the usual modifier for keyboard shortcuts. Although the keyboard shortcuts are specified with `Ctrl`, this will appear as the Command-key symbol in menus. (To refer to the actual Control key on the Mac, the shortcut file should use the name `Meta`).

Note that the shortcuts listed below are the default shortcuts for the English interface of TEXworks. Different languages may use different shortcuts.

All the shortcuts can be redefined either to create new shortcuts or to modify the existing ones to match personal uses or change shortcuts not adapted to one particular keyboard layout. The list of possible actions to associate with shortcuts is given after the predefined shortcuts.

To define your own shortcuts, put a file named shortcuts.ini in the <resources>/configuration folder, next to auto-indent-patterns.txt, delimiter-pairs.txt, …, texworks-config.txt.

For example, this file could contain:

    actionHard_Wrap = Shift+F3
    actionLast_Page = Ctrl+End
    actionFirst_Page = Ctrl+Home
    actionWrap_Lines = F3
    actionLine_Numbers = F4
    actionBalance_Delimiters = F9

The first line defines that using Shift ⇑F3 should open the hardwrap dialogue box in the source window; the second (Ctrl End) should bring you to the last page and Ctrl Home (third line) should take you to the first page; with F3 you want to wrap/unwrap lines in the source, with F4 you will show/hide line numbers and with F9 you intend to select the text between corresponding delimiters in the source.

#### A.2.1 Predefined shortcuts

For working in the source window:

Shortcut | Action
Ctrl+’ | Go to Preview
Ctrl+= | Show Selection
Ctrl+A | Select All
Ctrl+Alt+S | Save All
Ctrl+B | Balance Delimiters
Ctrl+C | Copy
Ctrl+E | Copy to Find
Ctrl+F | Find...
Ctrl+G | Find Again
Ctrl+H | Find Selection
Ctrl+L | Go to Line...
Ctrl+N | New
Ctrl+O | Open...
Ctrl+Q | Quit TeXworks
Ctrl+R | Replace...
Ctrl+S | Save
Ctrl+Shift+C | Insert Citations...
Ctrl+Shift+E | Copy to Replace
Ctrl+Shift+N | New from Template...
Ctrl+Shift+R | Replace Again
Ctrl+Shift+S | Save As...
Ctrl+Shift+Z | Redo
Ctrl+Shift+[ | Uncomment
Ctrl+Shift+] | Comment
Ctrl+T | Typeset
Ctrl+V | Paste
Ctrl+W | Close
Ctrl+X | Cut
Ctrl+Z | Undo
Ctrl+[ | Unindent
Ctrl+\ | Hide Console Output
Ctrl+] | Indent

Moving the cursor (hold Shift ⇑ to select):

Shortcut | Action
→ | 1 character right
Ctrl+→ | 1 word right
← | 1 character left
Ctrl+← | 1 word left
↑ | 1 line up
↓ | 1 line down
PgUp | 1 screen up
PgDown | 1 screen down
Home | Begin of line
Ctrl+Home | Begin of document
End | End of line
Ctrl+End | End of document

For working in the preview window:

Shortcut | Action
Alt+Left | Go to previous view
Ctrl+’ | Go to Source
Ctrl++ | Zoom In
Ctrl+- | Zoom Out
Ctrl+1 | Actual Size
Ctrl+2 | Fit to Width
Ctrl+3 | Fit to Window
Ctrl+4 | Fit to Content Width
Ctrl+Backspace | Clear
Ctrl+C | Copy
Ctrl+F | Find...
Ctrl+G | Find Again
Ctrl+J | Go to Page...
Ctrl+N | New
Ctrl+O | Open...
Ctrl+P | Print PDF...
Ctrl+PgDown | Next Page
Ctrl+PgUp | Previous Page
Ctrl+Q | Quit TeXworks
Ctrl+Shift+F | Full Screen
Ctrl+Shift+N | New from Template...
Ctrl+Shift+Z | Redo
Ctrl+T | Typeset
Ctrl+V | Paste
Ctrl+W | Close
Ctrl+X | Cut
Ctrl+Z | Undo

#### A.2.2 Actions listed alphabetically

actionAbout_Scripts | actionPageMode_Single
actionAbout_TW | actionPageMode_TwoPagesContinuous
actionActual_Size | actionPaste
actionApply_to_Selection | actionPlace_on_Left
actionAutoIndent_None | actionPlace_on_Right
actionAuto_Follow_Focus | actionPreferences
actionBalance_Delimiters | actionPrevious_Completion
actionClear | actionPrevious_Completion_Placeholder
actionClear_Recent_Files | actionPrevious_Page
actionClose | actionPrevious_ViewRect
actionComment | actionPrintPdf
actionCopy | actionQuit_TeXworks
actionCopy_to_Find | actionRedo
actionCopy_to_Replace | actionRemove_Aux_Files
actionCut | actionReplace
actionFind | actionReplace_Again
actionFind_Again | actionRevert_to_Saved
actionFind_Selection | actionRuler
actionFirst_Page | actionSave
actionFit_to_Content_Width | actionSave_All
actionFit_to_Width | actionSave_As
actionFit_to_Window | actionScroll
actionFont | actionSelect_All
actionFull_Screen | actionSelect_Text
actionGoToHomePage | actionSettings_and_Resources
actionGo_to_Line | actionShow_Hide_Console
actionGo_to_Page | actionShow_Scripts_Folder
actionGo_to_Preview | actionShow_Selection
actionGo_to_Source | actionSide_by_Side
actionHard_Wrap | actionSmartQuotes_None
actionIndent | actionStack
actionInsert_Citations | actionSyntaxColoring_None
actionJump_To_PDF | actionTile
actionLast_Page | actionTo_Lowercase
actionLine_Numbers | actionTo_Uppercase
actionMagnify | actionToggle_Case
actionManage_Scripts | actionTypeset
actionNew | actionUncomment
actionNew_from_Template | actionUndo
actionNext_Completion | actionUnindent
actionNext_Completion_Placeholder | actionUpdate_Scripts
actionNext_Page | actionWrap_Lines
actionNone | actionWriteToMailingList
actionOpen | actionZoom_In
actionPageMode_Continuous | actionZoom_Out

#### A.2.3 Actions listed by menu

For the source window:

Edit
actionBalance_Delimiters | actionPreferences
actionClear | actionRedo
actionCopy | actionSelect_All
actionCut | actionTo_Lowercase
actionInsert_Citations | actionTo_Uppercase
actionNone | actionToggle_Case
actionPaste | actionUndo
File
actionClear_Recent_Files | actionRemove_Aux_Files
actionClose | actionRevert_to_Saved
actionNew | actionSave
actionNew_from_Template | actionSave_All
actionOpen | actionSave_As
actionQuit_TeXworks |
Format
actionApply_to_Selection | actionLine_Numbers
actionAutoIndent_None | actionSmartQuotes_None
actionComment | actionSyntaxColoring_None
actionFont | actionUncomment
actionHard_Wrap | actionUnindent
actionIndent | actionWrap_Lines
Help
actionAbout_TW | actionSettings_and_Resources
actionGoToHomePage | actionWriteToMailingList
Scripts
actionAbout_Scripts | actionShow_Scripts_Folder
actionManage_Scripts | actionUpdate_Scripts
Search
actionCopy_to_Find | actionGo_to_Line
actionCopy_to_Replace | actionReplace
actionFind | actionReplace_Again
actionFind_Again | actionShow_Selection
actionFind_Selection |
Typeset
actionTypeset |
Window
actionAuto_Follow_Focus | actionShow_Hide_Console
actionGo_to_Preview | actionSide_by_Side
actionPlace_on_Left | actionStack
actionPlace_on_Right | actionTile

For the preview window:

Edit
actionCopy | actionRedo
actionPreferences | actionUndo
File
actionClear_Recent_Files | actionOpen
actionClose | actionPrintPdf
actionNew | actionQuit_TeXworks
actionNew_from_Template |
Help
actionAbout_TW | actionSettings_and_Resources
actionGoToHomePage | actionWriteToMailingList
Scripts
actionAbout_Scripts | actionShow_Scripts_Folder
actionManage_Scripts | actionUpdate_Scripts
Search
actionFind | actionFind_Again
Typeset
actionTypeset |
View
actionActual_Size | actionNext_Page
actionFirst_Page | actionPageMode_Continuous
actionFit_to_Content_Width | actionPageMode_Single
actionFit_to_Width | actionPageMode_TwoPagesContinuous
actionFit_to_Window | actionPrevious_Page
actionFull_Screen | actionRuler
actionGo_to_Page | actionZoom_In
actionLast_Page | actionZoom_Out
Window
actionGo_to_Source | actionSide_by_Side
actionPlace_on_Left | actionStack
actionPlace_on_Right | actionTile

#### A.2.4 Actions for typesetting tools

In addition to the static actions listed above, there are also actions for switching to a typesetting tool. All of these actions are of the general form `actionTypesetTool<tool_name>` where `<tool_name>` must be replaced appropriately. For example, the name corresponding to the `pdfLaTeX` typesetting tool is `actionTypesetToolpdfLaTeX`, that corresponding to `My␣tool` is `actionTypesetToolMy␣tool`.5

#### A.2.5 Actions for scripts

There are also actions for scripts. These are dynamic in nature, as they are created on-the-fly for the available scripts (which may change when you install scripts, remove them, or change some settings). All of these actions are of the form `Script:␣<script_title>`, where `<script_title>` must be replaced appropriately. If you have a script that shows up as `My Script`, for example, the corresponding action would be named `Script:␣My␣Script`.

### A.3 Roots for completion

We give here the keywords for auto-completion as they are supplied by TEXworks. They are given in the files tw-basic.txt, tw-context.txt (initially empty) and tw-latex.txt in the <resource>\completion folder.

We give them in three columns: the first two show the keywords, the third the (LA)TEX code produced. In some cases there is only the code, this means that you can start to enter the (LA)TEX code and try to complete it with ⇆.

During completion, the system inserts line feeds and puts the cursor at the first place where one has to enter information to complete the typing. To represent the line feeds we used R and I for the input point.

So, a line like “\begin{abstract}R I R\end{abstract}∙” should be interpreted as

    \begin{abstract}

    \end{abstract}∙

with the cursor being position on the central, empty line.

It is possible to see that the keywords have some pattern. The mathematical variables have a keyword starting with `x`, when they are in a mathematical environment; when they are used alone in the text you add `d` in front. For example, `xa` and `dxa` give `\alpha`, if there is a capital there is a `c`, as `xo` for `\omega` and `xco` for `\Omega`. The keywords for environments start with `b`: `bali` for `\begin{align}` (`b` is a mnemonic for `\begin`). When the environment has possible options, there is one or more `o` added to the base name: `bminp` gives `\begin{minipage}{}...` while `bminpo` gives `\begin{minipage}[]{}...`.

Keywords defined in tw-basic.txt (defined in TEX):

xa | \xa | \alpha
xb | \xb | \beta
| \bsk | \bigskip
|  | \bigskip R
xch | \xch | \chi
xcd | \xcd | \Delta
xd | \xd | \delta
xe | \xe | \epsilon
xet | \xet | \eta
xcg | \xcg | \Gamma
xg | \xg | \gamma
|  | \hskip
|  | \indent
|  | \input
xio | \xio | \iota
xcl | \xcl | \Lambda
xl | \xl | \lambda
| \msk | \medskip
|  | \medskip R
xm | \xm | \mu
|  | \noindent
xn | \xn | \nu
xco | \xco | \Omega
xo | \xo | \omega
|  | \par
xcph | \xcph | \Phi
xph | \xph | \phi
xcp | \xcp | \Pi
xp | \xp | \pi
xcps | \xcps | \Psi
xps | \xps | \psi
xr | \xr | \rho
|  | \scriptsize
xcs | \xcs | \Sigma
xs | \xs | \sigma
| \ssk | \smallskip R
xt | \xt | \tau
tex | \tex | \TeX
texs | \texs | \TeX\
xcth | \xcth | \Theta
xth | \xth | \theta
xcu | \xcu | \Upsilon
xu | \xu | \upsilon
xve | \xve | \varepsilon
xvph | \xvph | \varphi
xvp | \xvp | \varpi
xvr | \xvr | \varrho
xvs | \xvs | \varsigma
xvth | \xvth | \vartheta
|  | \vskip
xcx | \xcx | \Xi
xx | \xx | \xi
xz | \xz | \zeta

Keywords defined in tw-latex.txt (defined in LaTeX):

ncol | \ncol | &
dd | \dd | \( I \)∙
| \adc | \addtocounter{I}{∙}
adcount |  | \addtocounter{I}{∙}R
| \adl | \addtolength{I}{∙}
adlen |  | \addtolength{I}{∙}R
|  | \author{I}R
|  | \begin{
babs | \babs | \begin{abstract}R I R\end{abstract}∙
balis | \balis | \begin{align*}R I R\end{align*}∙
baliats | \baliats | \begin{alignat*}{I}R∙R\end{alignat*}∙
baliat | \baliat | \begin{alignat}{I}R∙R\end{alignat}∙
baliedat | \baliedat | \begin{alignedat}R I R\end{alignedat}∙
baliedato | \baliedato | \begin{alignedat}[I]R∙R\end{alignedat}∙
balied | \balied | \begin{aligned}{I}R∙R\end{aligned}∙
bali | \bali | \begin{align}R I R\end{align}∙
bapp | \bapp | \begin{appendix}R I R\end{appendix}∙
barr |  | \begin{array}R I R\end{array}∙
bbmat | \bbmat | \begin{bmatrix}R I R\end{bmatrix}∙
bcase | \bcase | \begin{cases}R I R\end{cases}∙
bcent | \bcent | \begin{center}R I R\end{center}∙
bcenum | \bcenum | \begin{compactenum}R\item R I R\end{compactenum}∙
bcenumo | \bcenumo | \begin{compactenum}[I]R\item R∙R\end{compactenum}∙
bcitem | \bcitem | \begin{compactitem}R\item R I R\end{compactitem}∙
bcitemo | \bcitemo | \begin{compactitem}[I]R\item R∙R\end{compactitem}∙
bdes | \bdes | \begin{description}R\item[I]R∙R\end{description}∙
bdoc | \bdoc | \begin{document}R R I R R\end{document}
benu | \benu | \begin{enumerate}R\item R I R\end{enumerate}∙
benuo | \benuo | \begin{enumerate}[I]R\item R∙R\end{enumerate}∙
beqns | \beqns | \begin{eqnarray*}R I R\end{eqnarray*}∙
beqn | \beqn | \begin{eqnarray}R I R\end{eqnarray}∙
bequs | \bequs | \begin{equation*}R I R\end{equation*}∙
bequ | \bequ | \begin{equation}R I R\end{equation}∙
bfig | \bfig | \begin{figure}R I R\end{figure}∙
bfigo | \bfigo | \begin{figure}[I]R∙R\end{figure}∙
bflaligs | \bflaligs | \begin{flalign*}R I R\end{flalign*}∙
bflalig | \bflalig | \begin{flalign}R I R\end{flalign}∙
bfll | \bfll | \begin{flushleft}R I R\end{flushleft}∙
bflr | \bflr | \begin{flushright}R I R\end{flushright}∙
bgaths | \bgaths | \begin{gather*}R I R\end{gather*}∙
bgathed | \bgathed | \begin{gathered}R I R\end{gathered}∙
bgathedo | \bgathedo | \begin{gathered}[I]R∙R\end{gathered}∙
bgath | \bgath | \begin{gather}R I R\end{gather}∙
bite | \bite | \begin{itemize}R\item R I R\end{itemize}∙
biteo | \biteo | \begin{itemize}[I]R\item R∙R\end{itemize}∙
blett | \blett | \begin{letter}{I}R∙R\end{letter}∙
blist | \blist | \begin{list}{I}{∙}R\item R∙R\end{list}∙
bminpo | \bminpo | \begin{minipage}[I]{∙}R∙R\end{minipage}∙
bminp | \bminp | \begin{minipage}{I}R∙R\end{minipage}∙
bmults | \bmults | \begin{multline*}R I R\end{multline*}∙
bmult | \bmult | \begin{multline}R I R\end{multline}∙
bpict | \bpict | \begin{picture}R I R\end{picture}∙
bpmat | \bpmat | \begin{pmatrix}R I R\end{pmatrix}∙
bquot | \bquot | \begin{quotation}R I R\end{quotation}∙
bquo | \bquo | \begin{quote}R I R\end{quote}∙
bsplit | \bsplit | \begin{split}R I R\end{split}∙
bsubeq | \bsubeq | \begin{subequations}R I R\end{subequations}∙
btabb | \btabb | \begin{tabbing}R I R\end{tabbing}∙
btabls | \btabls | \begin{table*}R I R\end{table*}∙
btbls | \btbls | \begin{table*}R I R\end{table*}∙
btablso | \btablso | \begin{table*}[I]R∙R\end{table*}∙
btblso | \btblso | \begin{table*}[I]R∙R\end{table*}∙
btabl | \btabl | \begin{table}R I R\end{table}∙
btbl | \btbl | \begin{table}R I R\end{table}∙
btablo | \btablo | \begin{table}[I]R∙R\end{table}∙
btblo | \btblo | \begin{table}[I]R∙R\end{table}∙
btabs | \btabs | \begin{tabular*}{I}{∙}R∙R\end{tabular*}∙
btabx | \btabx | \begin{tabularx}{I}{∙}R∙R\end{tabularx}∙
btab | \btab | \begin{tabular}{I}R∙R\end{tabular}∙
bbib | \bbib | \begin{thebibliography}{I}R\bibitem{∙}R∙R\end{thebibliography}∙
bindex | \bindex | \begin{theindex}R I R\end{theindex}∙
btheo | \btheo | \begin{theorem}R I R\end{theorem}∙
btitpg | \btitpg | \begin{titlepage}R I R\end{titlepage}∙
btrivl | \btrivl | \begin{trivlist}R I R\end{trivlist}∙
bvarw | \bvarw | \begin{varwidth}{I}R∙R\end{varwidth}∙
bverb | \bverb | \begin{verbatim}R I R\end{verbatim}∙
bvers | \bvers | \begin{verse}R I R\end{verse}∙
bfd |  | \bfseries
bibitemo |  | \bibitem[I]{∙}R∙
bibitem |  | \bibitem{I}R∙
bibstyle | \bibstyle | \bibliographystyle{I}
biblio |  | \bibliography{I}
|  | \boxed{I}
|  | \caption{I}R
|  | \cdots
center |  | \centering
|  | \chapter{I}
chap |  | \chapter{I}R
|  | \cite{I}
|  | \cline{I}
|  | \date{I}R
|  | \ddddot{I}
|  | \dddot{I}
|  | \ddots
|  | \ddot{I}
|  | \documentclass[I]{∙}R
|  | \documentclass{I}R
|  | \dots
|  | \dotsb
|  | \dotsc
|  | \dotsi
|  | \dotsm
|  | \dotso
emd |  | \em
em |  | \emph{I}
|  | \end{I}R
|  | \eqref{I}
|  | \fboxrule{I}
|  | \fboxsep{I}
fbox |  | \fbox{I}
|  | \footnotesize
foot |  | \footnote{I}
frac |  | \frac{I}{∙}
fboxoo | \fboxoo | \framebox[I][∙]{∙}
fboxo | \fboxo | \framebox[I]{∙}
hw |  | \headwidth
|  | \hline R
|  | \hspace*{I}
|  | \hspace{I}
incgo |  | \includegraphics[I]{∙}R
incg |  | \includegraphics{I}R
|  | \include{I}R
|  | \input{I}R
|  | \intertext{I}
|  | \item R I
ito |  | \item[I]R∙
itd |  | \itshape
lbl | \lbl | \label{I}
|  | \large
|  | \Large
latex | \latex | \LaTeX
latexs | \latexs | \LaTeX\
latexe | \latexe | \LaTeXe
latexes | \latexes | \LaTeXe\
|  | \ldots
|  | \listfiles R
listf | \listf | \listoffigures R
listt | \listt | \listoftables R
|  | \makeatletter
|  | \makeatother
mboxoo | \mboxoo | \makebox[I][∙]{∙}
mboxo | \mboxo | \makebox[I]{∙}
mpar | \mpar | \marginpar{I}
mbf | \mbf | \mathbf{I}
mcal | \mcal | \mathcal{I}
mit | \mit | \mathit{I}
mnorm | \mnorm | \mathnormal{I}
mrm | \mrm | \mathrm{I}
msf | \msf | \mathsf{I}
mtt | \mtt | \mathtt{I}
mbox |  | \mbox{I}
mdd |  | \mdseries
multc | \multc | \multicolumn{I}{∙}{∙}
multic |  | \multicolumn{I}{∙}{∙}
nct |  | \newcolumntype{I}{∙}
newct |  | \newcolumntype{I}{∙}
ncmoo |  | \newcommand{I}[∙][∙]{∙}R
newcoo |  | \newcommand{I}[∙][∙]{∙}R
ncmo |  | \newcommand{I}[∙]{∙}R
newco |  | \newcommand{I}[∙]{∙}R
ncm |  | \newcommand{I}{∙}R
newc |  | \newcommand{I}{∙}R
nenvoo |  | \newenvironment{I}[∙][∙]{∙}{∙}R
neweoo |  | \newenvironment{I}[∙][∙]{∙}{∙}R
nenvo |  | \newenvironment{I}[∙]{∙}{∙}R
neweo |  | \newenvironment{I}[∙]{∙}{∙}R
nenv |  | \newenvironment{I}{∙}{∙}R
newe |  | \newenvironment{I}{∙}{∙}R
newlen |  | \newlength{I}R
nlen |  | \newlength{I}R
newlin |  | \newline R
nline |  | \newline R
newpg |  | \newpage R
npg | \npg | \newpage R
|  | \newtheorem{I}[∙]{∙}R
|  | \newtheorem{I}{∙}R
|  | \newtheorem{I}{∙}[∙]R
|  | \nocite{I}
|  | \normalsize
|  | \pagebreak R
pgref |  | \pageref{I}
pgs |  | \pagestyle{I}R
pars |  | \paragraph*{I}R
paro |  | \paragraph[I]{∙}R
par |  | \paragraph{I}R
parboxo |  | \parbox[I]{∙}{∙}
pboxo | \pboxo | \parbox[I]{∙}{∙}
parbox |  | \parbox{I}{∙}
pbox | \pbox | \parbox{I}{∙}
rboxoo | \rboxoo | \raisebox{I}[∙][∙]{∙}
rboxo | \rboxo | \raisebox{I}[∙]{∙}
rbox | \rbox | \raisebox{I}{∙}
ref |  | \ref{I}
rncmoo |  | \renewcommand{I}[∙][∙]{∙}R
rnewcoo |  | \renewcommand{I}[∙][∙]{∙}R
rncmo |  | \renewcommand{I}[∙]{∙}R
rnewco |  | \renewcommand{I}[∙]{∙}R
rncm |  | \renewcommand{I}{∙}R
rnewc |  | \renewcommand{I}{∙}R
rmc |  | \rmfamily
|  | \rule[I]{∙}{∙}
|  | \rule{I}{∙}
scd |  | \scshape
secs |  | \section*{I}R
seco |  | \section[I]{∙}R
sec |  | \section{I}R
|  | \setlength{I}{∙}
hw2tw |  | \setlength{\headwidth}{\textwidth}R
sfd |  | \sffamily
sld |  | \slshape
sqrto | \sqrto | \sqrt[I]{∙}
sqrt | \sqrt | \sqrt{I}
stcount |  | \stepcounter{I}R
spars | \spars | \subparagraph*{I}
sparo | \sparo | \subparagraph[I]{∙}
spar | \spar | \subparagraph{I}
ssecs | \ssecs | \subsection*{I}R
sseco | \sseco | \subsection[I]{∙}R
ssec | \ssec | \subsection{I}R
sssecs | \sssecs | \subsubsection*{I}R
| \ssseco | \subsubsection[I][∙]R
ssseco |  | \subsubsection[I]{∙}R
sssec | \sssec | \subsubsection{I}R
tableofcontents |  | \tableofcontents R
toc | \toc | \tableofcontents R
tilde | \tilde | \textasciitilde
bf | \bf | \textbf{I}
--- |  | \textemdash\
-- |  | \textendash\
it | \it | \textit{I}
| \rm | \textrm{I}
sc | \sc | \textsc{I}
sf | \sf | \textsf{I}
sl | \sl | \textsl{I}
tt | \tt | \texttt{I}
up | \up | \textup{I}
tw | \tw | \textwidth
|  | \text{I}
|  | \thanks{I}R
|  | \title{I}R
ttd |  | \ttfamily
upd |  | \upshape
url |  | \url{I}
usepo |  | \usepackage[I]{∙}R
usep |  | \usepackage{I}R
|  | \vdots
|  | \vspace*{I}R
|  | \vspace{I}R
|  | {abstract}R I R\end{abstract}∙
|  | {align*}R I R\end{align*}∙
|  | {alignat*}{I}R∙R\end{alignat*}∙
|  | {alignat}{I}R∙R\end{alignat}∙
|  | {alignedat}{I}R∙R\end{alignedat}∙
|  | {aligned}R I R\end{aligned}∙
|  | {aligned}[I]R∙R\end{aligned}∙
|  | {align}R I R\end{align}∙
|  | {appendix}R I R\end{appendix}∙
|  | {array}R I R\end{array}∙
|  | {bmatrix}R I R\end{bmatrix}∙
|  | {cases}R I R\end{cases}∙
|  | {center}R I R\end{center}∙
|  | {compactenum}R\item R I R\end{compactenum}∙
|  | {compactenum}[I]R\item R∙R\end{compactenum}∙
|  | {compactitem}R\item R I R\end{compactitem}∙
|  | {compactitem}[I]R\item R∙R\end{compactitem}∙
|  | {description}R\item[I]R∙R\end{description}∙
|  | {document}R R I R R\end{document}
|  | {enumerate}R\item R I R\end{enumerate}∙
|  | {enumerate}[I]R\item R∙R\end{enumerate}∙
|  | {eqnarray*}R I R\end{eqnarray*}∙
|  | {eqnarray}R I R\end{eqnarray}∙
|  | {equation}R I R\end{equation}∙
|  | {figure}R I R\end{figure}∙
|  | {figure}[I]R∙R\end{figure}∙
|  | {flalign*}R I R\end{flalign*}∙
|  | {flalign}R I R\end{flalign}∙
|  | {flushleft}R I R\end{flushleft}∙
|  | {flushright}R I R\end{flushright}∙
|  | {gather*}R I R\end{gather*}∙
|  | {gathered}R I R\end{gathered}∙
|  | {gathered}[I]R∙R\end{gathered}∙
|  | {gather}R I R\end{gather}∙
|  | {itemize}R\item R I R\end{itemize}∙
|  | {itemize}[I]R\item R∙R\end{itemize}∙
|  | {letter}{I}R∙R\end{letter}∙
|  | {list}{I}{∙}R\item R∙R\end{list}∙
|  | {minipage}[I]{∙}R∙R\end{minipage}∙
|  | {minipage}{I}R∙R\end{minipage}∙
|  | {multline*}R I R\end{multline*}∙
|  | {multline}R I R\end{multline}∙
|  | {picture}R I R\end{picture}∙
|  | {pmatrix}R I R\end{pmatrix}∙
|  | {quotation}R I R\end{quotation}∙
|  | {quote}R I R\end{quote}∙
|  | {split}R I R\end{split}∙
|  | {subequations}R I R\end{subequations}∙
|  | {tabbing}R I R\end{tabbing}∙
|  | {table*}R I R\end{table*}∙
|  | {table*}[I]R∙R\end{table*}∙
|  | {table}R I R\end{table}∙
|  | {table}[I]R∙R\end{table}∙
|  | {tabular*}{I}{∙}R∙R\end{tabular*}∙
|  | {tabularx}{I}{∙}R∙R\end{tabularx}∙
|  | {tabular}{I}R∙R\end{tabular}∙
|  | {thebibliography}R I R\end{thebibliography}∙
|  | {theindex}R I R\end{theindex}∙
|  | {theorem}R I R\end{theorem}∙
|  | {titlepage}R I R\end{titlepage}∙
|  | {trivlist}R I R\end{trivlist}∙
|  | {varwidth}{I}R∙R\end{varwidth}∙
|  | {verbatim}R I R\end{verbatim}∙
|  | {verse}R I R\end{verse}∙

Keywords defined in tw-latex-pkg.txt (defined by various packages):

|  | \addbibresource{I}R
botr |  | \bottomrule R
|  | \citep{I}
|  | \citet{I}
cmidr |  | \cmidrule(I){∙}
cmidro |  | \cmidrule[I](∙){∙}
|  | \enquote{I}
geometry |  | \geometry{∙}
href |  | \href{I}{∙}
|  | \midrule R
|  | \printbibliography R
|  | \printbibliography[I]R
topr |  | \toprule R
|  | {compactenum}R\item R I R\end{compactenum}∙
|  | {compactenum}[I]R\item R∙R\end{compactenum}∙
|  | {compactitem}R\item R I R\end{compactitem}∙
|  | {compactitem}[I]R\item R∙R\end{compactitem}∙
|  | {tikzpicture}R I R\end{tikzpicture}∙
|  | {tikzpicture}[I]R∙R\end{tikzpicture}∙

Keywords defined in tw-beamer.txt (defined by the beamer package):

|  | \action<I>{∙}
|  | \againframe<I>[∙]{∙}R
|  | \againframe<I>{∙}R
|  | \againframe{I}R
|  | \alert<I>{∙}
|  | \alert{I}
|  | \alt<I>{∙}{∙}
bfrm |  | \begin{frame}R I R\end{frame}∙
|  | \framesubtitle<I>{∙}R
|  | \framesubtitle{I}R
|  | \frametitle<I>[∙]{∙}R
|  | \frametitle{I}R
|  | \framezoom<I><∙>(∙,∙)(∙,∙)
|  | \framezoom<I><∙>[∙](∙,∙)(∙,∙)
|  | \includeonlyframes{I}R
|  | \includeonlylecture{I}R
|  | \invisible<I>{∙}
|  | \lecture{I}{∙}R
|  | \note<I>[∙]{∙}R
|  | \note<I>{∙}R
|  | \note{I}R
|  | \only<I>{∙}
|  | \onslide<I>{∙}
|  | \pause R
|  | \pause[I]R
|  | \structure{I}R
|  | \temporal<I>{∙}{∙}{∙}
|  | \uncover<I>{∙}
|  | \usebeamercolor{I}R
|  | \visible<I>{∙}
|  | {actionenv}<I>R R\end{actionenv}∙
|  | {alertenv}<I>R R\end{alertenv}∙
|  | {altenv}<I>{∙}{∙}{∙}{∙}R R\end{altenv}∙
|  | {beamercolorbox}[I]{∙}R R\end{beamercolorbox}∙
|  | {beamercolorbox}{I}R R\end{beamercolorbox}∙
|  | {block}<I>{∙}R R\end{block}∙
|  | {block}{I}R R\end{block}∙
|  | {columns}R I R\end{columns}∙
|  | {columns}[I]R∙R\end{columns}∙
|  | {column}[I]{∙}R R\end{column}∙
|  | {column}{I}R R\end{column}∙
|  | {frame}R I R\end{frame}∙
|  | {frame}[I]{∙}R R\end{frame}∙
|  | {frame}{I}R R\end{frame}∙
|  | {onlyenv}<I>R R\end{onlyenv}∙
|  | {overlayarea}{I}{∙}R R\end{overlayarea}∙
|  | {overprint}R I R\end{overprint}∙
|  | {structureenv}R I R\end{structureenv}∙

Keywords defined in tw-context.txt (defined in ConTEXt):

|  | \starttext
|  | \stoptext

There are also environment codes (above) without `\begin{` (which is itself a keyword); this allows to finish the environment name alone by ⇆ if one started to input it manually.

[next] [prev] [prev-tail] [front] [up]