diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 18:58:39 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 19:57:28 +0100 |
| commit | 3ffa7393f0632d9ee5dd9c821685a1a033d5c0ab (patch) | |
| tree | af09b0683352c4028436a2e5251dce54cf41d4aa /tests/typ/layout/transform.typ | |
| parent | f4856c18b9cf3f6952276cc61b557aebeb2fa651 (diff) | |
Make all nodes block-level
Diffstat (limited to 'tests/typ/layout/transform.typ')
| -rw-r--r-- | tests/typ/layout/transform.typ | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/typ/layout/transform.typ b/tests/typ/layout/transform.typ index cc7494b3..cc744952 100644 --- a/tests/typ/layout/transform.typ +++ b/tests/typ/layout/transform.typ @@ -6,7 +6,7 @@ #let tex = { [T] h(-0.14 * size) - move(dy: 0.22 * size)[E] + box(move(dy: 0.22 * size)[E]) h(-0.12 * size) [X] } @@ -14,11 +14,11 @@ #let xetex = { [X] h(-0.14 * size) - scale(x: -100%, move(dy: 0.26 * size)[E]) + box(scale(x: -100%, move(dy: 0.26 * size)[E])) h(-0.14 * size) [T] h(-0.14 * size) - move(dy: 0.26 * size)[E] + box(move(dy: 0.26 * size)[E]) h(-0.12 * size) [X] } @@ -44,6 +44,6 @@ nor #xetex! // Test setting scaling origin. #let r = rect(width: 100pt, height: 10pt, fill: forest) #set page(height: 65pt) -#scale(r, x: 50%, y: 200%, origin: left + top) -#scale(r, x: 50%, origin: center) -#scale(r, x: 50%, y: 200%, origin: right + bottom) +#box(scale(r, x: 50%, y: 200%, origin: left + top)) +#box(scale(r, x: 50%, origin: center)) +#box(scale(r, x: 50%, y: 200%, origin: right + bottom)) |
