\documentclass[12pt,twoside]{article}
\usepackage[a4paper,headheight=4ex]{geometry}
\usepackage{times}
\usepackage{rotpages}
\usepackage{fancyhdr}

\title{\texttt{rotpages.sty} --- Multiple page rotation in \LaTeX\\
  Example file}
\author{Sergio Callegari}
\date{January 25th, 2002}

\fancyhead[LE]{\emph{rotpages.sty}}
\fancyhead[RO]{Multiple page rotation in \LaTeX}
\fancyfoot{}
\fancyfoot[L]{{\footnotesize Example file}}
\fancyfoot[R]{\thepage}


\begin{document}
\pagestyle{fancy}
\maketitle
\thispagestyle{empty}

This is the first page of the document. It is typeset normally.
To fill it a little, here we go with some blah-blah:

\bigskip
Blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah\dots

\dots and also blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah.

\bigskip
Note that the next page is upside down and so is the page right
after.

\rotboxpages This is the FIRST rotated page. Note that while
formatting the document, this page is \emph{deferred}, until all the
block of rotated pages is processed. In this way, this page is printed
as the last one of the block. However, if the printed work is read
upside down, this page correctly appears as the first of the block.

Obviously, also this page contains tons of:

\bigskip
Blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah\dots

\dots and also blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah.

\newpage
This is the SECOND rotated page.

Please, take a second to observe how the page content is rotated,
while the page headers and footers, comprising the page number, are
printed with the standard orientation.

Note also that in order to introduce a frame, the rotated pages are
slightly scaled. Remember that scaling works best if postscript fonts
are employed in the document.

After this informative bit, guess it is time for some more

\bigskip
Blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah\dots

\dots and also blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah.
\endrotboxpages 

And the normal behaviur of \LaTeX is back!
Exiting isn't it? So don't forget to tell your friends about this new
package! How?! Like this:

\bigskip
Blah-blah, blah-blah, blah-blah, rotpages.sty, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, page rotation, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, deferring, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, rearrangement, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah\dots

\dots and also blah-blah, blah-blah, headers and footers, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, blah-blah, blah-blah, blah-blah, blah-blah, blah-blah,
blah-blah, cool, ah?!
\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
