看板LaTeX
標 題有關於圖表編號 (Numbering of tables)
發信站(null) (Fri Jan 25 09:39:55 2013)
轉信站ptt!news.ntu!ctuews.n!news.nctu!stanfordtanford.edu!ld4no1119548pbb.0!
There is a better way
\usepackage[demo]{graphicx}
\setcounter{chapter}{3} % For chapter 3 figures
\setcounter{figure}{0}
\begin{figure}[!hbt]
\centering
\includegraphics[width=0.3\textwidth,height=2cm]{fig1}
\caption{Test 1}
\label{test 1}
\end{figure}
\begin{figure}[!hbt]
\centering
\includegraphics[width=0.3\textwidth,height=2cm]{fig2}
\caption{Test 2}
\label{test 2}
\end{figure}
\setcounter{chapter}{4} % For chapter 4 figures
\setcounter{figure}{0}
\begin{figure}[!hbt]
\centering
\includegraphics[width=0.3\textwidth,height=2cm]{fig3}
\caption{Test 3}
\label{test 3}
\end{figure}
\begin{figure}[!hbt]
\centering
\includegraphics[width=0.3\textwidth,height=2cm]{fig4}
\caption{Test 4}
\label{test 4}
\end{figure}
\setcounter{chapter}{1} % set chapter back to normal