summaryrefslogtreecommitdiff
path: root/tests/typ/layout/grid-1.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout/grid-1.typ')
-rw-r--r--tests/typ/layout/grid-1.typ41
1 files changed, 0 insertions, 41 deletions
diff --git a/tests/typ/layout/grid-1.typ b/tests/typ/layout/grid-1.typ
deleted file mode 100644
index 411fd8d0..00000000
--- a/tests/typ/layout/grid-1.typ
+++ /dev/null
@@ -1,41 +0,0 @@
-// Test grid layouts.
-
----
-#let cell(width, color) = rect(width: width, height: 2cm, fill: color)
-#set page(width: 100pt, height: 140pt)
-#grid(
- columns: (auto, 1fr, 3fr, 0.25cm, 3%, 2mm + 10%),
- cell(0.5cm, rgb("2a631a")),
- cell(100%, forest),
- cell(100%, conifer),
- cell(100%, rgb("ff0000")),
- cell(100%, rgb("00ff00")),
- cell(80%, rgb("00faf0")),
- cell(1cm, rgb("00ff00")),
- cell(0.5cm, rgb("2a631a")),
- cell(100%, forest),
- cell(100%, conifer),
- cell(100%, rgb("ff0000")),
- cell(100%, rgb("00ff00")),
-)
-
----
-#set rect(inset: 0pt)
-#grid(
- columns: (auto, auto, 40%),
- column-gutter: 1fr,
- row-gutter: 1fr,
- rect(fill: eastern)[dddaa aaa aaa],
- rect(fill: conifer)[ccc],
- rect(fill: rgb("dddddd"))[aaa],
-)
-
----
-#set page(height: 3cm, margin: 0pt)
-#grid(
- columns: (1fr,),
- rows: (1fr, auto, 2fr),
- [],
- align(center)[A bit more to the top],
- [],
-)