Re: [問題] subfig的圖的標號沒辦法正確顯示
\usepackage{subfigure}
\begin{figure}[ht]
\subfigure[][Transmission Structure in Hard Sensing\label{fig:TxHard}]
{\includegraphics[width=0.5\textwidth,angle=0]{fig/One/TxModelHard.eps}}
\subfigure[][Transmission Structure in Soft Sensing\label{fig:TxSoft}]
{\includegraphics[width=0.5\textwidth,angle=0]{fig/One/TxModelSoft.eps}}
\caption{Transmission Structure\label{fig:Tx}}
\end{figure}
我是習慣把\label{***}放在caption裡面,
因為figure和table的計數器機制,是在caption出現的時候啟動,
所以\label放在caption裡面最保險。
之後
\ref{fig:Tx} x
\ref{fig:TxHard} x(a)
\ref{fig:TxSoft} x(b)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.33.236.100
※ 編輯: rogerli 來自: 114.33.236.100 (06/10 20:49)
推
06/11 00:47, , 1F
06/11 00:47, 1F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章