繁体   English   中英

在LaTeX中为数字标题添加前缀?

[英]adding prefix to figure caption in LaTeX?

如何更改LaTeX中所有数字的标题以包含前缀? 例如,使所有数字显示为“补充图1”,“补充图2”,......而不是“图1”,“图2”?

谢谢。

答案是使用以下命令:

\renewcommand{\figurename}{Supplementary Figure}

要为前缀为“S”的标签编号,请使用: \\renewcommand{\\thepage}{S\\arabic{page}}
\\renewcommand{\\thesection}{S\\arabic{section}}
\\renewcommand{\\thetable}{S\\arabic{table}}
\\renewcommand{\\thefigure}{S\\arabic{figure}}

要修改标题开头使用的文本: \\renewcommand{\\figurename}{Supplemental Material, Figure}

资料来源: https//www.stat.berkeley.edu/~paciorek/computingTips/Customizing_numbering_pages.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM