如何在 IEEEtrans.cls 的所有页面上添加页脚?

如何在 IEEEtrans.cls 的所有页面上添加页脚?

我的问题是这个解决方案[1]添加了一个页脚仅限标题页IEEEtrans 论文。我想将其添加到所有页面

有人可以帮忙吗?

参考文献 [1]IEEEtran:如何在底部中心添加多行版权页脚

答案1

您必须定义第一页的脚注以及后续页面的样式。

A

\documentclass[conference]{IEEEtran}    

\usepackage{kantlipsum} % ONLY for dummy text ! 

%********************* added <<<<<<<<<<<<<<<<<<<<<<
\makeatletter
%%%%%%%%% from https://tex.stackexchange.com/a/200330/161015
\def\ps@IEEEtitlepagestyle{% works only for the first page
    \def\@oddfoot{\customfootnote}%
    \def\@evenfoot{}%
}
\makeatother

\newcommand{\customfootnote}{\footnotesize 978-1-7381-4484-9/23/\$31.00 \copyright2023 IEEE \hfill}% define /edit here <<<<<<<<<<<<<<<

\usepackage{fancyhdr}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancypagestyle{GlobalFootnote}{%
    \lfoot{\customfootnote} 
}
\pagestyle{GlobalFootnote} % style for following pages

%*********************

\begin{document}
    
    \title{Title here}
    
    \begin{author}
        \author{\author{\IEEEauthorblockN{Simon Dispa\IEEEauthorrefmark{1}, A A\IEEEauthorrefmark{1}, F K\IEEEauthorrefmark{1},  R P\IEEEauthorrefmark{1} and S H\IEEEauthorrefmark{2}} \IEEEauthorblockA{\IEEEauthorrefmark{1}School of Computing, Engineering and Information Sciences, .\\ Email: \{**, **, **i, **\}@dept.comk \IEEEauthorblockA{\IEEEauthorrefmark{2}Department of Computer Science and Engineering, ***\\ Email: **@gmail.com}}}}
    \end{author}

    \maketitle
    
    \author{\IEEEauthorblockN{FK\IEEEauthorrefmark{1}, AA\IEEEauthorrefmark{1}, FF\IEEEauthorrefmark{1},  Ri\IEEEauthorrefmark{1} and Sd\IEEEauthorrefmark{2}} \IEEEauthorblockA{\IEEEauthorrefmark{1}School of Computing, Engineering and Information Sciences**.\\ Email: \{**, **, **, **\}@*** \IEEEauthorblockA{\IEEEauthorrefmark{2}Department of Computer Science and Engineering, ***\\ Email: ***}}}
    
    \begin{abstract}
    \kant[1]
    \end{abstract}
    
    \section{Introduction}
    \kant[2-4]
    
    \section{Proposed Method}
    \kant[5-8]
    
    \section{Conclusion}
    \kant[9-12] 

\end{document}

相关内容