% \iffalse meta-comment
%
% This is file `rplain.dtx'.
%
% Copyright (C) 1994-2006 Axel Sommerfeldt (caption@sommerfee.de)
% 
% --------------------------------------------------------------------------
% 
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% 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.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
% 
% This work has the LPPL maintenance status "maintained".
% 
% This Current Maintainer of this work is Axel Sommerfeldt.
% 
% This work consists of the files rplain.ins, rplain.dtx
% and the derived file rplain.sty.
%
% \fi
% \CheckSum{27}
%
% \iffalse
%<*driver>
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\documentclass{ltxdoc}
\setlength{\parindent}{0pt}
\setlength{\parskip}{\smallskipamount}
%
\ifx\pdfoutput\undefined\else
  \ifcase\pdfoutput\else
    \usepackage{mathptmx,courier}
    \usepackage[scaled=0.90]{helvet}
    \addtolength\marginparwidth{15pt}
  \fi
\fi
%
\usepackage{rplain}
\usepackage{hyperref}
%
%<+driver>\OnlyDescription
%
\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}}
% \let\package\puresf\def\thispackage{\package{rplain}}
% \let\env\purett \let\opt\purett
%
% \changes{v1.0}{1994/10/10}{First release}
% \changes{v1.0a}{2002/02/04}{`Obsolete' warning added}
% \changes{v1.0b}{2006/01/29}{\cs{typeout} message removed}
%
% \GetFileInfo{rplain.sty}
% \title{The \thispackage\ package\thanks{This package has version number
%        \fileversion, last revised \filedate.}}
% \author{Axel Sommerfeldt\\\href{mailto:caption@sommerfee.de}{\texttt{caption@sommerfee.de}}}
% \date{2006/01/29}
% \maketitle
%
% \begin{abstract}
% The \thispackage\ package redefines the \texttt{plain} pagestyle.
% The page numbers are now in the lower right corner instead of
% being centered, like in this one-sided document. In two-sided
% documents, the page numbers are in the lower left or right corner.
% \end{abstract}
%
% \section*{This package is obsolete!}
% This package was superseeded by the \package{fancyhdr} package~\cite{fancyhdr}
% and therefore is no longer supported.
% So please don't use \thispackage, just use \package{fancyhdr} instead:
%
% \section{The user interface}
% 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}
% }
%
% \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}
%
% \clearpage
% \setlength{\parskip}{0pt plus 1pt}
%
% \iffalse
%<*package>
% \fi
%
% \section{The Implementation}
%
% \subsection{Identification}
%    \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{rplain}[2006/01/29 v1.0b rplain package (AS)]
\PackageWarning{rplain}{%
  This package has been superseeded by the `fancyhdr' package}
%    \end{macrocode}
%
% \subsection{Main code}
% \begin{macro}{\ps@plain}
% This macro was taken from |report.cls| (\LaTeXe\ 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