The ChemFox guide beta

Everything ChemFox does, and every key. On a Mac, read ⌘ wherever it says Ctrl.

  1. The basics: hover and type
  2. Drawing structures
  3. The focused atom
  4. Labels and groups
  5. Selecting and moving
  6. Reactions and schemes
  7. Atom mapping and bond changes
  8. Styles and exporting
  9. Files
  10. Keyboard reference
  11. Changing keys
  12. Updates, privacy and help

The basics: hover and type

Most edits in ChemFox don't need a tool. Point at something and press a key: what the key does depends on what's under the cursor. Point at an atom and press N to make it nitrogen; point at a bond and press 2 to make it double; point at empty canvas and press R to drop a benzene ring there.

The thing a key will act on is highlighted as you move. When several things overlap (an atom label over a bond, say), Tab cycles between them.

The toolbar on the left has the tools for everything else: Select (V), Chain (G), Arrow (Shift+A), Bent arrow (Shift+B), Text (Shift+T) and Map (Ctrl+M). With Select, dragging on empty canvas draws a selection box.

Moving around. Scroll to zoom, Shift+scroll to pan sideways, and drag with the right or middle button (or hold Space and drag) to pan. Ctrl+0 fits the drawing to the window.

Drawing structures

Atoms and bonds

Chains and rings

Tidying up

The focused atom

When a key grows a bond, the new atom becomes the focused atom, marked in light orange. From then on every key acts on it, wherever the mouse is, so you can build a whole chain without aiming:

  1. Hover an atom and press 1. The new atom turns orange.
  2. Keep pressing 1 to extend the chain. Move the mouse to steer: each new bond leans toward the pointer. Leave the mouse still and the chain carries on in a straight zig-zag.
  3. Press any other key on the focused atom: O for oxygen, 2 for a double bond onward, Shift+C for an acetyl, R for a phenyl.
  4. Use the arrow keys to move the focus to a neighbouring atom along a bond.
  5. Press Esc or click to finish.

To focus an atom of an existing structure, click the structure to select it, then click the atom.

Labels and groups

Selecting and moving

Reactions and schemes

Continue Reaction

Select a structure and press Ctrl+→ (or ↓ ← ↑). ChemFox draws an arrow in that direction and a copy of the structure past its head, selected and ready to edit into the product. The copy is mapped atom for atom to the original and the step shows bond changes, so what you break and form is coloured as you edit. Press it again to carry on from the copy.

Arrows

Laying out a scheme

Reactions from text

Reaction → Reaction Builder (Ctrl+Shift+R) builds a reaction from SMILES or SMARTS: one row per reactant and product, or a single reaction SMILES. It updates live, maps atoms automatically and lays the scheme out.

Atom mapping and bond changes

Styles and exporting

Files

Keyboard reference

These are the defaults; all of them can be changed. Hover keys act on what's under the cursor (or the focused atom); commands use Ctrl.

On an atom

C N O S P F HSet the element
L · B · IChlorine · bromine · iodine
1 2 3Grow a single, double or triple bond (and focus the new atom)
Shift+3…8 · RAdd a ring · benzene
Shift+CAdd an acetyl (Ac)
EExpand or collapse a group label
EnterType a label
+ = · -Raise · lower the charge
.Toggle a radical
Shift+NCompound name and number

On a bond

1 2 3Single, double, triple
W · H · YWedge · hash · wavy (again to reverse)
FFlip a wedge or a double bond's side
Shift+3…8 · RFuse a ring · benzene
Shift+NCompound name and number

On an arrow, text or name

EnterEdit the arrow's conditions, the text, or the name
KNext arrow kind

On empty canvas

C N O… L B IAdd an atom
Shift+3…8 · RAdd a ring · benzene
Shift+CAdd an acetyl
A · TAdd an arrow · text

Anywhere

V G Shift+A Shift+B Shift+TSelect, Chain, Arrow, Bent arrow, Text tools
TabNext of several overlapping targets
EscCancel, deselect, or finish with the focused atom
Delete BackspaceDelete
← → ↑ ↓Nudge the selection (Shift: further), or move the focused atom

Commands

Ctrl+N O SNew, open, save
Ctrl+I · Ctrl+EImport a structure · export SVG
Ctrl+Z · Ctrl+Shift+Z / Ctrl+YUndo · redo
Ctrl+X C V · Ctrl+ACut, copy, paste · select all
Ctrl+Shift+VPaste a SMILES or InChI (dialog)
Ctrl+LClean structure (again: next orientation)
Ctrl+→ ↓ ← ↑Continue the reaction
Ctrl+Shift+AArrange scheme
Ctrl+Shift+LAlign products to reactants
Ctrl+Shift+NNumber compounds
Ctrl+Shift+RReaction Builder
Ctrl+MMapping mode
Ctrl++ - · Ctrl+0 · Ctrl+1Zoom in, out · fit · actual size
Ctrl+Alt+KKeyboard Shortcuts (change keys, custom groups)
F1Keyboard reference in the app

Changing keys

Edit → Keyboard Shortcuts (Ctrl+Alt+K) lists every action, bound or not:

Changes apply immediately and are kept when you update ChemFox.

Updates, privacy and help