我一直想为论文中的图片添加标题,例如“图 1”、“图 2”等。但标题前面却出现了“图 1.1”之类的字样。有人能解释一下吗?
更新:这是一个例子:
begin{figure}[h]
\includegraphics[width=10cm, height=6cm]{wang_fa}
\centering
\caption {Figure 6. Different RF pulses’ effect on tip angle (\emph {flip angle, FA}) calibration. [i8]}
\end{figure}
我得到的是:“图 2.3。图 3...”
答案1
让我详细说明一下上述评论:
\documentclass{article}
\usepackage{graphicx}
\usepackage[font=small,
labelfont=bf]{caption}
\begin{document}
Figure produced with your code fragment;
\begin{figure}[h]
\includegraphics[width=6cm, height=5.4cm]{example-image-duck}%{wang_fa}{wang_fa}
\centering
\caption {Figure 6. Different RF pulses’ effect on tip angle (\emph {flip angle, FA}) calibration. [i8]}
\end{figure}
Figure produced with proposed correction of your code fragment;
\begin{figure}[ht]
\centering
\includegraphics[width=6cm, height=5.4cm]{example-image-duck}%{wang_fa}
\caption {Different RF pulses’ effect on tip angle (\emph {flip angle, FA}) calibration. [i8]}
\end{figure}
\end{document}