[Tex/LaTex] How to bring the journal name at the top in IEEEtran

ieeetran

I am new to Latex. At the top of my paper, i want to bring the name of conference/journal. I don't know what should i call it..i have already tried to use header but header is something different.

i want to bring the top line ("JOURNAL OF LATEX CLASS FILES, VOL. 11, NO. 4, DECEMBER 2012") as shown in the image below: image.

Currently i am using the following code:

\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{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\\
skm@mail.com}
}
\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}

Best Answer

You need to use

\markboth{IEEE Transactions on \LaTeX}{Skm: My article name}

A full example (please you do the same for your future questions)

\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\\
skm@mail.com}
}
\markboth{IEEE Transactions on \LaTeX}{SKM: My IEEE article}

\begin{document}
\maketitle
\begin{abstract}
\lipsum[1]
\end{abstract}
\lipsum[1-10]
\end{document}

enter image description here