Skip to content

Bracket tool

The Bracket tool draws brackets around part of a drawing: square brackets around a complex ion or a transition state, curly brackets to group several structures, and polymer brackets around the repeating unit of a polymer. To activate it, press [ or click the bracket button in the tool palette.

Click the Bracket button to open its flyout and choose a type. Square, curly, and round brackets each come as a matched pair or as a single left or right half; the tenth entry is the polymer bracket, and the last, Bracket Around Selection, brackets the selected atoms at once (see below). You can change a bracket’s type and side after drawing it, in the Properties panel.

The Bracket tool has no number keys. With the Shape tool active, 4, 5, and 6 choose a square, curly, or round pair.

Drag across what the brackets should enclose: the drag sets their height and the distance between the two halves. The new bracket is selected and Molkit switches to the Select tool. Brackets have a stroke only, never a fill.

To bracket an ion that carries an overall charge, draw the brackets with the atoms neutral and type the charge in the bracket’s Super field (see Labels), or place a standalone charge outside them with the Charge tool.

Select the atoms of an ion, a complex, or a repeating unit, or any objects such as a text label, a picture, or a 3D view, then right-click and choose Bracket Around Selection, or choose it at the end of the Bracket flyout. Molkit draws a pair of square brackets around what the selection shows, with even spacing on every side. Everything drawn as part of the atoms counts: labels, lone pairs, radical dots, and formal charges. The new bracket is selected, so you can type its labels or switch it to round or curly in the Properties panel.

To fit a bracket you drew yourself, right-click it and choose Fit to Contents, or click Fit to Contents in the Bracket section of the Properties panel. The bracket moves and resizes around everything whose middle lies inside it, keeping its type, side, and labels; one undo step takes it back. A bracket round a repeating unit, whose sides cross bonds on purpose, keeps its sides and fits only its height; so does a bracket with one side. A charge written just outside the top-right corner moves with the corner.

A bracket made by Bracket Around Selection or Fit to Contents is kept fitted: when what it holds moves or changes, it fits itself again. The Keep fitted box in the Properties panel turns this on or off. Moving or resizing the bracket by hand turns it off, so the bracket stays where you put it. Undoing that move puts the bracket back and keeps it fitted again. When you rotate or flip an ion with its kept-fitted bracket, the bracket stays upright and fits itself around the turned or mirrored atoms, and the charge stays at its top-right corner.

The spacing is set in Structure Settings, on the Geometry tab, under Brackets; see Structure settings.

Select a bracket and open the Properties panel. The Bracket section switches the Type (square, round, curly) without redrawing, and the Side (left, both, right); the side buttons show the current type. The Bracket Shape section shows only the controls for that type:

  • Square: Caps, how far the end strokes reach in (0 is automatic).
  • Round: Bow, how far the curve bulges out, as a percentage of the bracket’s height.
  • Curly: Tip, how far the middle point sticks out, and Curl, the length of the turned ends, both percentages of the height.

Because the round and curly measures are percentages of the height, a tall bracket keeps the same shape as a short one.

The Labels section holds the text a bracket carries; it moves with the bracket and is part of its selection box. Sub (subscript) is the lower-right text, such as n or a number. Super (superscript) is the upper-right text, such as a charge (2+, 3−); the dagger button adds a double dagger for a transition state. The sizes follow the document’s label font.

The polymer bracket is a pair of square brackets with an italic subscript n at the lower right. To change it, select the bracket and open the Properties panel: in its Labels section, Polymer is checked, the Sub field holds the subscript (for example, m or x), and the Copolymer list adds ran, alt, block, or graft above the bracket. Clearing Polymer turns it back into a plain pair.

The repeating unit of poly(vinyl chloride), a CH2 and a CHCl carbon, in polymer brackets that cross the bonds to the rest of the chain, with the subscript n at the lower right.
Poly(vinyl chloride): the brackets cross the two bonds that continue the chain.