diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-31 15:05:42 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-31 15:05:42 +0100 |
| commit | ec05ed7e0646d1e8ff76677d0332ddf93ed57b69 (patch) | |
| tree | 75f57cbc2380591ef6c4f30d71e018e3cd001e19 /tests/typ/layout | |
| parent | 9a99beec94a5b02aa91a363b299d4795ef52c0fa (diff) | |
Move assets
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/grid-3.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/pad.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/par-bidi.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/par-indent.typ | 4 | ||||
| -rw-r--r-- | tests/typ/layout/place-background.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/place.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/transform.typ | 4 |
7 files changed, 9 insertions, 9 deletions
diff --git a/tests/typ/layout/grid-3.typ b/tests/typ/layout/grid-3.typ index 8194da73..ee79f2fd 100644 --- a/tests/typ/layout/grid-3.typ +++ b/tests/typ/layout/grid-3.typ @@ -23,7 +23,7 @@ columns: 4 * (1fr,), row-gutter: 10pt, column-gutter: (0pt, 10%), - align(top, image("/res/rhino.png")), + align(top, image("/rhino.png")), align(top, rect(inset: 0pt, fill: eastern, align(right)[LoL])), [rofl], [\ A] * 3, diff --git a/tests/typ/layout/pad.typ b/tests/typ/layout/pad.typ index 4f481502..2cc4d4ee 100644 --- a/tests/typ/layout/pad.typ +++ b/tests/typ/layout/pad.typ @@ -22,7 +22,7 @@ Hi #box(pad(left: 10pt)[A]) there // Test that the pad node doesn't consume the whole region. #set page(height: 6cm) #align(left)[Before] -#pad(10pt, image("/res/tiger.jpg")) +#pad(10pt, image("/tiger.jpg")) #align(right)[After] --- diff --git a/tests/typ/layout/par-bidi.typ b/tests/typ/layout/par-bidi.typ index 4baefcd3..31e3fded 100644 --- a/tests/typ/layout/par-bidi.typ +++ b/tests/typ/layout/par-bidi.typ @@ -43,7 +43,7 @@ Lריווח #h(1cm) R --- // Test inline object. #set text(lang: "he", "IBM Plex Serif") -קרנפיםRh#image("/res/rhino.png", height: 11pt)inoחיים +קרנפיםRh#image("/rhino.png", height: 11pt)inoחיים --- // Test whether L1 whitespace resetting destroys stuff. diff --git a/tests/typ/layout/par-indent.typ b/tests/typ/layout/par-indent.typ index 8454dda5..d328da41 100644 --- a/tests/typ/layout/par-indent.typ +++ b/tests/typ/layout/par-indent.typ @@ -9,10 +9,10 @@ The first paragraph has no indent. But the second one does. -#image("/res/tiger.jpg", height: 6pt) +#image("/tiger.jpg", height: 6pt) starts a paragraph without indent. -#align(center, image("/res/rhino.png", width: 1cm)) +#align(center, image("/rhino.png", width: 1cm)) = Headings - And lists. diff --git a/tests/typ/layout/place-background.typ b/tests/typ/layout/place-background.typ index fafedec1..6f480b93 100644 --- a/tests/typ/layout/place-background.typ +++ b/tests/typ/layout/place-background.typ @@ -7,7 +7,7 @@ dx: -10pt, dy: -10pt, image( - "/res/tiger.jpg", + "/tiger.jpg", fit: "cover", width: 100% + 20pt, height: 100% + 20pt, diff --git a/tests/typ/layout/place.typ b/tests/typ/layout/place.typ index 58f9d06d..18f7642d 100644 --- a/tests/typ/layout/place.typ +++ b/tests/typ/layout/place.typ @@ -5,7 +5,7 @@ #place(bottom + center)[© Typst] = Placement -#place(right, image("/res/tiger.jpg", width: 1.8cm)) +#place(right, image("/tiger.jpg", width: 1.8cm)) Hi there. This is \ a placed node. \ Unfortunately, \ diff --git a/tests/typ/layout/transform.typ b/tests/typ/layout/transform.typ index 58a053e9..cc7494b3 100644 --- a/tests/typ/layout/transform.typ +++ b/tests/typ/layout/transform.typ @@ -31,13 +31,13 @@ nor #xetex! // Test combination of scaling and rotation. #set page(height: 80pt) #align(center + horizon, - rotate(20deg, scale(70%, image("/res/tiger.jpg"))) + rotate(20deg, scale(70%, image("/tiger.jpg"))) ) --- // Test setting rotation origin. #rotate(10deg, origin: top + left, - image("/res/tiger.jpg", width: 50%) + image("/tiger.jpg", width: 50%) ) --- |
