diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-05-17 14:27:59 +0200 |
| commit | e039552f9d7bb49da8dafe7a83b87a08202eb30f (patch) | |
| tree | 264b461722f758d85217da804550620cd74b4f9e /tests/typ/layout/transform.typ | |
| parent | 8e025c9cdfbb0a5dae536aafc27b5e19eeac1810 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/transform.typ')
| -rw-r--r-- | tests/typ/layout/transform.typ | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/tests/typ/layout/transform.typ b/tests/typ/layout/transform.typ deleted file mode 100644 index f74ec2b0..00000000 --- a/tests/typ/layout/transform.typ +++ /dev/null @@ -1,49 +0,0 @@ -// Test transformations. - ---- -// Test creating the TeX and XeTeX logos. -#let size = 11pt -#let tex = { - [T] - h(-0.14 * size) - box(move(dy: 0.22 * size)[E]) - h(-0.12 * size) - [X] -} - -#let xetex = { - [X] - h(-0.14 * size) - box(scale(x: -100%, move(dy: 0.26 * size)[E])) - h(-0.14 * size) - [T] - h(-0.14 * size) - box(move(dy: 0.26 * size)[E]) - h(-0.12 * size) - [X] -} - -#set text(font: "New Computer Modern", size) -Neither #tex, \ -nor #xetex! - ---- -// Test combination of scaling and rotation. -#set page(height: 80pt) -#align(center + horizon, - rotate(20deg, scale(70%, image("/assets/images/tiger.jpg"))) -) - ---- -// Test setting rotation origin. -#rotate(10deg, origin: top + left, - image("/assets/images/tiger.jpg", width: 50%) -) - ---- -// Test setting scaling origin. -#let r = rect(width: 100pt, height: 10pt, fill: forest) -#set page(height: 65pt) -#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)) |
