First add the subfigure macro package in the introduction area.
\usepackage{subfigure}
Suppose I want to arrange three images as three sub-images to solve the problem of cross-page arrangement of images, then use the following code:
\begin{figure}[h]
\addtocounter{figure}{-1} %%%%%%%%%note1
\centering
\subfigure{
\begin{minipage}[t]{1\linewidth}%%%%%%%%%note2
\includegraphics[width=0.9\linewidth]{Index}%%%%%%%%%note3
\caption{Image 1 Name}
\label{0}
\end{minipage}%
}%
%%%%%%%%%note4
\subfigure{
\begin{minipage}[t]{1\linewidth}
\includegraphics[width=0.9\linewidth]{Index}
\caption{Image 2 Name}
\label{1}
\end{minipage}%
}%
\subfigure{
\begin{minipage}[t]{1\linewidth}
\includegraphics[width=0.9\linewidth]{Index}
\caption{Image Name}
\label{2}
\end{minipage}
}%
\centering
\end{figure}
Description:
Note 1: Note that you need to subtract 1 from the image label manually when using a subfigure, because the larger image composed of three subfigures is also involved in counting. Note 2: This controls the width of each subgraph. For example, if you want to put 4 graphs in a row, set this to 0.25\linewidth. Note 3: This controls the size of each subgraph. Note 4: Note that this line (there may be several pictures) has been arranged, move to the next line.
Read More:
- There will be row spacing problems in algorithm use in latex. Please use the ‘setstretch {1.35}
- How to use latex argmin argmax subscript
- How to use Latex to Write Matrices
- How to empty a whole line in latex (simple and effective)
- How to Fix errors in Chinese input of latex
- Latex: How to Set text Center
- How to Use spatial in MAC
- How to use JavaScript in HTML
- How to use dangerously set inner HTML in react
- How to use higher version of OpenGL SDK in windows?
- How to solve oserror: [errno 98] address already in use and kill the python3 process
- How to use scanner to accept char type characters in Java
- The @ Autowired annotation in springboot is invalid in ordinary classes. How to solve and use the null pointer exception java.lang.nullpointerexception
- Latex macro package and latex error: file ‘xxx. Sty’ not found
- Several common methods of inserting pictures into latex documents
- How to use it RegAsm.exe Register C in a development / production environment#/ VB.NET Developed DLL
- In many cases, the problem of error reporting by label in latex
- Add a new page in latex
- How to Use the Reverse() Function
- LaTeX Error: Can be used only in preamble