我似乎找不到图号问题的答案。我使用的是 subcaption 包,这应该是图 1a 和图 1b,但整个图在 pdf 中被标记为图 2,我可以通过引用来解决这个问题,但它仍然会将后续图移到错误的编号,例如第二个图现在是图 3,有人能看出我做错了什么吗?
\documentclass[fleqn,usenatbib,useAMS]{mnras}
% according to the author-year natbib style
\usepackage{natbib}
%
\usepackage{ragged2e}
%
\usepackage{graphicx}
\usepackage{color}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{txfonts}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{subfig}
\usepackage{wrapfig}
\usepackage{subcaption}
\usepackage{cleveref}
\begin{document}
\begin{figure*}
\centering
\begin{minipage}[t]{0.5\textwidth}
\centering
\includegraphics[height=4.6in]{HR_nonrot.png}
\subcaption{models without rotation}
\label{fig:HRDnrot}
\end{minipage}%
\begin{minipage}[t]{0.5\textwidth}
\centering
\includegraphics[height=4.6in]{HR_rot.png}
\subcaption{models with rotation at v$_{\mathrm{ini}}$=0.4v$_{\mathrm{crit}}$ (red solid lines)}
\label{fig:HRDrot}
\end{minipage}
\caption{
Evolutionary tracks of models in the mass range $9\msun \leq \mini \leq 120\msun$ until the end of He-burning. Key evolutionary stages are indicated.}
\end{figure*}
\end{document}