summaryrefslogtreecommitdiff
path: root/tests/typ/layout/grid-rowspan-basic.typ
diff options
context:
space:
mode:
authorPgBiel <9021226+PgBiel@users.noreply.github.com>2024-03-06 05:41:16 -0300
committerGitHub <noreply@github.com>2024-03-06 08:41:16 +0000
commit898367f096fef507488438e00caae8c4ea1d0ff4 (patch)
treedf1911b8ed79fac943e3b4edcc54feb80a94bf90 /tests/typ/layout/grid-rowspan-basic.typ
parent5b2ffd9dd0612d391326e2dd5b5a4a026dec80eb (diff)
Repeatable Table Headers [More Flexible Tables Pt.5a] (#3545)
Diffstat (limited to 'tests/typ/layout/grid-rowspan-basic.typ')
-rw-r--r--tests/typ/layout/grid-rowspan-basic.typ21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/typ/layout/grid-rowspan-basic.typ b/tests/typ/layout/grid-rowspan-basic.typ
index 49164fa6..1cc7289b 100644
--- a/tests/typ/layout/grid-rowspan-basic.typ
+++ b/tests/typ/layout/grid-rowspan-basic.typ
@@ -209,3 +209,24 @@
grid.cell(y: 6, breakable: false)[m], grid.cell(y: 6, breakable: true)[n],
grid.cell(y: 7, breakable: false)[o], grid.cell(y: 7, breakable: true)[p], grid.cell(y: 7, breakable: auto)[q]
)
+
+---
+#table(
+ columns: 2,
+ table.cell(stroke: (bottom: red))[a], [b],
+ table.hline(stroke: green),
+ table.cell(stroke: (top: yellow, left: green, right: aqua, bottom: blue), colspan: 1, rowspan: 2)[d], table.cell(colspan: 1, rowspan: 2)[e],
+ [f],
+ [g]
+)
+
+---
+#table(
+ columns: 2,
+ gutter: 3pt,
+ table.cell(stroke: (bottom: red))[a], [b],
+ table.hline(stroke: green),
+ table.cell(stroke: (top: yellow, left: green, right: aqua, bottom: blue), colspan: 1, rowspan: 2)[d], table.cell(colspan: 1, rowspan: 2)[e],
+ [f],
+ [g]
+)