PDF
1LaTeX(2)ContentsFigure .......................................................................................... 1 .......................................................................................... 1使subfig使subfloat使subcaptionFigure使\usepackage{graphicx} % graphicx\begin{figure}[h!] \includegraphics[width=\linewidth]{src/1.jpg} \caption{} \label{fig:virus}\end{figure}begin{figure}[h]h!h!float使H\usepackage{float}\begin{figure}[H] 2使subfigsubfigure\usepackage{subfig}\begin{figure} \centering \subfloat[]{ \includegraphics[width=0.4\linewidth, height=80pt]{src/3.jpg} } \subfloat[]{ \includegraphics[width=0.4\linewidth, height=80pt]{src/4.jpg} } \caption{} \label{fig:qg}\end{figure}使subfloat\begin{subfigures}\begin{figure} \centering \fbox{ \includegraphics[width=0.4\linewidth, height=80pt]{src/3.jpg} } \caption{}\end{figure}\begin{figure} \centering \fbox{ \includegraphics[width=0.4\linewidth, height=80pt]{src/4.jpg} } \caption{}\end{figure}\end{subfigures}使subcaption使subcaption\usepackage{caption}\usepackage{subcaption} \begin{figure}\centering 3\subcaptionbox{}{ \includegraphics[width=0.40\textwidth, height=80pt]{src/3.jpg}}\hfill\subcaptionbox{}{ \includegraphics[width=0.40\textwidth, height=80pt]{src/4.jpg}}\caption{}\end{figure}\hfill

HTML view coming soon.

Download PDF for the full formatted version.