
저는 몇 가지 그림이 포함된 문서를 작성 중입니다. 각 그림에는 하나의 레이블이 있으며 참조를 사용하고 있습니다. 사용된 모든 그림은 그림 목록에 표시되지만 텍스트에서 참조할 때는 표시되지 않습니다. 그렇게 하면 "...그림과 같이 ??"가 인쇄됩니다.
예는 다음과 같습니다:
GPS coordinates look like in Figure~\ref{fig:coord}.
\begin{figure}[h]
\centering
\includegraphics{/img/coord.png}
\caption{GPS coordinates representation}
\label{coord}
\end{figure}
여기서 문제는 어디에 있습니까?
답변1
귀하의 라벨은 coord
이지만 을(를) 통해 참조합니다 fig:coord
. 둘 다 동일해야 합니다.
또한 최소한의 예를 제공하는 것이 항상 좋은 습관입니다.
\documentclass{article}
\begin{document}
GPS coordinates look like in Figure~\ref{fig:coord}.
\begin{figure}[h]
\centering
% \includegraphics{/img/coord.png}
\caption{GPS coordinates representation}
\label{fig:coord}
\end{figure}
\end{document}