如何修复 IEEEtrans 格式的图像定位?

如何修复 IEEEtrans 格式的图像定位?

在此处输入图片描述在此处输入图片描述 有人能帮助我定位项目描述中的图像吗?

答案1

请尝试以下操作:

\documentclass{ieeetran}
\usepackage[demo]{graphicx}
\usepackage{stfloats} % for positioning of figure* on the same page
\usepackage{tabularx}
\usepackage{subcaption}

%---------------- show page layout. don't use in a real document!
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.15pt}
\renewcommand*\ShowFrameColor{\color{red}}
%---------------------------------------------------------------%
\usepackage{lipsum}

\begin{document}
\section{Introduction}
\lipsum[1]
\begin{figure*}[b]
  \setkeys{Gin}{width=0.9\linewidth}
\begin{subfigure}{0.2\linewidth}\centering
    \includegraphics{T1.png}
\caption{First subfigure}
\end{subfigure}%
\begin{subfigure}{0.2\linewidth}\centering
    \includegraphics{T2.png}
\caption{Second subfigure}
\end{subfigure}%
\begin{subfigure}{0.2\linewidth}\centering
    \includegraphics{T3.png}
\caption{Third subfigure}
\end{subfigure}%
\begin{subfigure}{0.2\linewidth}\centering
    \includegraphics{T4.png}
\caption{Fourth subfigure}
\end{subfigure}%
\begin{subfigure}{0.2\linewidth}\centering
    \includegraphics{T5.png}
\caption{Fifth subfigure}
\end{subfigure}
\caption{Input Images}
\end{figure*}
\lipsum
\end{document}

(这是对你上一个问题的后续回答。实际上它也涵盖了这个问题)

在此处输入图片描述

相关内容