IEEEtran 中的页眉和页脚

IEEEtran 中的页眉和页脚

如何以 IEEEtranconference格式执行此操作:

在论文首页添加页眉,如会议名称
在论文首页添加页脚,注意
在论文其余页面上添加页脚,SCEECS

答案1

在没有 MWE 的情况下,我释放了我的想象力 ;)

\documentclass[conference]{IEEEtran}

\usepackage{fancyhdr}
\usepackage{kantlipsum}


\fancyhf{}
\fancyfoot[C]{SCEES}    %%% change C to L or R as needed
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

\fancypagestyle{plain}{
  \fancyhf{}
  \fancyhead[C]{Conference on \LaTeX}     %% C or L or R.
  \fancyfoot[L]{This is a notice}%                        %% C or L or R.
  \renewcommand{\footrulewidth}{0pt} 
  \renewcommand{\headrulewidth}{0pt}
}
\usepackage{eso-pic}

\begin{document}
\AddToShipoutPictureBG*{%
  \AtPageUpperLeft{%
    \setlength\unitlength{1in}%
    \hspace*{\dimexpr0.5\paperwidth\relax}%%  change \dimexpr0.5\paperwidth\relax appropriately
    \makebox(0,-0.75)[c]{\Large Conference on \LaTeX}%
}}
\AddToShipoutPictureBG*{%
  \AtPageLowerLeft{%
    \setlength\unitlength{1in}%
    \hspace*{\dimexpr0.5\paperwidth\relax}%%  change \dimexpr0.5\paperwidth\relax appropriately
    \makebox(0,0.75)[c]{\Large Notice}%
}}
% paper title
\title{Bare Demo of IEEEtran.cls for Conferences}


\author{\authorblockN{Michael Shell}
\authorblockA{School of Electrical and\\Computer Engineering\\
Georgia Institute of Technology\\
Atlanta, Georgia 30332--0250\\
Email: [email protected]}
\and
\authorblockN{Homer Simpson}
\authorblockA{Twentieth Century Fox\\
Springfield, USA\\
Email: [email protected]}
\and
\authorblockN{James Kirk\\ and Montgomery Scott}
\authorblockA{Starfleet Academy\\
San Francisco, California 96678-2391\\
Telephone: (800) 555--1212\\
Fax: (888) 555--1212}}

\maketitle

\begin{abstract}
\kant[1]
\end{abstract}

\IEEEpeerreviewmaketitle

\pagestyle{fancy}
\kant[1-40]


\end{document}

在此处输入图片描述

**与lipsumtikz:*8

\documentclass[conference]{IEEEtran}

\usepackage{fancyhdr}
\usepackage{lipsum}


\fancyhf{}
\fancyfoot[C]{SCEES}    %%% change C to L or R as needed
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

\fancypagestyle{plain}{
  \fancyhf{}
  \fancyhead[C]{Conference on \LaTeX}     %% C or L or R.
  \fancyfoot[L]{This is a notice}%                        %% C or L or R.
  \renewcommand{\footrulewidth}{0pt}
  \renewcommand{\headrulewidth}{0pt}
}
\usepackage{tikz}
\usetikzlibrary{calc}

\begin{document}
% paper title
\title{Bare Demo of IEEEtran.cls for Conferences}


\author{\authorblockN{Michael Shell}
\authorblockA{School of Electrical and\\Computer Engineering\\
Georgia Institute of Technology\\
Atlanta, Georgia 30332--0250\\
Email: [email protected]}
\and
\authorblockN{Homer Simpson}
\authorblockA{Twentieth Century Fox\\
Springfield, USA\\
Email: [email protected]}
\and
\authorblockN{James Kirk\\ and Montgomery Scott}
\authorblockA{Starfleet Academy\\
San Francisco, California 96678-2391\\
Telephone: (800) 555--1212\\
Fax: (888) 555--1212}}

\maketitle
\begin{tikzpicture}[remember picture, overlay]
\node at ($(current page.north) + (0,-0.5in)$) {\Large Conference on \LaTeX};
\node at ($(current page.south) + (0,0.65in)$) {\Large Notice};
\end{tikzpicture}

\begin{abstract}
\lipsum[1]
\end{abstract}

\IEEEpeerreviewmaketitle

\pagestyle{fancy}
\lipsum[1-40]


\end{document}

相关内容