3

How to get the Second header in odd number pages in ieeetran class..? Following the example code, I'm working around.

I should suppose to get "SKM: My IEEE article" on odd pages starting from 3, 5, 7,.....

Hope to hear from you soon.

Thanks in advance.

\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]
\lipsum[1-10]
\end{document}
3

By default, the IEEEtran article uses the oneside class option, meaning only the left header is used. To actually use \markboth, its as easy as calling twoside instead:

\documentclass[twoside]{IEEEtran}

Footnotes:

IMO, calling \markboth should default the class option to twoside, but I'm no class architect.

Source: reading the IEEEtran.cls file code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.