我想将已接受的 IEEE 论文上传到 arxiv,因此我必须在标题页上手动插入版权声明。我已经找到了一些问题(例如,1,2) 如何在论文上放置 IEEE 版权声明。虽然可以将版权声明放在标题页底部,并附上链接的答案,但标题也奇迹般地从“期刊名称”更改为“作者姓名:论文标题”(第二个参数而不是第一个参数\markboth
)。
产生描述结果的示例代码:
%!TEX program = pdflatex
\documentclass[twoside]{IEEEtran}
\makeatletter
% uncomment the following part to see a changing header
%\def\ps@IEEEtitlepagestyle{%
% \def\@oddfoot{\mycopyrightnotice}%
% \def\@evenfoot{}%
%}
\def\mycopyrightnotice{%
\begin{minipage}{\textwidth}
\centering \scriptsize
Copyright~\copyright~20xx IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including\\reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works by sending a request to [email protected].
\end{minipage}
}
\makeatother
\begin{document}
\title{A Title}
\author{An Author}
\markboth{IEEE Transactions}%
{An Author: A Title}
\maketitle
\end{document}
答案1
在写这个问题时,我想到只需在设置\@oddhead
自定义的位置添加一个\@oddfoot
。这可行,但这不是最好的解决方案,因为它需要手动复制 的第一个参数\markboth
。
编辑:查找的定义IEEEtran.cls
,很容易只需复制的定义\@oddhead
即可避免提到的手动复制的参数\markboth
。
\makeatletter
\def\ps@IEEEtitlepagestyle{%
\def\@oddfoot{\mycopyrightnotice}%
\def\@oddhead{\hbox{}\@IEEEheaderstyle\leftmark\hfil\thepage}\relax
\def\@evenhead{\@IEEEheaderstyle\thepage\hfil\leftmark\hbox{}}\relax
\def\@evenfoot{}%
}
\def\mycopyrightnotice{%
\begin{minipage}{\textwidth}
\centering \scriptsize
Copyright~\copyright~20xx IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including\\reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works by sending a request to [email protected].
\end{minipage}
}
\makeatother