#import "@preview/cuti:0.2.1": *

// 中文缩进
#let indent = h(2em)

// 假段落，附着于 heading 之后可以实现首行缩进
#let empty-par = par[#box()]
#let fake-par = context empty-par + v(-measure(empty-par + empty-par).height)

#let invisible-heading(..args) = {
  set text(size: 0pt, fill: white)
  heading(numbering: none, ..args)
}

#let unpack(pairs) = {
  let dict = (:)
  for (key, value) in pairs {
    dict[key] = value
  }
  dict
}

