
すでにサブキャプションが付いている図があります。これにパッケージをhyperref
使用しています。subcaption
私は次のようなものを持っています
\documentclass{article}
\usepackage{subcaption}
\usepackage{hyperref}
\usepackage{graphicx}
\begin{document}
\autoref{Fig1a}, \autoref{Fig1b}, \autoref{Fig1c} and \autoref{Fig1d} are in \autoref{Fig1}
\begin{figure}[htb]
\centering
{
\includegraphics{example-image}
\phantomsubcaption\label{Fig1a}
\phantomsubcaption\label{Fig1b}
\phantomsubcaption\label{Fig1c}
\phantomsubcaption\label{Fig1d}
}
\caption{Image description:
\textbf{(a)}~figure 1a,
\textbf{(b)}~figure 1b,
\textbf{(c)}~figure 1c and
\textbf{(d)}~figure 1d
}
\label{Fig1}
\end{figure}
\end{document}
コンパイルすると完璧に動作します。しかし、同じ構造の他の文書では、なぜか図1a、図1b.... 私は項目 1a、項目 1b
何か助けて?