我想将我的图形(png 文件)放置在与所附图像(picture2.jpg)相同的位置。您能帮我纠正我的 LATEX 代码以生成该图像吗?提前致谢
\begin{figure*}
\centering
\subfloat[]{\includegraphics[width=0.30\textwidth]{VED5.png}}
\qquad
\subfloat[]{\includegraphics[width=0.30\textwidth]{VED16.png}}
\\
\subfloat[]{\includegraphics[width=0.30\textwidth]{HED5.png}}
\qquad
\subfloat[]{\includegraphics[width=0.30\textwidth]{HED16.png}}
\\
\subfloat[]{\includegraphics[width=0.30\textwidth]{RE5.png}}
\qquad
\subfloat[]{\includegraphics[width=0.30\textwidth]{RE16.png}}
\caption{The} \label{results}
\end{figure*}
答案1
如果您希望将数字对齐在一列中,则只需稍微更改代码即可。
\documentclass{article}
\usepackage{graphicx}
\usepackage{subfig}
\begin{document}
\begin{figure}[htb]
\centering
\subfloat{\includegraphics[width=0.30\textwidth]{example-image}}
\\
\subfloat{\includegraphics[width=0.30\textwidth]{example-image}}
\\
\subfloat{\includegraphics[width=0.30\textwidth]{example-image}}
\\
\subfloat{\includegraphics[width=0.30\textwidth]{example-image}}
\\
\subfloat{\includegraphics[width=0.30\textwidth]{example-image}}
\\
\subfloat{\includegraphics[width=0.30\textwidth]{example-image}}
\caption{The} \label{results}
\end{figure}
\end{document}