我有一个.docx文档,其中包含多级列表,用于我的章节,目录如下:
1. Chapter One
2. Chapter Two
2.1. Chapter Two, Sub-chapter One
...
5. Chapter Five
5.1. Chapter Five, Sub-chapter One
5.1.1. Chapter Five, Sub-chapter One, Sub-sub-chapter One
etc.
我在我的子章节5.1.1中插入了图片,并使用“插入题注...”在图像下方放置一些文本:
Figure 5.1.1.1 Some image caption
我希望得到的字幕格式只包含章节号码,而不包括子章节编号,例如:
Figure 5.1 Some image caption
这里的5代表章节号,.1表示该图在这一章中的顺序。 现在我的域代码如下:
Figure { STYLEREF 1 \s }.{ SEQ Figure \* ARABIC \s 1 }
怎么做到呢?