正常情况下,Latex中的图表都是从1开始计数,格式为Fig. 1
如果我们想要对某一个图片指定标号Fig. 2a,可在待修改图片前面使用以下语法:
\renewcommand{\thefigure}{2a}
如果我们想要得到的是Fig. S1, Fig. S2, … 的排序,可在document前使用以下语法:
\renewcommand*{\thefigure}{S\arabic{figure}}
表格同理,只需要将命令中的figure换成table即可
也可以对页码进行自定义,默认是阿拉伯数字编号,也可以换成罗马数字
\pagenumbering{roman}
如果想得到S1,S2这样的页码,可使用类似figure和table的语法:
\renewcommand*{\thepage}{S\arabic{page}}
参考:
Custom numbering of figures
Custom page numbering for appendix