e

example

@preview

An example package.

v0.1.0
Unlicense

Package Information

Last Updated

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/example:0.1.0

2. Import in your Typst file

Add this to your .typ file:

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

Version History

0.1.0
d9ea9ebd0dd6...

example

An example package demonstrating the structure of a Typst package.

Displays the text "This is an example!" when included and exports four functions
add, sub, mul, and div that perform the respective mathematical
operations on two operands.