bold-test12.typ 579 B

123456789101112131415161718192021
  1. #set text(font: "Times New Roman", size: 8pt)
  2. #show table: it => box(fill: luma(230))[
  3. #table(
  4. columns: it.columns,
  5. ..it.children.map(c => {
  6. if type(c) == content and c.func() == table.header {
  7. table.header(..c.children.map(h => {
  8. if type(h) == content and h.func() == table.cell {
  9. table.cell(strong(h.body))
  10. } else { strong(h) }
  11. }))
  12. } else { c }
  13. })
  14. )
  15. ]
  16. #table(
  17. columns: (1fr, 1fr, 1fr),
  18. table.header([Ш1], table.cell(colspan: 2)[Ш2], []),
  19. table.header([], [Ш2а], [Ш2б]),
  20. [1], [2], [3],
  21. )