summaryrefslogtreecommitdiff
path: root/test/svg/typst-image.typ
blob: 2c8820724b741fcde70cee908ac1f34908df9897 (plain) (blame)
1
2
3
4
5
6
// An SVG placed by Typst: an <image> with the document as a data URI.
#set page(width: auto, height: auto, margin: 6pt, fill: none)
#stack(dir: ltr, spacing: 8pt,
  image("use.svg", width: 120pt),
  image("gradients.svg", width: 80pt, height: 60pt, fit: "stretch"),
)