Package Information
- Last Updated
- Authors
- Robin Eklind
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/smartaref:0.1.02. Import in your Typst file
Add this to your .typ file:
#import "@preview/smartaref:0.1.0": *Clever references for Typst
Smart handling of consecutive references (i.e. cleveref for Typst).
Figures, tables, listings, sections, equations and footnotes example
See example/example.typ.

Subfigures example
See example/example-subfig.typ.

Heading-dependent numbering of subfigures
See example/example-subfig-headings.typ.

Compact consecutive references
See example/example-compact.typ.

Subpar example
See example/example-subpar.typ.
