
#table(
    rows: 9,
    columns: 4,
    column-gutter: 0.25em,
    align: (left, left, left, center),
    stroke: none,
    table.header(
        table.hline(y: 0, stroke: 1pt),
        [*#"group1"*],
        [*#"group2"*],
        [*#"group3"*],
        [*#"value1"*],
        table.hline(y: 1, stroke: 0.75pt),
    ),
    table.cell(rowspan: 4)[#"a"],
    table.cell(rowspan: 2)[#"e"],
    [#"c"],
    [#"1"],
    [#"d"],
    [#"3"],
    table.cell(rowspan: 2)[#"f"],
    [#"c"],
    [#"2"],
    [#"d"],
    [#"4"],
    table.cell(rowspan: 4)[#"b"],
    table.cell(rowspan: 2)[#"e"],
    [#"c"],
    [#"5"],
    [#"d"],
    [#"7"],
    table.cell(rowspan: 2)[#"f"],
    [#"c"],
    [#"6"],
    [#"d"],
    [#"8"],
    table.hline(y: 9, stroke: 1pt),
)
