EPS 文件格式的子图标题与双栏论文中的图像不对齐

EPS 文件格式的子图标题与双栏论文中的图像不对齐

我在乳胶中无法使 EPS 图像对齐正常工作。首先,我的图形在 pdf 输出中旋转了 90 度。所以我使用“angle=90”旋转它们。但我使用的是两列布局,子图标题与列宽不对齐。这是我使用的代码:

\documentclass[10pt]{iopart}
\usepackage{graphicx}
\usepackage{float}
\usepackage{subcaption}
\usepackage[font=small,labelfont=bf]{caption}

\begin{document}
\begin{abstract}
\end{abstract}
\ioptwocol
\begin{figure}[]
\centering
        \begin{subfigure}[t!]{\textwidth}
                \includegraphics[width=0.32\textwidth,angle=90]{Im1.eps}
                \caption{}
                \label{}
        \end{subfigure}
         \begin{subfigure}[t!]{\textwidth}
                \includegraphics[width=0.32\textwidth,angle=90]{Im2.eps}
                \caption{}
                \label{}
        \end{subfigure}
\caption{Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.}
\label{fig:CT}
\end{figure}
\end{document}

我将不胜感激任何帮助。输出如下所示。请注意带圆圈的标题相对于列的位置。

答案1

\documentclass[10pt,twocolumn]{article}
\usepackage{graphicx}
\usepackage{float}
\usepackage{subcaption}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{epstopdf}
\usepackage{blindtext}

\begin{document}
\begin{abstract}
\end{abstract}
%\ioptwocol
%\blindtext[0]
\begin{figure}[h!]
\centering
        \begin{subfigure}[t!]{\columnwidth}% use \columnwidth instead of \textwidth
                \includegraphics[keepaspectratio=true, height=0.6\columnwidth,width=0.9\columnwidth,angle=0]{a.eps}
                \caption{}
                \label{}
        \end{subfigure}
         \begin{subfigure}[t!]{\columnwidth}
                \includegraphics[keepaspectratio=true, height=0.6\columnwidth,width=0.9\columnwidth,angle=0]{a.eps}
                \caption{}
                \label{}
        \end{subfigure}
\caption{Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.Here is the caption.}
\label{fig:CT}
\end{figure}
\end{document}

相关内容