diff options
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)) |
