提问于:
浏览数:
1719
## 编译环境
操作系统
* [x ] Windows 7/8/10
* [ ] macOS
* [ ] Linux
`若需勾选,请把[ ]改成[x]`
Tex发行版
* [ x] TexLive `年份`
* [ ] MikTeX `版本号`
* [ ] CTeX
`若需勾选,请把[ ]改成[x]`
## 我的问题
如何把Figure 1.1变成Figure 2?
```
\documentclass{article}
\usepackage[pdftex]{graphicx}\usepackage{color}
\usepackage{bm,amsfonts,amssymb,amsmath,float}\usepackage{sectsty}
\usepackage[section]{placeins}
\begin{document}
\section{Numerical Experiments} \label{SectionExample}
As indicated by Figure \ref{FigRobust}. \par
\begin{figure}[H] \label{FigRobust}
\centering
\includegraphics[width=4in]{trest.png}
\caption{Figure pq}
\end{figure}
\subsection{Robustness with outliers}
As indicated by Figure \ref{FigRobust2}. \par
\begin{figure}[H] \label{FigRobust2}
\centering
\includegraphics[width=4in]{trest.png}
\caption{Figure lo}
\end{figure}
\end{document}
```