IEEE格式latex文件编译错误

IEEE格式latex文件编译错误

所以我正在编写基于 IEEE 格式的 latex 代码,该格式不支持 jpeg 或 Png 选项,我上传了 eps 格式的文件。之前只有一张图片时编译正常,但在添加 4 张图片后现在显示编译错误。我正在使用 Overleaf。 这里

\documentclass[]{IEEEphot}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[leqno]{amsmath}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}

\begin{document}

\title{My title}

\author{The authors}

\maketitle

\begin{abstract}
 
\end{abstract}

\begin{IEEEkeywords}
Some keywords
\end{IEEEkeywords}

\section{Introduction}

A beautilful introduction

\section{Some title}

Some text

\begin{center}
    \includegraphics[height=6cm, width=7.5cm]{image2_w.eps}\\
    \caption{A nice caption}
\end{center}

Some more text

\begin{center}
    \includegraphics[height=7cm, width=7.5cm]{Screenshot (32).eps}\\
    \caption{Figure 2: PWE method algorithm }\\
    \includegraphics[height=7cm, width=7.5cm]{Screenshot (42).eps}\\
    \caption{Figure 3: RCWA method algorithm }
\end{center}

\section{Yet another title}

And still more text

\section{Results}

And again

\begin{figure}[h!]
    \includegraphics[width=.24\textwidth]{bndsqr.eps}\hfill
    \includegraphics[width=.24\textwidth]{efieldMoneptfive.eps}\hfil
    \\[\smallskipamount]
    \includegraphics[width=.24\textwidth]{efieldtauoneptfive.eps}\hfill
    \includegraphics[width=.24\textwidth]{efieldXoneptfive.eps}
    \\[\smallskipamount]

    Now, we have plotted the transmission vs wavelength plot for three different radii (R = 0.25a, 0.3a, and 0.35a) and for five different refractive indices (n = 1,1.33,1.4,1.5,1.6). 
    The graphs are given below,
    \\
    From these graphs, we have noted the points for resonance by taking into account all of the refractive indices. From the information on these points, we have plotted the wavelength vs refractive index plot.
    The graph is shown below,

    \caption{Some images}\label{fig:foobar}
\end{figure}

Final text

\end{document}

相关内容