Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在LaTeX中为图形标题添加前缀?_Latex_Tex_Typesetting_Mathematical Typesetting - Fatal编程技术网

在LaTeX中为图形标题添加前缀?

在LaTeX中为图形标题添加前缀?,latex,tex,typesetting,mathematical-typesetting,Latex,Tex,Typesetting,Mathematical Typesetting,如何更改LaTeX中所有图形的标题以包含前缀?例如,使所有图形显示为“补充图1”、“补充图2”。。。而不是“图1”,“图2” 谢谢。答案是使用以下命令: \renewcommand{\figurename}{Supplementary Figure} 要使用前缀“S”为标签编号,请使用: \renewcommand{\thepage}{S\阿拉伯语{page} \renewcommand{\thesection}{S\阿拉伯语{section}} \renewcommand{\thetable

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


谢谢。

答案是使用以下命令:

\renewcommand{\figurename}{Supplementary Figure}

要使用前缀“S”为标签编号,请使用:
\renewcommand{\thepage}{S\阿拉伯语{page}

\renewcommand{\thesection}{S\阿拉伯语{section}}

\renewcommand{\thetable}{S\阿拉伯语{table}}

\renewcommand{\thefigure}{S\阿拉伯语{figure}}

要修改标题开头使用的文本,请执行以下操作:
\renewcommand{\figurename}{补充资料,图}

资料来源: