请提供下载链接(或上传压缩包)并提供用于对比的示例文件。如有可能,提供IEEE关于标题的字体规范文件。
对比两份.cls
文件,发现字号大小有细微调整
同时逆向检索\maketitle
命令的行为我们可以发现,其内部命令\@maketitle
在IEEEtran.cls
中定义如下:
% Line 4802 around
\def\@maketitle{\newpage
\bgroup\par\vskip\IEEEtitletopspace\vskip\IEEEtitletopspaceextra\centering%
\ifCLASSOPTIONtechnote% technotes, V1.8a abstract and index terms are not treated differently for compsoc technotes
{\bfseries\large\@IEEEcompsoconly{\Large\sffamily}\@title\par}\vskip 1.3em{\lineskip .5em\@IEEEcompsoconly{\large\sffamily}\@author
\@IEEEspecialpapernotice\par}\relax
\else% not a technote
\vskip0.2em{\Huge\ifCLASSOPTIONtransmag\bfseries\LARGE\fi\@IEEEcompsoconly{\sffamily}\@IEEEcompsocconfonly{\normalfont\normalsize\vskip 2\@IEEEnormalsizeunitybaselineskip
\bfseries\Large}\@IEEEcompsocnotconfonly{\vskip 0.75\@IEEEnormalsizeunitybaselineskip}\@title\par}\relax
\@IEEEcompsocnotconfonly{\vskip 0.5\@IEEEnormalsizeunitybaselineskip}\vskip1.0em\par%
% V1.6 handle \author differently if in conference mode
\ifCLASSOPTIONconference%
{\@IEEEspecialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace%
\mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par}\relax
\else% peerreviewca, peerreview or journal
\ifCLASSOPTIONpeerreviewca
% peerreviewca handles author names just like conference mode
{\@IEEEcompsoconly{\sffamily}\@IEEEspecialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace%
\mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par
{\@IEEEcompsoconly{\vskip 1.5em\relax
\@IEEEtitleabstractindextextbox{\@IEEEtitleabstractindextext}\par\noindent\hfill
\IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax
\else% journal, peerreview or transmag
\ifCLASSOPTIONtransmag
% transmag also handles author names just like conference mode
% it also uses \@IEEEtitleabstractindextex, but with one line less
% space above, and one more below
{\@IEEEspecialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace%
\mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par
{\vspace{0.5\baselineskip}\relax\@IEEEtitleabstractindextextbox{\@IEEEtitleabstractindextext}\vspace{-1\baselineskip}\par}}\relax
\else% journal or peerreview
{\lineskip.5em\@IEEEcompsoconly{\sffamily}\sublargesize\@author\@IEEEspecialpapernotice\par
{\@IEEEcompsoconly{\vskip 1.5em\relax
\@IEEEtitleabstractindextextbox{\@IEEEtitleabstractindextext}\par\noindent\hfill
\IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax
\fi
\fi
\fi
\fi\par\addvspace{0.5\baselineskip}\egroup}
其中使用了\Large
,\LARGE
和\Huge
来设置\@title
的字号。这也许是差异的来源(因为这一堆code我也看不懂)。
Happy IEEETran-TeXing!
问 IEEE模板下论文标题字体不对