% Macro file for Electronic Notes in Discrete Mathematics.
% Adopted from document-style for journals published by Elsevier.
%
% Version: 1.01
% Date:    11 November 2004
%
% Copyright (C) 2004. All rights reserved.
%
% 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.
%
% 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 the files mentioned in "README.FIRST".
%
% If you receive only some of these files from someone, complain!

\headheight 10pt
\headsep 20pt
\footskip 20pt
\setlength{\topmargin}{60pt}
\setlength{\textheight}{20cm}

\def\labelenumi{\rm\normalshape (\theenumi)}     
\def\labelenumii{\rm\normalshape (\theenumii)}

\font\eightrm=cmr8 scaled\magstep1
\font\eightbf=cmbx8 scaled\magstep1
\font\eighttt=cmtt8 scaled\magstep1
\font\eightit=cmsl10
\font\sixrm=cmr6 scaled\magstep1
\font\bfone=cmbx10 scaled\magstep2
\font\smc=cmcsc10 scaled\magstep1
\font\sc=cmcsc10 

\def\date{\ifcase\month\or January\or February \or March\or April\or May
\or June\or July\or August\or September\or October\or November
\or December\fi\space\number\day, \number\year}

\volume{NN}
\def\volu{NN}
\journal{Electronic Notes in Discrete Mathematics}
\def\jour{Electronic Notes in Discrete Mathematics}
\def\vol{NN}

\def\rightheadline{\firstheadline}
\def\leftheadline{\rightheadline}

\def\firstheadline{}
\def\firstfootline{}

\pagestyle{empty}

% The next lines give definitions for the theorem environments.
% Each is viewed as a theorem environment in the sense of LaTeX.
% Their names are: "Theorem", "Proposition", "Lemma", "Corollary",
% "Criterion", "Definition", "Conjecture", "Example", "Problem",
% "Remark", "Summary" and "Acknowledgement". Also included within
% endm.cls are the environments "Note", "Claim" and "Case" under
% their own names and the environment "Algorithm" under the name
% 'alg'; for this use \begin{alg} text \end{alg}.
% Type \begin{name} text \end{name} as usual for environments in
% LaTeX. The environment name is numbered within section, i.e.
% the first 'Name' in Section 1 is numbered 'Name 1.1'.

\newenvironment{theorem}{\vspace{-\lastskip}\par\addvspace{.6pc plus
    .2pc minus .1pc}\begin{thm}}{\end{thm}\par\addvspace{.6pc plus
    .2pc minus .1pc}}
\newenvironment{lemma}{\vspace{-\lastskip}\par\addvspace{.6pc plus
    .2pc minus .1pc}\begin{lem}}{\end{lem}\par\addvspace{.6pc plus
    .2pc minus .1pc}}
\newenvironment{corollary}{\vspace{-\lastskip}\par \addvspace{.6pc
    plus .2pc minus .1pc}\begin{cor}}{\end{cor}\par\addvspace{.6pc
    plus .2pc minus .1pc}}
\newenvironment{proposition}{\vspace{-\lastskip}\par \addvspace{.6pc
    plus .2pc minus .1pc}\begin{prop}}{\end{prop}\par\addvspace{.6pc
    plus .2pc minus .1pc}}
\newenvironment{criterion}{\vspace{-\lastskip}\par \addvspace{.6pc
    plus .2pc minus .1pc} \begin{crit}}{\end{crit}\par\addvspace{.6pc
    plus .2pc minus .1pc}}
\newenvironment{definition}{\vspace{-\lastskip}\par \addvspace{.6pc
    plus .2pc minus .1pc}\begin{defn}\rm}{\end{defn}\par\addvspace{.6pc
    plus .2pc minus .1pc}}
\newenvironment{conjecture}{\vspace{-\lastskip}\par \addvspace{.6pc
    plus .2pc minus .1pc}\begin{conj}}{\end{conj}\par\addvspace{.6pc
    plus .2pc minus .1pc}}
\newenvironment{example}{\vspace{-\lastskip}\par \addvspace{.6pc plus
    .2pc minus .1pc}\begin{exmp}\rm}{\end{exmp}\par\addvspace{.6pc
    plus .2pc minus .1pc}}
\newenvironment{problem}{\vspace{-\lastskip}\par \addvspace{.6pc plus
    .2pc minus .1pc}\begin{prob}}{\end{prob}\par\addvspace{.6pc plus
    .2pc minus .1pc}}
\newenvironment{remark}{\vspace{-\lastskip}\par \addvspace{.6pc plus
    .2pc minus .1pc}\begin{rem}\rm}{\end{rem}\par\addvspace{.6pc plus
    .2pc minus .1pc}}
\newenvironment{summary}{\vspace{-\lastskip}\par \addvspace{.6pc plus
    .2pc minus .1pc}\begin{summ}}{\end{summ}\par\addvspace{.6pc plus
    .2pc minus .1pc}}
\newenvironment{acknowledgement}{\vspace{-\lastskip}\par\addvspace{.6pc
    plus .2pc minus .1pc}\begin{ack}}{\end{ack}\par\addvspace{.6pc
    plus .2pc minus .1pc}}
%\newenvironment{exercise}{\begin{trivlist}\item[\hskip\labelsep{\bf Exercise.}]}
%    {\end{trivlist}}


%% The environment \begin{proof} ... \end{proof} produces an
%% end-of-proof sign.

\newenvironment{proof}{\begin{pf}}{\qed\end{pf}}

%% The environment \begin{proof*} ... \end{proof*} supports adding
%% information such as 'Proof (Sketch)' as the label for the proof.

\newenvironment{proof*}{\begin{pf*}}{\qed\end{pf*}}

%% END OF 'endmmacro.sty' %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
