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

Deixis Documentation

Deixis

Annotate a passage, share its explanation, or connect objects in your own drawing. These guides describe Deixis 0.2.0 for Typst 0.15.0+. Import @preview/deixis:0.2.0 from Typst Universe; Typst downloads it automatically. See installation for editor setup.

Start Here

Guide snippets continue a document with the package import and setup from getting started, unless they include their own. Most show their compiled output below the source, with a link to the complete preview document. Blocks labeled as fragments show configuration or excerpts that need surrounding code.

Notes, Marks, And Placement

Appearance And Extensions

  • Appearance and color: default styling, scoped palettes, and explicit overrides.
  • Configuration: reusable defaults, adapter/component keys, resets, and capture timing.
  • Containers: native/custom body wrappers and explicit container options.
  • Custom renderers: live body helpers, navigation, measurement, and partial output.
  • Drawing order: z-index, separate component priorities, and layer boundaries.

Connections And Drawings

Begin with Connectors for note shorthand, or Routing objects in place for your own objects.

  • Connectors: routes, side/sliding/pin ports, exact waypoints, native arrowheads, and optional cuts/crossing gaps.
  • Independent connections: connect pins, original/reused marks, frames, and live body points.
  • Pin API: names, scopes, occurrence selection, padding, and attached anchors.
  • Routing objects in place: immediate node registration and scoped manual/avoid/separate planning.
  • Numeric routing: build and paint geometry from known coordinates, without document setup.
  • Routing scenes: fixed obstacles, accepted document geometry, and avoid/ignore/cut/cross behavior.
  • Routing groups: explicit orthogonal batches, repair budgets, and checked results.

Useful comparisons: curve families, Hobby curves, off-curve controls, native heads, custom ports, shared lanes, optional crossing gaps, and small portals.

Pages, Scopes, And Presentations

Queries And Custom Views

Find A Task

I Want To…ReadTry
Install Deixis or configure my editorInstallationFirst Notes
Add my first notesGetting startedFirst Notes
Remove editorial notes from a final copyReview commentsReview Comments
Share one explanation among passagesIdentities · Shared notesShared Notes
Annotate a presentationTouying integrationTouying Reveals
Choose colors and containersAppearance · ConfigurationAutomatic Palettes
Draw connections around objectsRouting objects in placeRouting In Place
Build a note index or custom viewOutlines · QueriesNote Catalogue
Annotate headings with outlines or running headersRepeated headingsFootnotes

Offline Reading And Compatibility

The downloadable manual combines a guided introduction, 23 worked examples with source beside compiled output, and a compact reference to all public APIs. Setup badges distinguish document APIs, independent numeric helpers, and conditional extension hooks. The API reference supplies source-derived defaults; the agent skill includes checked document recipes for coding agents.

Use Compatibility and migration for supported behavior, remaining native/routing limits, and changes from 0.1.1. Maintained editable sources live in examples.

Contributing

For dependencies, checks, artwork and local website commands, see CONTRIBUTING. The architecture explains runtime contracts; release preparation lists packaging and manual checks.