[Tex/LaTex] How to add the copyright notice at the left of the footer on the first page and add the conference name at the center of the Header

fancyhdr

\maketitle
\thispagestyle{fancy} 
\chead[H]{2016 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM)}
\lfoot{IEEE/ACM ASONAM 2016, August 18-21\\2016, San Francisco, CA,     USA\\
978-1-5090-2846-7/16/\$~\copyright~2016 IEEE}
\renewcommand{\headrulewidth}{0pt}

How to add the copyright notice at the left of the footer on the first page and add the conference name at the center of the Header in IEEE two columns format? What's wrong with my method? I want to add the footer only at the first page and add the header at every page, but I always failed. If I do it according to traditional method, the footer appears in every page!

Best Answer

When using fancyhdr to set up footer and headers of your pages, you can create pagestyles that can easily be switched between in your documents. I have here created two page styles. You can name them whatever you like, in this example, I have used "FirstPage", and "AllPages".

Set up a pagestyle like this:

\fancypagestyle{pageStyleName}{\chead{whatever}…other commands}

These are created in the preamble, and to set the default one, use \pagestyle{AllPages}, in the preamble. Now every page uses this style. To change the style, you can at any time in your document change it for a single page using \thispagestyle{FirstPage}, or set it for all the following pages with the command\pagestyle{pageStyleName}.

If you are using two-sided printing, you probably want different headers and footers on odd and even pages. This can be done using commands like \fancyfoot[LE,RO]{\thepage}, which will set the page number on the outer part of the footer. (L)eft side (E)ven page, (R)ight side (O)dd page.

All this is explained in the documentation, which I encourage you to skim through.

Note that you can always locate the documentation using the command-line/terminal by writing texdoc fancyhdr, and that works for any package. The documentation is also available at http://ctan.org/pkg/fancyhdr

It might sound tedious to look up the documentation for various small problems/features, but the package documentations tend to be well-written and easy to browse. Also, it will at the same time help you to understand how LaTeX works.

Output

enter image description here

Code

\documentclass{article}
\usepackage{fancyhdr}
\title{Some title}
\author{John Doe}

\renewcommand{\headrulewidth}{0pt}
\fancypagestyle{AllPages}{
\chead{2016 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM)}
}
\fancypagestyle{FirstPage}{
\chead{2016 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM)}
\lfoot{IEEE/ACM ASONAM 2016, August 18-21\\2016, San Francisco, CA,     USA\\
978-1-5090-2846-7/16/\$~\copyright~2016 IEEE}
}

\chead{2016 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM)}

\pagestyle{AllPages} % This sets the page style for every pages
\usepackage{lipsum} %Example text
\begin{document}
\maketitle
\thispagestyle{FirstPage} % This sets the page style for only this page

\lipsum
\end{document}