转载:https://blog.csdn.net/fabbychips/article/details/71123725 先对索引项设置标题类型 如标题1,标题2...标题6... 再插入Table of Contents宏 最后如下图所示