\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{bncc}
         [2005/07/07 v1.1 The NCC Bulletin Class (NCC)]
%
\DeclareOption{a5paper}{\OptionNotUsed}
\DeclareOption{a5a4paper}{\OptionNotUsed}
\DeclareOption{b5paper}{\OptionNotUsed}
\DeclareOption{letterpaper}{\OptionNotUsed}
\DeclareOption{legalpaper}{\OptionNotUsed}
\DeclareOption{executivepaper}{\OptionNotUsed}
\DeclareOption{landscape}{\OptionNotUsed}
\DeclareOption{fittopage}{\OptionNotUsed}
\DeclareOption{10pt}{\OptionNotUsed}
\DeclareOption{12pt}{\OptionNotUsed}
\DeclareOption{14pt}{\OptionNotUsed}
\DeclareOption{oneside}{\OptionNotUsed}
\DeclareOption{twocolumn}{\OptionNotUsed}
\DeclareOption{openbib}{\OptionNotUsed}
\DeclareOption{preprint}{\OptionNotUsed}
\DeclareOption{book}{\OptionNotUsed}
\DeclareOption{report}{\OptionNotUsed}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ncc}}
\PassOptionsToClass{11pt,twoside,onecolumn,article,a4paper}{ncc}
\PassOptionsToPackage{small}{ncclatex}
%
% The following command loads information on series of the bulletin:
%
% \BNCC{name}{issue}{year}
%
% The first parameter specifies a name of series definition file
% composed with the 'bncc' prefix and the '.def' syffix.
% For example, \Series{na}{15}{2004} means reading the bnccna.def
% file and setting the issue number to 15 and the yaer to 2004.
% In series definition file the \setseries command must be applied
% to specify a series of the bulletin.
\newcommand\BNCC[3]{%
  \@openrighttrue
  \InputIfFileExists{bncc#1.def}{}{}%
  \setissue{#2}\setyear{#3}%
}
\@onlypreamble\BNCC
%
% The \BNCC@hook command is applied when special BNCC pages are produced
%
\def\BNCC@hook{}
\@onlypreamble\BNCC@hook
\def\BNCC@bulletin{Bull.\,Nov.\,Comp.\,Center}
%
\ProcessOptions\relax
\LoadClass{ncc}
\RequirePackage[title,myheadings]{ncchdr}
%
% Define an article mark
%
\def\NCC@articlehead{\thispageheading{\small\rm
 {\it \BNCC@bulletin}, \theseries, \theissue\,(\theyear),
 \thepage--\pageref{NCC@lastpage}\\[-0.5ex]
 \small\rm\copyright\, \theyear\, NCC Publisher}}
%
% Border
%
\newcommand\border{\usepackage{ncccropmark}%
  \watermark{\cropmark[h]{10mm}{10mm}{10mm}{10mm}{10mm}}}
\@onlypreamble\border
%
% Defaults
%
\renewcommand{\headrulewidth}{.6\p@}
\renewcommand{\headstrutheight}{.25\normalbaselineskip}
\endinput
