![运行头 ieee 事务](https://linux22.com/image/389946/%E8%BF%90%E8%A1%8C%E5%A4%B4%20ieee%20%E4%BA%8B%E5%8A%A1.png)
我正在使用 overleaf 撰写 IEEE Transaction 论文。我遇到的问题与运行头有关。检查以下行:
\markboth{IEEE Transactions on Reliability}{Jia \MakeLowercase{\textit{et al.}}: A Novel Tin Can Link}
理想情况下,第一部分应出现在第一页,然后出现在偶数页的左上角,而第二部分应出现在奇数页的右上角。
在我的例子中,只显示第一部分,而且在每一页的右上角也显示。可能是什么问题?
我在用:
\documentclass[journal]{IEEEtran}
\usepackage{amsmath}
\usepackage{subcaption}
\captionsetup{justification=centering, labelsep=newline}
\usepackage{tabularx,booktabs}
\usepackage{booktabs}
\usepackage{lipsum}
\makeatletter
\renewcommand{\fnum@algorithm}{\fname@algorithm{} \thealgorithm:}
\makeatother
\usepackage{comment}
\usepackage{nomencl}
\makenomenclature
\usepackage{etoolbox}
\renewcommand\nomgroup[1]{%
\item[\bfseries
\ifstrequal{#1}{A}{Abbreviations}{%
\ifstrequal{#1}{B}{Notations}{}}%
]}
\hyphenation{op-tical net-works semi-conduc-tor}
\begin{document}
\title{Access Points Optimization}
\author{ Abc~def,~\IEEEmembership{Senior Member,~IEEE, }
hij, Qrs, ~\IEEEmembership{Member,~IEEE, } lmn op, ~\IEEEmembership{Member,~IEEE, } Yz wxy
% <-this % stops a space
\thanks{Manuscript received Month XX, 20XX; revised XX XX, 20XX.}
\thanks{This work was supported by the.}
\thanks{(Corresponding author: )}
\thanks{Authors are with the Research Center, School of .}}
\markboth{IEEE Transactions on Reliability}{Jia \MakeLowercase{\textit{et al.}}: A Novel Tin Can Link}
\maketitle
\begin{abstract}
\end{document}
答案1
这里有两个问题:
- 如果您必须向要求使用带选项的类别的期刊提交文章,
IEEEtran
则journal
不应更改该所需类别的给定布局。如果您的文章布局存在差异,您可以打印到期刊的布局,这是期刊的工作,需要准备您的文章以适应其布局——这是不是你的任务!如果你还没有提交文章,我不确定你是否可以使用这个类(检查许可证!)。最好使用另一个类... - 此命令
\maekboth{}{}
仅在您的文档双面打印时才有效。如果您使用 ,则不会提供此\documentclass[journal]{IEEEtran}
功能。如果您确实需要让它工作,您可以twoside
向 中添加选项\documentclass[journal,twoside]{IEEEtran}
。
请参阅以下更正后的 MWE(我只twoside
为此问题添加和删除了一些不需要的包和命令,还有双重调用的包booktabs
(不要这样做!)并更改了序言中包和命令的顺序):
\documentclass[journal,twoside]{IEEEtran} % <===========================
\usepackage{amsmath}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{lipsum}
\usepackage{nomencl}
\renewcommand\nomgroup[1]{%
\item[\bfseries
\ifstrequal{#1}{A}{Abbreviations}{%
\ifstrequal{#1}{B}{Notations}{}}%
]}
\hyphenation{op-tical net-works semi-conduc-tor}
\captionsetup{justification=centering, labelsep=newline}
\makenomenclature
\begin{document}
\title{Access Points Optimization}
\author{ Abc~def,~\IEEEmembership{Senior Member,~IEEE, }
hij, Qrs, ~\IEEEmembership{Member,~IEEE, } lmn op, ~\IEEEmembership{Member,~IEEE, } Yz wxy
% <-this % stops a space
\thanks{Manuscript received Month XX, 20XX; revised XX XX, 20XX.}
\thanks{This work was supported by the.}
\thanks{(Corresponding author: )}
\thanks{Authors are with the Research Center, School of .}}
\markboth{IEEE Transactions on Reliability}{Jia \MakeLowercase{\textit{et al.}}: A Novel Tin Can Link}
\maketitle
\begin{abstract}
abstract abstract abstract abstract abstract abstract abstract abstract
abstract abstract abstract abstract abstract abstract abstract abstract
\end{abstract}
\lipsum\lipsum\lipsum\lipsum
\end{document}
以及结果第 3 页: