#import "@preview/tablex:0.0.8": tablex, colspanx, rowspanx

#let c(body) = {
  set text(font: "Microsoft YaHei")
  body
}

#figure(
  tablex(
    columns: 5,
    align: center + horizon,
    auto-vlines: false,
    [*#c("年度")*], [], [*#c("公屋")*], [*#c("居屋")*], [*#c("私人住宅")*],
    rowspanx(5)[2009\ / \ 2010], [#c("平均房租开支")], [1,116], [5,969], [9,573],
    [#c("月开支平均数")], [10,569], [19,288], [28,715],
    [#c("月收入中位数")], [10,550], [19,750], [24,250],
    [#c("支出 / 收入比")], [1.00], [0.98], [1.18],
    [#c("支出 / 收入比（不计房租）")], [0.90], [0.67], [0.80],
    rowspanx(5)[2014\ / \ 2015], [#c("平均房租开支")], [1,576], [8,982], [13,582],
    [#c("月开支平均数")], [13,275], [26,075], [36,728],
    [#c("月收入中位数")], [14,050], [25,000], [31,550],
    [#c("支出 / 收入比")], [0.94], [1.04], [1.16],
    [#c("支出 / 收入比（不计房租）")], [0.83], [0.68], [0.73],
    rowspanx(5)[2019\ / \ 2000], [#c("平均房租开支")], [1,701], [10,100], [15,218],
    [#c("月开支平均数")], [15,018], [27,631], [37,895],
    [#c("月收入中位数")], [18,250], [28,400], [38,900],
    [#c("支出 / 收入比")], [0.82], [0.97], [0.97],
    [#c("支出 / 收入比（不计房租）")], [0.72], [0.61], [0.58],
  ),
  kind: table,
  caption: c("香港不同住宅类型家庭月开支与收入一览")
)
