latex: 改变图的caption Figure 1:为 Fig. 1.
2017-09-26 12:08
337 查看
参考:How to change Figure 1: to bold Fig.1. in latex
问题:当论文中使用\documentclass[twoside]{article}环境排版图时,图的标题默认显示方式为Figure 1:,现在需要把它变为Fig. 1.的样子,如何做呢?
方法:
1.只需要在begin{document}后面加上captionsetup即可
1
具体示例如下:
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
运行后的效果为Fig. 1.的样子。
2.另一种角度是在文档开头加入下面代码,但达不到上述效果,效果为Fig. 1:,如果是IEEEconf环境,那么可以达到Fig. 1.的效果。
问题:当论文中使用\documentclass[twoside]{article}环境排版图时,图的标题默认显示方式为Figure 1:,现在需要把它变为Fig. 1.的样子,如何做呢?
方法:
1.只需要在begin{document}后面加上captionsetup即可
\captionsetup[figure]{labelfont={bf},name={Fig.},labelsep=period}1
1
具体示例如下:
\documentclass{article} \usepackage{graphicx} \usepackage{caption} \begin{document} \listoffigures \captionsetup[figure]{labelfont={bf},labelformat={default},labelsep=period,name={Fig.}} \begin{figure}[t] \centering % \includegraphics[width=\linewidth]{beeduck} \includegraphics[scale=1]{beeduck} \caption{MRI format.} \label{fig:1} \end{figure} \end{document}1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
运行后的效果为Fig. 1.的样子。
2.另一种角度是在文档开头加入下面代码,但达不到上述效果,效果为Fig. 1:,如果是IEEEconf环境,那么可以达到Fig. 1.的效果。
\documentclass[twoside]{article} \renewcommand{\figurename}{Fig.} % 加入的代码
相关文章推荐
- latex: 改变图的caption Figure 1:为 Fig. 1.
- latex: 改变图的caption Figure 1:为 Fig. 1.
- html5--2.9新的布局元素(6)-figure/figcaption
- H5新标签 <figcaption> 定义图文并茂的html5新标签-figure、figcaption
- latex figure \label 放在\caption 后
- html系列教程--embed fieldset legend figure figurecaption
- Latex: insert sub-figure in IEEE conference
- matlab 使用一个figure窗口打开多个fig文件
- latex 图表 figure and table 混排
- latex中修改源文件编译之后内容仍然不改变的bug
- latex的beamer幻灯片中对插入的图形Figure编号
- Latex: position of figure in double column paper
- 在程序中动态改变static text控件的caption值
- Latex并列图形(不是subfigure)的画法,用到figure和minipage
- latex subfigure
- LaTeX Error: File `subfigure.sty' not found.
- latex: 在article文档环境(multicols)中, 使用begin{figure}无法显示的问题
- LaTeX - 如何在图片说明(caption)中使用脚注(footnote)
- GEF控件大小改变,figure不改变
- latex /figure /label 序号 /ref /label 序号 不一致