#set text(font: "Times New Roman", size: 12pt) // C: strong вокруг всего header #show table.header: it => strong(it) #table( columns: 3, table.header([Aaa], [Bbb], [Ccc]), [ccc], [ddd], [eee], ) #pagebreak() // D: пересборка детей шапки с жирным содержимым ячеек #show table.header: it => table.header(..it.children.map(c => { if type(c) == content and c.func() == table.cell { let fields = c.fields let body = fields.remove("body") table.cell(..fields, strong(body)) } else { strong(c) } })) #table( columns: 3, table.header([Aaa], table.cell(colspan: 2)[Ccc], []), [ccc], [ddd], [eee], )