Universe

This package provides an essential feature to Typst that has been missing for too long. It adds a coffee stain to your documents. A lot of time can be saved by printing stains directly on the page rather than adding it manually. You can choose from four different stain types:

  • 270° circle stain with two tiny splashes
  • 60° circle stain
  • two splashes with light colours
  • and a colourful twin splash.

Usage

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

#coffee-a(angle: 95deg, dy: 10pt, scale: 10%)
#coffee-b(where: top, angle: 95deg, opacity: 50%)
#coffee-c(where: bottom + left, dx: 10% + 5pt)
#coffee-d(where: right + top, angle: 95deg, opacity: 50%)

Example Example

Based on:

https://github.com/barak/latex-coffee-stains