% \iffalse meta-comment
%
% Copyright (C) 1994-2002 Axel Sommerfeldt (devnull@sommerfeldt.net)
%
% This file is part of the rplain package.
% ----------------------------------------
%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.2
% of this license or (at your option) any later version.
% The latest version of this license is in
%    http://www.latex-project.org/lppl.txt
% and version 1.2 or later is part of all distributions of LaTeX 
% version 1999/12/01 or later.
%
% \fi
%
% \iffalse
%<*driver>
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\documentclass{ltxdoc}
\setlength{\parindent}{0pt}
\setlength{\parskip}{\smallskipamount}
\begin{document}
  \DocInput{rplain.dtx}
\end{document}
%</driver>
% \fi
%
% \newcommand*{\purerm}[1]{{\upshape\mdseries\rmfamily #1}}
% \newcommand*{\puresf}[1]{{\upshape\mdseries\sffamily #1}}
% \newcommand*{\purett}[1]{{\upshape\mdseries\ttfamily #1}}
%
% \def\packageversion{1.0a}
% \def\packagedate{2002/02/04}
% \changes{v1.0}{10 Oct 94}{First release}
% \changes{v1.0a}{4 Feb 02}{Warning added}
%
% \title{The \puresf{rplain} package\thanks{This package has version number
%        \packageversion, last revised \packagedate.}}
% \author{Axel Sommerfeldt\\\texttt{devnull@sommerfeldt.net}}
% \date{2002/02/04}
% \maketitle
%
% \begin{abstract}
% The \textsf{rplain} package redefines the `plain' pagestyle.
% The page numbers are now in the lower right corner instead of
% being centered, like in this onesided document. In twosided
% documents, the page numbers are in the lower left or right corner.
% \end{abstract}
%
% \section{The user interface}
% This package is obsolete. It was superseeded by the
% \textsf{fancyhdr} package~\cite{fancyhdr}
% and therefore is no longer supported.
% So please don't use \textsf{rplain}, just use \textsf{fancyhdr} instead:
%
% Type
% \begin{quote}
% |\usepackage{fancyhdr}|\\
% |\fancypagestyle{plain}{%|\\
% |  \fancyhf{} % clear all header and footer fields|\\
% |  \fancyfoot[LE,RO]{\thepage}|\\
% |  \renewcommand{\headrulewidth}{0pt}|\\
% |  \renewcommand{\footrulewidth}{0pt}}|\\
% |\pagestyle{plain}|
% \end{quote}
% in the preamble of your document.
% (See also section 7 ``Redefining \texttt{plain} style'' in \texttt{fancyhdr.pdf}.)
%
% \StopEventually{
%   \begin{thebibliography}{9}
%   \bibitem{fancyhdr}
%   Piet van Oostrum:
%   \textsl{Page layout in \LaTeX},
%   2000/10/11
%   \end{thebibliography}
% }
% \setlength{\parskip}{0pt plus 1pt}
%
% \CheckSum{28}
% \DoNotIndex{\@ifnextchar,\@ifundefined,\@namedef,\@nameuse}
% \DoNotIndex{\bgroup,\columnwidth,\csname,\def,\edef,\egroup,\else,\endcsname}
% \DoNotIndex{\empty,\expandafter,\fi,\global,\hfil,\ifx,\let,\newcommand,\noexpand}
% \DoNotIndex{\renewcommand,\rmfamily,\setbox,\textheight,\typeout,\undefined,\vbox}
% \DoNotIndex{\CurrentOption,\DeclareOption,\ExecuteOptions,\NeedsTeXFormat}
% \DoNotIndex{\PassOptionsToPackage,\ProcessOptions,\ProvidesPackage,\RequirePackage}
%
% \iffalse
%<*package>
% \fi
%
% \section{The code}
%
% \subsection{Identification}
%    \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{rplain}[2002/02/04 v1.0a rplain package (AS)]
\typeout{Package: rplain v1.0a <2002/02/04> (Axel Sommerfeldt)}
\PackageWarning{rplain}{%
  ``This package has been superseeded by the `fancyhdr' package
  and is no longer supported''}
%    \end{macrocode}
%
% \subsection{Main code}
% \begin{macro}{\ps@plain}
% This macro was taken from report.cls (LaTeX2e 94/06/01 patch level 3)
% and modified.
%    \begin{macrocode}
\renewcommand{\ps@plain}{%
   \let\@mkboth\@gobbletwo
   \let\@oddhead\@empty\let\@evenhead\@empty
   \def\@evenfoot{\reset@font\rmfamily\thepage\hfil}%
   \def\@oddfoot{\reset@font\rmfamily\hfil\thepage}}
%    \end{macrocode}
% \end{macro}
% Now we have to call |\pagestyle{plain}| (again), so that the above macro
% will be used.
%    \begin{macrocode}
\pagestyle{plain}
%    \end{macrocode}
%
% \iffalse
%</package>
% \fi
%
% \Finale
%
\endinput
