(a) Scheme of the unit cell of hydrogen-terminated B-7AGNR containing C atoms surrounded by three other C atoms (C1), C atoms next to an H atom (C2), and next to a B atom (C3). The lattice parameter of pristine 7AGNRs is marked as a7AGNR. (b) XPS spectra of the C 1s and the B 1s core levels of B-7AGNRs/Au(788). The C 1s spectrum consists of three components (C1-C3), which correspond to the different chemical environment of the C atoms. (c) Comparison of the C K-edge NEXAFS spectra of pristine and B-doped 7AGNRs on Au(788) at different angles between the light-polarization vector and the sample surface.