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
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}
\documentclass
and\begin
environments? Also, you can highlight other users by placing@
in front of their user name AND at the beginning of a comment.