summaryrefslogtreecommitdiff
path: root/tests/typ/layout
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-03-11 11:58:56 +0100
committerLaurenz <laurmaedje@gmail.com>2022-03-11 11:58:56 +0100
commite6b532391deb1e30dc356c4d20dd48199f748f29 (patch)
tree7b631414931164b9a47c9d154172195fc0e1316c /tests/typ/layout
parentb71113d37a29bab5c7dc4b501c33ee9afbdb8213 (diff)
More restructuring
Diffstat (limited to 'tests/typ/layout')
-rw-r--r--tests/typ/layout/hide.typ5
-rw-r--r--tests/typ/layout/transform.typ49
2 files changed, 0 insertions, 54 deletions
diff --git a/tests/typ/layout/hide.typ b/tests/typ/layout/hide.typ
deleted file mode 100644
index a979b24f..00000000
--- a/tests/typ/layout/hide.typ
+++ /dev/null
@@ -1,5 +0,0 @@
-// Test the `hide` function.
-
----
-AB #h(1fr) CD \
-#hide[A]B #h(1fr) C#hide[D]
diff --git a/tests/typ/layout/transform.typ b/tests/typ/layout/transform.typ
deleted file mode 100644
index 82ee1390..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)
- move(y: 0.22 * size)[E]
- h(-0.12 * size)
- [X]
-}]
-
-#let xetex = {
- [X]
- h(-0.14 * size)
- scale(x: -100%, move(y: 0.26 * size)[E])
- h(-0.14 * size)
- [T]
- h(-0.14 * size)
- move(y: 0.26 * size)[E]
- h(-0.12 * size)
- [X]
-}
-
-#set text("Latin Modern Math", size)
-Neither #tex, \
-nor #xetex!
-
----
-// Test combination of scaling and rotation.
-#set page(height: 80pt)
-#align(center + horizon,
- rotate(20deg, scale(70%, image("../../res/tiger.jpg")))
-)
-
----
-// Test setting rotation origin.
-#rotate(10deg, origin: top + left,
- image("../../res/tiger.jpg", width: 50%)
-)
-
----
-// 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)