IEEE RAL Final Submission 页眉格式(Latex)

 具体要求是这样的:

 The proper headers (with page numbers) are required:
-The header on the first page, second page, and subsequent even-numbered pages
        should read: IEEE ROBOTICS AND AUTOMATION LETTERS. PREPRINT VERSION.         ACCEPTED
        MONTH, YEAR [Provide the month and year in which you are submitting your final
        version]
-The header on the third page and subsequent odd-numbered pages should read:
        FIRSTAUTHORSURNAME et al.: SHORTTITLE

 实现代码:

\documentclass[lettersize,journal]{IEEEtran}
\usepackage{lipsum} % 仅用于生成示例文本
\usepackage{fancyhdr}
\usepackage{ifthen}

\pagestyle{fancy}
\fancyhf{} % 清除所有页眉和页脚字段

\renewcommand{\headrulewidth}{0pt} % 取消页眉线
\renewcommand{\footrulewidth}{0pt} % 取消页脚线

\fancyhead[LE,RO]{%
  \ifthenelse{\value{page}=1}{%
    \fontsize{6.97}{}\selectfont IEEE ROBOTICS AND AUTOMATION LETTERS. PREPRINT VERSION. ACCEPTED
MONTH, YEAR \hfill \thepage%
  }{%
    \ifthenelse{\value{page}=2}{%
      \fontsize{6.97}{}\selectfont \thepage \hfill IEEE ROBOTICS AND AUTOMATION LETTERS. PREPRINT VERSION. ACCEPTED
MONTH, YEAR%
    }{%
      \ifthenelse{\isodd{\value{page}}}{%
        \fontsize{6.97}{}\selectfont FIRSTAUTHORSURNAME \textit{et al}.: SHORTTITLE \hfill \thepage%
      }{%
        \fontsize{6.97}{}\selectfont \thepage \hfill IEEE ROBOTICS AND AUTOMATION LETTERS. PREPRINT VERSION. ACCEPTED
MONTH, YEAR%
      }%
    }%
  }%
}


\begin{document}

\title{Your title}

\author{Michael~Shell,~\IEEEmembership{Member,~IEEE,}
        John~Doe,~\IEEEmembership{Fellow,~OSA,}
        and~Jane~Doe,~\IEEEmembership{Life~Fellow,~IEEE}% <-this % stops a space
\thanks{
    Manuscript received: Month Day, Year; Revised: Month Day, Year; Accepted: Month Day, Year.}
\thanks{
    This paper was recommended for publication by
    Editor FirstName A. EditorName upon evaluation of the Associate Editor and Reviewers’ comments.}
\thanks{
    This work is supported ...}
\thanks{
    M. Shell is with the Department of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta, GA, 30332 USA e-mail: (see http://www.michaelshell.org/contact.html).}
\thanks{
    Digital Object Identifier (DOI): see top of this page.}
}

\maketitle

% !!! 这个很重要,不然第一页没有页眉
% !!! 这个很重要,不然第一页没有页眉
% !!! 这个很重要,不然第一页没有页眉
\thispagestyle{fancy}

\lipsum[1-60] % 生成20段示例文本
\end{document}

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值