#show figure: set block(breakable: true)
#figure( // start figure preamble
  
  kind: "tinytable",
  supplement: "Table", // end figure preamble

block[ // start block

#let nhead = 1;
#let nrow = 3;
#let ncol = 4;

  #let style-array = ( 
    // tinytable cell style after
  )

  // tinytable align-default-array before
  #let align-default-array = ( left, left, left, left, ) // tinytable align-default-array here
  #show table.cell: it => {
    let tmp = it
    let data = style-array.find(data => data.x.contains(it.x) and data.y.contains(it.y))
    if data != none {
      if data.fontsize != none { tmp = text(size: data.fontsize, tmp) }
      if data.color != none { tmp = text(fill: data.color, tmp) }
      if data.indent != none { tmp = pad(left: data.indent, tmp) }
      if data.underline != none { tmp = underline(tmp) }
      if data.italic != none { tmp = emph(tmp) }
      if data.bold != none { tmp = strong(tmp) }
      if data.mono != none { tmp = math.mono(tmp) }
      if data.strikeout != none { tmp = strike(tmp) }
      tmp
    } else {
      tmp
    }
  }

  #align(center, [

  #table( // tinytable table start
    columns: (auto, auto, auto, auto),
    stroke: none,
    align: (x, y) => {
      let data = style-array.find(data => data.x.contains(x) and data.y.contains(y))
      if data != none and data.align != none {
        data.align
      } else {
        left
      }
    },
    fill: (x, y) => {
      let data = style-array.find(data => data.x.contains(x) and data.y.contains(y))
      if data != none and data.background != none { 
            data.background
      }
    },

table.hline(y: 1, start: 0, end: 4, stroke: 0.05em + black),
table.hline(y: 4, start: 0, end: 4, stroke: 0.1em + black),
table.hline(y: 0, start: 0, end: 4, stroke: 0.1em + black),
    // tinytable lines before

    table.header(
      repeat: true,
[w], [x], [y], [z],
    ),

    // tinytable cell content after
[143002], [  1.43], [1972-06-16], [True ],
[201399], [201.4 ], [1970-08-21], [True ],
[100188], [  0.13], [1970-07-18], [False],

    // tinytable footer after

  ) // end table

  ]) // end align

] // end block
) // end figure 
