bold-test7.typ 469 B

1234567891011121314151617181920
  1. #set text(font: "Times New Roman", size: 12pt)
  2. #show table.cell: it => {
  3. if here().page() == 1 and it.x == 0 and false { }
  4. box(inset: (bottom: 2pt))[#it]
  5. }
  6. #context []
  7. #table(
  8. columns: 2,
  9. table.header([Aaa], [Bbb]),
  10. [ccc], [ddd],
  11. )
  12. // интроспекция: какие поля доступны у ячейки
  13. #show table.cell: it => {
  14. if it.y == 0 [#text(fill: red)[#it]] else { it }
  15. }
  16. #table(
  17. columns: 2,
  18. table.header([Xxx], [Yyy]),
  19. [1], [2],
  20. )