s

smartaref

@preview

Smart handling of consecutive references (i.e. cleveref for Typst).

v0.1.0
0BSD
1 downloads

Package Information

Last Updated

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/smartaref:0.1.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/smartaref:0.1.0": *

Version History

0.1.0
75c3bfed8e51...

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.

Figures, tables, listings, sections, equations and footnotes example

Subfigures example

See example/example-subfig.typ.

Subfigures example

Heading-dependent numbering of subfigures

See example/example-subfig-headings.typ.

Heading-dependent numbering of subfigures

Compact consecutive references

See example/example-compact.typ.

Compact consecutive references example

Subpar example

See example/example-subpar.typ.

Subfigures example