
\def\fileversion{v2.1b}
\def\filedate{89/10/28}
\def\docdate {89/09/19}

%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%%
% \iffalse
%
% Substyle option `theorem-plain' for
% style option `theorem' v.2... to use with LaTeX v2.09
% Copyright (C) 1989,1990 Frank Mittelbach, all rights reserved.
%
% Copying of this file is authorized only if either
% (1) you make absolutely no changes to your copy, including name, or
% (2) if you do make changes, you name it something other than
%     thp.doc.
% Distribution of this file (make it available to other people)
% is allowed if and only if all files mentioned in readme.mz2 are
% distributed together.
% This restriction helps ensure that all styles developed at Mainz
% are identical.
%
%
% Error reports for UNCHANGED versions please to:
%
%                          F. Mittelbach
%                          Eichenweg 29
%                          D-6500 Mainz 1
%                          Federal Republic of Germany
%                 Bitnet:  <PZF5HZ@DRUEDS2>
%

%
%
% \fi
% \changes{v1.1b}{87/10/08}{Point after theorem number removed.}
%
% \changes{v1.2a}{88/01/08}{Definition of `@endtheorem' removed.
%                            See theorem.sty}
% \changes{v2.0a}{88/11/25}{New implementation to reflect changes
%                            in theorem.sty v2.0a}
% \changes{v2.0b}{89/01/30}{Unkown change.}
% \changes{v2.0c}{89/07/19}{Spaces in `typeout' added.}
% \changes{v2.1a}{89/09/18}{`theorem@headerfont introduced.}
% \changes{v2.1b}{89/10/28}{`typeout moved after `makeatletter.}
%
%
% \label{dok:th@plain} As the following macros use \verb+@+, we have
% to locally set the \verb+\catcode+ of this symbol to ``letter''.
% This happens within a group, so that we do not have to worry about
% which \verb+\catcode+ that symbol had before.
%    \begin{macrocode}
\begingroup \makeatletter
%    \end{macrocode}
% Since we are now within a group, we must make all definitions
% globally.  First we make sure that {\tt theorem.sty} is loaded.
% This will allow us to use this file as a document style option
% without having to call {\tt theorem} itself as an option.  At the
% same time, we assure that at least version 2 is loaded, since
% \verb+\theorem@style+ was not defined in earlier versions.
%    \begin{macrocode}
\@ifundefined{theorem@style}{\input{theorem.sty}}{}
%    \end{macrocode}
% This style option is stored in the file \verb+thp.sty+.  First, we
% show the version\footnote{This file has version number
% \fileversion, last revised \filedate, documentation dated \docdate.}
% of this file:
%    \begin{macrocode}
\typeout{Style option: `theorem-plain' \fileversion \space\space
         <\filedate>  (FMi)}
\typeout{English documentation \@spaces\@spaces\@spaces\space\space
         \space <\docdate>  (FMi)}
%    \end{macrocode}
%
%
% \begin{macro}{\th@plain}
% \begin{macro}{\@begintheorem}
% \begin{macro}{\@opargbegintheorem}
%    \verb+\theoremstyle{plain}+ corresponds to the original
%    definition, except that the distances to the surrounding text are
%    determined by the parameters \verb+\theorempreskipamount+ and
%    \verb+\theorempostskipamount+.
%    First we set the default body font.
%    \begin{macrocode}
\gdef\th@plain{\it
%    \end{macrocode}
%    Then we define \verb+\@begintheorem+ and
%    \verb+\@opargbegintheorem+. These two macros define how the
%    header of a theorem is typeset.  \verb+\@opargbegintheorem+ will
%    be called if a {\sf theorem} environment with an optional
%    argument is encountered; otherwise, the header is constructed by
%    calling \verb+\@begintheorem+.  If one of these macros is
%    executed, we are within a {\sf trivlist} environment started by
%    \verb+\@thm+.  So the theorem header is produced with an
%    \verb+\item+ command.
%
%    Instead of specifying the header font directly, all standard
%    theorem styles use the \verb+\theorem@headerfont+ macro to allow
%    customization.  The extra space (\verb+\labelsep+) is necessary
%    because of problems in the {\sf trivlist} environment.
%    \begin{macrocode}
  \def\@begintheorem##1##2{%
        \item[\hskip\labelsep \theorem@headerfont ##1\ ##2]}%
%    \end{macrocode}
%    The definition of \verb+\@opargbegintheorem+ is completely
%    analogous. The only difference is the fact that there exists a
%    third argument (which is the optional parameter of the
%    environment and contains additional information about the
%    theorem).  Customarily we enclose it in parentheses.
%    \begin{macrocode}
\def\@opargbegintheorem##1##2##3{%
   \item[\hskip\labelsep \theorem@headerfont ##1\ ##2\ (##3)]}}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \noindent 
% We conclude with an \verb+\endgroup+ to restore the
% \verb+\catcode+ of \verb+@+.
%    \begin{macrocode}
\endgroup
%    \end{macrocode}
%

\endinput


