s

stash

@preview

Stash content to display it later.

v0.1.0
GPL-3.0-or-later

Package Information

Last Updated
Authors
<@VanessB>
Categories
componentsmodel
Disciplines
mathematicscomputer-sciencephysicsengineeringphilosophyeducation

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/stash:0.1.0

2. Import in your Typst file

Add this to your .typ file:

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

Version History

0.1.0
ac36e420aa30...

This is a Typst package. Click here to find it in the Typst Universe.

stash

Version 0.1.0

This package allows you to stash blocks of content and display them later.
Inspired by $\LaTeX$ proof-at-the-end.

Getting Started

The following example illustrates how to import the package, create a stash and print it out:

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

#create-stash("proofs")

*Theorem 1:* $A = B$
#add-to-stash("proofs", [*Proof of Theorem 1*: $B = A$])

#lorem(30)

#context print-stash("proofs")

Plain and simple, no additional settings!