summaryrefslogtreecommitdiff
path: root/tests/typ/layout/place-background.typ
blob: afee0622e11aeb3415c2a56be1e29f0a993dabf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Test placing a background image on a page.

---
#set page(paper: "a10", flipped: true)
#set text(fill: white)
#place(
  dx: -10pt,
  dy: -10pt,
  image(
    "/assets/images/tiger.jpg",
    fit: "cover",
    width: 100% + 20pt,
    height: 100% + 20pt,
  )
)
#align(bottom + right)[
  _Welcome to_ #underline[*Tigerland*]
]