renderreport 0.2.0

Data-driven report generation with Typst as embedded render engine — no CLI dependency
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Watermark Component
// Inspired by Pentaho Watermark Band

#let watermark(data) = {
  place(
    center + horizon,
    rotate(
      data.rotation * 1deg,
      text(
        size: eval(data.size),
        weight: "bold",
        fill: color-text.transparentize(100% - data.opacity * 100%),
      )[#data.text]
    )
  )
}