From 898367f096fef507488438e00caae8c4ea1d0ff4 Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Wed, 6 Mar 2024 05:41:16 -0300 Subject: Repeatable Table Headers [More Flexible Tables Pt.5a] (#3545) --- tests/typ/layout/grid-rowspan-basic.typ | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'tests/typ/layout/grid-rowspan-basic.typ') 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] +) -- cgit v1.2.3