#show figure.where(kind: "tytable"): set block(breakable: false)
#figure(
  kind: "tytable",
  supplement: "Table",

block[
  #table(
    columns: (auto, auto),
    stroke: none,
    rows: auto,
    align: right,
    fill: none,
    table.hline(y: 0, start: 0, end: 2, stroke: 0.08em + black),
    table.hline(y: 1, start: 0, end: 2, stroke: 0.05em + black),
    table.hline(y: 3, start: 0, end: 2, stroke: 0.08em + black),
    table.header(
      repeat: true,
      [A],[B],
    ),
    [#text(fill: rgb("#ff0000"))[1]],[2],
    [3],[4],
  )
]
)