我是 Latex 新手。我想在论文顶部加上会议/期刊的名称。我不知道该怎么称呼它。我已经尝试过使用,header
但标题是不同的。
我想把顶线(“LATEX CLASS FILES 杂志”,第 11 卷,第 4 期,2012 年 12 月”),如下图所示:。
目前我正在使用以下代码:
\documentclass[12pt,conference]{IEEEtran}
\usepackage{lipsum}
\usepackage{fancyhdr} %used for header
\pagestyle{fancy} %also used for header
\usepackage{cite}
\usepackage[cmex10]{amsmath}
\usepackage{graphicx}
\usepackage[caption=false,font=footnotesize]{subfig}
\usepackage{url}
\usepackage{url}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage[all,graph]{xy}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{array}
\usepackage{comment}
\title{Affect of Motion Direction}
\author
{\IEEEauthorblockN{SKM}
\IEEEauthorblockA{Faculty of Electrical Engineering\\
University of XYZ\\
[email protected]}
}
\markboth{IEEE Transactions on \LaTeX}{SKM: My IEEE article}
\begin{document}
\maketitle
\input{abstract}
\begin{keywords}
Attention shift, Eye movement, Spatial attention.
\end{keywords}
\input{introduction}
\section{REVIEW OF EXISTING MATERIAL}
\input{exp_method}
\section{EXPERIMENTAL RESULTS}
\section{GENERAL DISCUSSION}
\bibliography{refer.bib}
\bibliographystyle{plain}
\end{document}
答案1
你需要使用
\markboth{IEEE Transactions on \LaTeX}{Skm: My article name}
一个完整的例子(请你在以后的问题中也这么做)
\documentclass{IEEEtran}
\usepackage{lipsum}
\usepackage{cite,graphicx,amssymb,amsfonts,booktabs,multirow,array,comment}
\usepackage[cmex10]{amsmath}
\usepackage[caption=false,font=footnotesize]{subfig}
\usepackage[all,graph]{xy}
\title{Affect of Motion Direction}
\author
{\IEEEauthorblockN{SKM}
\IEEEauthorblockA{Faculty of Electrical Engineering\\
University of XYZ\\
[email protected]}
}
\markboth{IEEE Transactions on \LaTeX}{SKM: My IEEE article}
\begin{document}
\maketitle
\begin{abstract}
\lipsum[1]
\end{abstract}
\lipsum[1-10]
\end{document}