Two-dimensional Kagome-in-Honeycomb materials (MN
4)
3C
32 (M=Pt or Mn)
This paper proposes two 2D materials, (PtN$_4$)$_3$C$_{32}$ and (MnN$_4$)$_3$C$_{32}$, with a kagome-in-honeycomb (KIH) lattice structure. First-principles calculations show that, without spin-orbit coupling (SOC), both exhibit Dirac/quadratic-crossing cones and flat bands near the Fermi level. With SOC, they become topological insulators: nonmagnetic (PtN$_4$)$_3$C$_{32}$ turns into a $\mathbb{Z}_2$ quantum spin Hall insulator, while ferromagnetic (MnN$_4$)$_3$C$_{32}$ becomes a quantum anomalous Hall insulator with nonzero Chern number and chiral edge states.