作者biglion (我愛美人魚)
看板LaTeX
標題[問題] 無法在圖片上使用 \ref 跟 \label
時間Tue Jun 5 22:49:57 2007
我想在文章中參照圖片
我是這樣打的
\begin{figure}\label{spinfig2}
\includegraphics{simpro2.eps}
\caption{This picture shows the projection of the spin on the eigenstate.}
\end{figure}
然後在文章中打 \ref{spinfig2} 但是卻一直無法顯示正確的圖片編號
只有顯示這是在第幾章 @@"
請教各位高手 應該如何正確參照圖片呢?
感激不盡
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.218.138
推 kkhi:「Fig 的放置與編號」 的系列文章應可解決^^ 06/05 22:52
推 biglion:我看了那系列的文章 不過跟我的情況不太一樣耶 @@a 06/05 22:59
推 albyu:\label 命令要放在 \caption 後面 06/05 23:03
推 biglion:大感謝樓上兩位的指導 終於成功了 (淚推) 06/05 23:05
推 kcheng:\label{} 放在 caption 的括號裡面 12/03 12:08