How can a table be split horizontally?

Wrapping a columns(2) might helps.

#set page(height: 10em, width: 20em)


#columns(2, align(center,
  table(
    align: center + horizon,
    columns: (2fr, 3fr),
    table.header("Left", "Right", repeat: true),
    [l1], [r1],
    [l2], [r2],
    [l2], [r2],
    [l2], [r2],
    [l2], [r2],
    [l2], [r2],
    [l2], [r2],
    [l2], [r2],
    [l2], [r2],
    [l2], [r2],
    [l2], [r2],
    [l2], [r2],
    [l50], [r50]
  )
))
1 Like