Repository navigation
Drawing
The canvas opens when a drawing is active: the tool rail on the left, the page in the middle, the Analysis panel on the right when it is open. Every gesture, hover key or command is one undo step (Ctrl+Z, Ctrl+Shift+Z or Ctrl+Y; Cmd on macOS).
Press a tool's key with the pointer away from atoms and bonds, or click it on the rail. Shift with the key steps to the next tool of that group; a rail button that holds more than one tool opens its flyout when held or right-clicked.
| Key | Group | Tools | What a click or drag does |
|---|---|---|---|
V |
Selection | Select, Lasso (L) |
Click to select, drag on empty paper for a marquee (the lasso draws a free shape). Drag a selection to move it (Shift keeps it level or upright); drag one atom to reshape, dropping it on another atom merges them. The round handle above a selection rotates it in 15 degree steps (Shift for free rotation). The four square handles at the corners of a selection that holds a structure scale it on the sheet (Alt about the centre, Shift in 10 percent steps; see Grid and Page). Arrow keys nudge by 1 pt, Shift 10 pt, Alt 0.1 pt. |
B |
Bonds | Single, double, triple, quadruple, wedge, hashed wedge, hollow wedge, plain hashed, wavy, bold, dashed, dative, crossed double, aromatic | Click empty paper for a new bond, click an atom to grow a bond from it at a good angle, drag from an atom to aim it, click a bond to change it to the tool's kind. From 0.14.0 a click stops at full valence (C four bonds, N three, O two, with charges counted) with "That atom has no room for another bond.", a crowded atom (largest gap under 60 degrees) still gets the bond with a note in the status bar, and a double-click on a bond cycles single, double, triple as one undo step. |
C |
Chain | Chain | Drag from an atom or empty paper to draw a zig-zag chain; a note shows the carbon count, and typing digits during the drag sets it. |
R |
Rings | Benzene, cyclopentadiene, cyclopropane to cyclooctane, chair and flipped chair, and the Template tool | Click empty paper for a free ring, click a bond to fuse a ring onto it, click an atom for a spiro ring (Alt-click attaches the ring through a new bond). From 0.14.0: drag from an atom to turn the ring toward the pointer in 15 degree steps (Alt freely) or from a bond to pick its side; Mod-click with benzene places it with an inscribed circle; Shift-click with benzene or cyclopentadiene swaps the Kekule form of the ring through the clicked bond or atom. The Template tool places the template picked in Insert > Template... (Templates). |
A |
Atom Label | Atom label | Click an atom to type its label (elements, charges, abbreviations such as OMe or CO2H). |
T |
Text | Text | Click to type a text block. |
E |
Eraser | Eraser | Click or drag across atoms, bonds and objects to remove them. |
H |
Hand | Hand | Drag to pan (holding Space pans with any tool). |
Z |
Zoom | Zoom | Click to zoom in at the point, Alt-click to zoom out. Ctrl with the wheel zooms anywhere; View has Zoom In (Ctrl+=), Zoom Out (Ctrl+-), Zoom to Fit (Ctrl+0) and Actual Size (Ctrl+1). |
W P K G O
|
Arrows, Symbols, Brackets, Shapes, Orbitals | and Table, TLC, Image, Caption (in Text) | The annotation tools of 0.5.0; see Annotations. Reaction arrows and plus signs make a scheme FormChem can read; see Reactions. |
Right-click an atom, a bond or the paper for its context menu; from 0.6.0 the atom and bond menus also hold Atom Query, Enhanced Stereo, Query Bond and Define R-Group, and a selection of several atoms Contract Abbreviation. Structure has Clean Up Structure, Lay Out Structure, the abbreviation and explicit hydrogen commands, Assign Wedges, the Enhanced Stereo and Query submenus, Check Structure, Standardise... (from 0.7.0: salts, charges, functional groups and tautomers, with a preview), Compute Properties and the flips (see Stereo and Queries and Analysis); Arrange has the stacking order, align, distribute, Rotate 90 Degrees, Group and Ungroup, and from 0.7.0 Scale..., Scale Up 10% (Ctrl+Alt+=), Scale Down 10% (Ctrl+Alt+-) and Scale Labels and Text with Structures; Edit has Cut, Copy and Paste for the drawing (Ctrl+X, Ctrl+C, Ctrl+V), Copy As (SMILES, CXSMILES, Molfile, InChI, InChIKey, SMARTS, SVG, PNG, CDXML), Paste Special... (Ctrl+Shift+V), Duplicate (Ctrl+D), Delete, Select All (Ctrl+A), Find and Find Substructure (see Clipboard). With the selection tool, a selected arrow, line or box shows handles to reshape it.
Structures inserted from SMILES, files opened without 2D coordinates, Lay Out Structure and Clean Up Structure all go through the engine's 2D layout. From 0.7.0 it tries several layouts, scores each for atoms and labels that touch and bonds that cross, keeps the clearest (the familiar CoordGen layout unless another is clearly better) and then swings crowded substituents apart without changing any stereo or double bond geometry. Taxol, erythromycin and vancomycin now insert with no touching labels. Clean Up keeps the result as close as it can to what you drew. Bridged polycycles such as morphine can still show a bond crossing a ring, because only substituents are moved.
View > Grid picks lines, dots, crosses, isometric or hexagonal grids and Grid Settings..., and Snap to Grid puts new bonds, chains, rings and objects on grid points (hold Alt to place freely); on an isometric or hexagonal grid at the bond length every atom of a chain or a six-membered ring lands on a point. View > Dark Page shows the page dark, which is the default. From 0.14.0 the grid starts hidden, and Snap to Grid snaps atoms only when View > Grid > Snap Atoms to Grid is on too (shapes, arrows and text snap with Snap to Grid alone). Both are on Grid and Page; pages are on Printing and pages.
Point at an atom or a bond (no click) and press a key. It works with the selection and every drawing tool, and each key is one undo step. This table is HOVER_KEY_MAP in frontend/src/canvas/tools/hotkeys.ts.
| On | Keys | Does |
|---|---|---|
| atom |
C N O S P F I H B K
|
set that element |
| atom | L |
chlorine |
| atom | Shift+B |
bromine |
| atom | R |
generic R group |
| atom |
A Q X M
|
query any atom, heteroatom, halogen, metal |
| atom | D |
deuterium |
| atom | a letter, then another within 600 ms | two-letter element (N A = Na, C L = Cl, S I = Si, B R = Br) |
| atom |
1 to 9
|
attach a zig-zag carbon chain of that many atoms |
| atom |
Shift+3 to Shift+8
|
attach a saturated ring through a new bond |
| atom |
Alt+Shift+3 to Alt+Shift+8
|
spiro ring at the atom |
| atom | Alt+B |
attach phenyl |
| atom |
+ -
|
formal charge up or down by 1 |
| atom | . |
toggle a radical dot |
| atom | : |
add a lone pair (cycles 0 to 4) |
| atom | Enter |
type a label |
| atom | ' |
show or hide the atom number (0.14.0) |
| atom | / |
Atom Properties: element, charge and where it sits, isotope, radical, lone pairs, hydrogens, number, "Ignore valence warnings" (0.14.0) |
| atom | = |
the abbreviation picker with a drawn preview; typed condensed labels such as CH2CH2OH work too (0.14.0) |
| nothing | Enter |
reopen the label box at the last atom a hover key touched, with the last label (0.14.0) |
| atom | Space |
revert to implicit carbon |
| atom |
Delete Backspace
|
delete the atom and its bonds |
| bond |
1 2 3
|
single, double, triple |
| bond | 4 |
aromatic |
| bond | 0 |
query any bond |
| bond | W |
solid wedge, again reverses |
| bond | H |
hashed wedge, again reverses |
| bond | Y |
wavy |
| bond | B |
toggle bold |
| bond | D |
toggle dashed |
| bond |
C L R
|
double bond centred, left, right |
| bond | F |
bring to front at crossings |
| bond |
Shift+3 to Shift+8
|
fuse a saturated ring of that size |
| bond | Shift+B |
fuse a benzene ring |
| bond |
Delete Backspace
|
delete the bond and any bare carbon left alone |
| bond | / |
Bond Properties: order (hydrogen, dative, ionic and zero among them) apart from the display, stereo, double bond position (0.14.0) |
While the pointer rests on an atom or a bond, its hover keys win over the tool keys of the same letter, and the status bar says so. While you type the first letter of a two-letter element a tip near the pointer shows what you have and what a second letter makes. Help > Keyboard Shortcuts lists both tables and a Key conflicts section: every key two commands share and every tool letter that is also a hover key. The full key list is on Keyboard Shortcuts.
- A second click on a selected group selects the next level inside it under the pointer;
Escapeselects the group around the selection before clearing it. A triple-click selects the outermost group or, on a reaction, the whole scheme (also Edit > Select Reaction Scheme). Arrange > Integral Group makes a group that is never drilled into. - The round handle rotates in 15 degree steps, freely with
Shift, and shows the angle in the status bar;Alt-click an atom inside a selection of several objects to make it the pivot. Arrange > Rotate has 90 degrees either way and Rotate by Angle.... - Flip Horizontal and Vertical say in the status bar whether wedges were inverted (the configuration kept) or kept (the mirror image); Structure > Flip Keeps Wedges switches between the two.
- Arrow keys nudge 1 pt,
Alt10 pt,Shift0.1 pt. After a click on the canvas they move the selection; when the keyboard cursor was put in a structure byTabor Focus Structure they move the cursor instead. - Structure > Join Atoms (
Shift+Mod+J) merges two selected atoms of different structures. Structure > Fixed Bond Length (on by default) gives new bonds the style's length; off, a dragged bond takes the length you drag. - View > Smart Guides: when shapes, arrows or text are dragged, their edges and centres snap within 4 screen pixels to other objects, shown as dashed lines;
Altdrags freely. - Clean Up Structure (
Shift+Mod+K) and Lay Out Structure count touching atoms and crossing bonds before and after and say whether any new one appeared. - Structure > Atoms has Atom Properties..., Periodic Table... (
Shift+Mod+E: pick an element for the atom tool, with your eight most recent), Show Atom Numbers, Circled Charges and Lone Pairs as Bars.
- Move focus to the canvas (
Tabfrom the rail, or click it once). - Press
Enter. The keyboard cursor (a highlight the screen reader announces) lands on the first atom in reading order; on an empty pageEnterfirst places a carbon in the middle of the view. - Arrow keys move the cursor along bonds to the neighbouring atom in that direction;
Ctrlwith an arrow puts it on the bond instead.TabandShift+Tabjump to the next or previous structure. - To add a bond, press
Enteron an atom, then an arrow key: a carbon is added in that direction at the drawing's bond length and angle (joining an atom already there), and the cursor moves to it. - Every hover key works on the atom or bond under the cursor:
Ofor oxygen,2for a double bond,Shift+6for a ring,4for a chain of four,Enterthen typing for a label. - The context-menu key or
Shift+F10opens the menu of the atom or bond under the cursor.Escapeleaves the cursor.
Structures can also come in without drawing: Insert > Structure from SMILES, Insert > Template... (260 whole molecules, see Templates), Insert > Glassware..., Reaction > Insert Reaction from Clipboard, Paste of any structure text, File > Open for molfile, SDF, RXN, RD, SMILES, CXSMILES, SMARTS, InChI, CML, CDXML and CDX files and pictures FormChem exported (reactions open as drawn schemes), or File > Import... to add a file's contents to the open drawing. See Formats and Export.
New drawings start from the default style chosen in Preferences > Drawing (Journal standard (1996), Journal variant B, Large screen or New document) with the bond length, line width, bold width and label size set there on top; choosing a style fills those numbers in from it. Preferences > Drawing and Chemistry also switch element colours, carbon labels, aromatic circles, valence warnings and stereo labels for the view. The View menu has Show Stereochemistry (CIP labels), Show Enhanced Stereo Groups (abs, and1, or1 under the labels) and Show Query Features (the purple query tags); the last two are choices of this window, not of the drawing, as are View > Dark Page and Show Grid.
Format > Document Style... shows the drawing's style: the preset, chain angle, fixed bond length, line width, bold width, bond spacing, margin width, hash spacing, and the atom label and caption fonts (a new drawing shows 120, 14.4, 18, 0.6, 2, 1.6, 2.5, Arimo 10, Arimo 10), in pt, mm, cm or in, with terminal methyls as Me, the allene dot, vertical labels and the circle options. Changing a value switches the preset to Custom.
- Apply to Document rescales every structure on every page about its own centre to the style's bond length and gives the drawing the style; Large screen on a 14.4 pt benzene gives 30.0 pt edges and 1.6 pt lines. Captions move with their structures. Undo restores it in one step.
- Apply to Selection gives only the selected objects the style, so a scheme can hold a structure in another journal's style. "Discard overrides" clears fonts, sizes and line widths set on objects by hand; without it they are kept.
-
Export Style... writes a
.fcstylefile; Import Style... stores it in the drawing as a preset and offers Apply. Save as Preset keeps the current values in the drawing.
Rendering follows the journal rules: bond lines end square, joins at implicit carbons are mitred (capped at twice the line width, rounded below 60 degrees), and wedge, hollow wedge and bold bond ends are cut to meet their neighbours. With vertical labels on, an N whose bond comes from straight above gets its H2 underneath, and an NH between bonds from left and right puts the H below. Format > Label Position places a label left, right, centred, above or below, or back to automatic; the allene dot draws an allene's centre carbon as a dot.
Texts and captions open in the formatted editor: select characters and press Mod+B, Mod+I, Mod+U, Ctrl+- (subscript), Ctrl+Shift+= (superscript) or Ctrl+0 (normal, which also overrides the automatic subscripts of a formula text); a strip offers Greek letters and symbols and the emphasis red. Enter finishes, Shift+Enter starts a new line. Format > Text applies the same to whole selected texts, with justified alignment and Line Spacing.... Format > Colour... starts with the emphasis red #c00000 and shows its contrast. Arrange > Renumber Compounds renumbers compound captions in reading order. Atom labels stay plain labels: their subscripts come from the label rules.
FormChem
- Home
- Manual
- Getting Started
- Drawing
- Grid and Page
- Annotations
- Reactions
- Templates
- Printing and pages
- Keyboard Shortcuts
- Stereo and Queries
- Analysis
- Names
- Spectra and NMR
- 3D
- Databases
- Lab Notebook
- Biopolymers
- Live Structures
- Accessibility
- Formats and Export
- Clipboard
- Command Line
- Agents
- Agent Activity
- Terminal
- Extensions
- Project Format
- Architecture
- Desktop
- Troubleshooting
- Development
- Releasing
Documents