Package Information
- Last Updated
- Authors
- The Typst Project Developers
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/example:0.1.02. Import in your Typst file
Add this to your .typ file:
#import "@preview/example:0.1.0": *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.