Skip to content

Labels

Add and style atom/residue labels in the viewer.

Shortcut

/label [selection]      → /labels smart [selection]
/label clear            → /labels clear

Commands

/labels smart

Apply smart labels (auto-selects label content based on context).

/label ligand           # Labels ligand atoms
/label resi 45          # Labels residue 45

/labels label

Apply custom labels.

/labels label protein resn+resi
/labels label ligand name

/labels clear

Remove all labels.

/label clear
/labels clear protein

/labels color

Set label color.

/labels color white
/labels color yellow ligand

/labels font

Set label font size.

/labels font 14

/labels outline

Toggle label outline for readability.

/labels outline on
/labels outline off

/labels size

Set label size.

/labels size 20

/labels pseudoatom

Create a pseudoatom with a label at a specific position.

/labels pseudoatom "Active Site" 10.5 20.3 15.7