0

I am using two packages to deal with the footer: standard letter document class (def) and (fancyhdr).

I want that the copyright has to be only on the first page on the right side, and the page number is starting from 11 on the lift side. Now the result was that the copyright was on the first page, but the number was starting from the second page. tried using fancy both were starting from the first page to the last page.

Is there a way to create that ?


\documentclass[conference]{IEEEtran}
\usepackage{cite}
\usepackage{mathtools}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{fancyhdr,lipsum} % fancy package
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
{\lstset{basicstyle=\scriptsize,xleftmargin=.04\textwidth,#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%FooterLift
\makeatletter
\def\ps@IEEEtitlepagestyle{ % Standard Letter Document Class package 
    \def\@oddfoot{\mycopyrightnotice}
}
\def\mycopyrightnotice{
    {\footnotesize xxxxx~\copyright2019 IEEE\hfill}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%FooterRight
\pagestyle{fancy}
\fancyhf{}
\fancyhead{} % clear all header fields
\fancyfoot{} % clear all footer fields
\setcounter{page}{11}
\fancyfoot[RO,LE]{\thepage}
\fancyfoot[LO,CE]{xxxxx~\copyright2019 IEEE}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

% \thispagestyle{firstPage}% 
\begin{document}
\begin{abstract}
LaTeX is a high-quality typesetting system
\end{abstract}
\end{document}
  • Class option [conference] turns off all headers and footers. – John Kormylo Jul 16 '19 at 16:20
  • Dr.Amod did you find the solution to this problem, I am also facing this issue. – Jaydeep singh Jan 15 at 10:57
0

I assume you are setting up a conference template. Otherwise, don't do this.

\documentclass[conference]{IEEEtran}
\usepackage{cite}
\usepackage{mathtools}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{fancyhdr,lipsum} % fancy package
%\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
%T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
%{\lstset{basicstyle=\scriptsize,xleftmargin=.04\textwidth,#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%FooterLift
\makeatletter
\def\ps@headings{% default to standard twoside headers, no footers
% will change later if the mode requires otherwise
\let\@oddhead\@empty
\let\@evenhead\@empty
\def\@oddfoot{\@IEEEheaderstyle\hfil\thepage}%
\def\@evenfoot{\@IEEEheaderstyle\thepage\hfil\hbox{}}% not used, oneside
}
\def\ps@IEEEtitlepagestyle{% default title page headers, no footers
\let\@oddhead\@empty
\let\@evenhead\@empty
\def\@oddfoot{\footnotesize xxxxx~\copyright2019 IEEE\hfill\thepage}%
\let\@evenfoot\@empty
}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%FooterRight

\pagestyle{headings}
\setcounter{page}{11}
\thispagestyle{IEEEtitlepagestyle}
\begin{document}

\begin{abstract}
LaTeX is a high-quality typesetting system
\end{abstract}

\lipsum[1-30]
\end{document}
| improve this answer | |
  • I tried that it shows me the page number on the right of the header, how can the page number be on the right of the footer. – sh -x Jul 16 '19 at 17:40
  • Sorry, IEEE normally puts the page number in the headers. – John Kormylo Jul 17 '19 at 13:07
  • Yes I agree but the conference wants it on the footer which is annoying! – sh -x Jul 17 '19 at 18:38

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.