% \iffalse meta-comment
%
% Copyright (C) 1989-1992 by Frank Mittelbach.  All rights reserved.
% 
% This file is part of the multicol package.
% 
% IMPORTANT NOTICE:
% 
% You are not allowed to change this file.  You may however copy this
% file to a file with a different name and then change the copy if you
% obey the restrictions on file changes described in readme.mz.
% 
% You are NOT ALLOWED to distribute this file alone.  You are NOT
% ALLOWED to take money for the distribution or use of this file (or a
% changed version) except for a nominal charge for copying etc.
% 
% You are allowed to distribute this file under the condition that it is
% distributed together with all files mentioned in readme.mz2.
% 
% If you receive only some of these files from someone, complain!
% 
% However, if these files are distributed by established suppliers as
% part of a complete TeX distribution, and the structure of the
% distribution would make it difficult to distribute the whole set of
% files, *those parties* are allowed to distribute only some of the
% files provided that it is made clear that the user will get a complete
% distribution-set upon request to that supplier (not me).  Notice that
% this permission is not granted to the end user.
% 
% 
% For error reports in case of UNCHANGED versions see readme.mz
% 
% 
% \fi

\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-1992 Frank Mittelbach, all rights reserved.
%
%
% Error reports for UNCHANGED versions see readme
%
% \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


