Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Attach Region Corners

Pins can be attached around an existing object. Their padding is geometric: it adds no space to the object.

Complete editable source

Setup Required

Source

#deixis-attach(prefix: none,
  pins: (
    begin: (anchor: top + left),
    end: (anchor: bottom + right),
  ),
  rect(inset: 12pt, stroke: none)[
    $sum_(i=1)^n i = (n(n+1))/2$
  ],
)
#deixis-region-mark(
  pins: (<begin>, <end>),
  padding: 3pt, stroke: teal,
)