%% Document class for the MathInd Bulletin %% (c) 2002, Apostolos Syropoulos apostolo@ocean1.ee.duth.gr %% It works only with LaTeX2e % \NeedsTeXFormat{LaTeX2e} % \ProvidesClass{bmi} [2002/04/01 v1.0 Document class for the MathInd Bulletin] \typeout{*****************************************************************} \typeout{European MathInd Network} \typeout{Document class for the MathInd Bulletin} \typeout{(c) 2002, Apostolos Syropoulos} \typeout{*****************************************************************} % % Currently, there are no supported options % We load the article document class with the options: twoside, a4paper % and draft. Moreover, we require the times package, as we want to % typeset out document with the times fonts. % \LoadClass[a4paper]{article} % \RequirePackage{palatcm} %% Palatino fonts with Computer Modern Math fonts % %MACRO FOR RUNNINGHEAD %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\runninghead#1#2{\pagestyle{myheadings} \markboth{{\protect\footnotesize\it{\quad #1}}\hfill} {\hfill{\protect\footnotesize\it{#2\quad}}}} \headsep=15pt % \RequirePackage{theorem} %% To define various environments \newsavebox{\proofbox} \savebox{\proofbox}{% \begin{picture}(7,7)\put(0,0){\framebox(7,7){}}\end{picture}% } \newenvironment{proof}{% \list{}{\leftmargin0pt \rightmargin\leftmargin}% \item[]{\hspace*{1em}\it Proof.\ }% } {\hspace*{\fill}{\usebox{\proofbox}}\endlist} \newenvironment{example}{% \list{}{\leftmargin0pt \rightmargin\leftmargin}% \item[]{\hspace*{1em}\it Example.\ }% } {\hspace*{\fill}$\diamondsuit$\endlist} \newtheorem{proposition}{Proposition}[section] \newtheorem{theorem}{Theorem}[section] \newtheorem{corollary}{Corollary}[section] \newtheorem{lemma}{Lemma}[section] {\theorembodyfont{\rmfamily} \newtheorem{definition}{Definition}[section]} {\theorembodyfont{\rmfamily} \newtheorem{remark}{Remark}[section]} % %\RequirePackage{geometry} % if the bulletin will be published in a %\geometry{ } % conventional way we may need to setup the % % physical page dimensions. % \newcommand{\copyrightheading}[1] {\vspace*{-2.5cm}\smalllineskip{\flushleft {\footnotesize MathInd Bulletin #1\hfil\copyright\ Mathematics in Industry Network} }} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% The following piece of code is a slightly modified %%%%% %%% excerpt from the code used in th TUGboat document class %%%%% %%% file. Original author is Robin Fairbains %%%%% %%% Used with permission %%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \providecommand{\@bmiclass}{bmi} \def\BMIInfo{\ClassInfo{\@bmiclass}} \def\BMIError{\ClassError{\@bmiclass}} \def\BMIWarning{\ClassWarning{\@bmiclass}} \def\makeactive#1{\catcode`#1=13 } \def\makecomment#1{\catcode`#1=14 } \def\makespace #1{\catcode`#1=10 } \def\theauthor#1{\csname theauthor#1\endcsname} \def\theaddress#1{\csname theaddress#1\endcsname} \def\theemail#1{\csname theemail#1\endcsname} \def\thePersonalURL#1{\csname thePersonalURL#1\endcsname} %\newdimen\PreTitleDrop \PreTitleDrop=\z@ \edef\allowhyphens{\noexpand\hyphenpenalty\the\hyphenpenalty\relax \noexpand\exhyphenpenalty\the\exhyphenpenalty\relax} \def\@defaultauthorlist{% \count@\authornumber \advance\count@ by -2 \@tempcnta0 \loop \ifnum\count@>0 \advance\@tempcnta by \@ne \theauthor{\number\@tempcnta}\unskip, \advance\count@ by \m@ne \repeat \count@\authornumber \advance\count@ by -\@tempcnta \ifnum\authornumber>0 \ifnum\count@>1 \count@\authornumber \advance\count@ by \m@ne \ignorespaces\theauthor{\number\count@}\unskip\ and \fi \ignorespaces\theauthor{\number\authornumber}\unskip \fi } \def\signature#1{\def\@signature{#1}} \def\@signature{\@defaultsignature} \def\@defaultsignature{% \let\thanks\@gobble \count@=0% \loop \ifnum\count@<\authornumber \medskip \advance\count@ by \@ne \begin{tabular}{l} \signaturemark \theauthor{\number\count@}\\ \theaddress{\number\count@}\\ \theemail{\number\count@}\\ \end{tabular} \ifodd\count@\else\expandafter\vskip\medskipamount\fi \repeat } % \def\@@@makesignature{% \par \medskip \rm\small\@signature } \def\signaturemark{\leavevmode\llap{$\diamond$\enspace}} \newcount\authornumber \authornumber=0 \def\author#1{% \global\advance\authornumber\@ne \expandafter\def\csname theauthor\number\authornumber\endcsname {\ignorespaces#1\unskip}% \expandafter\def\csname theaddress\number\authornumber\endcsname {\BMIWarning{Address for #1\space missing}\@gobble}% \expandafter\def\csname email\number\authornumber\endcsname {\BMIWarning{Email address for #1\space missing}\@gobble}% } \def\address#1{% \expandafter\def\csname theaddress\number\authornumber\endcsname {\leavevmode\ignorespaces#1\unskip}} \def\network#1{\def\@network{#1: }} \newcommand\email[1][\relax]{% \begingroup \def\@network{}% #1\@sanitize\makespace\ \makeactive\@ \makeactive\.\makeactive\%\@relay@netaddress}% \def\@relay@netaddress#1{% \ProtectNetChars \expandafter\protected@xdef \csname thenetaddress\number\authornumber\endcsname {\protect\leavevmode\textrm{\@network}% {\protect\NetAddrChars\net \ignorespaces#1\unskip}}% \endgroup } \begingroup \makecomment\* \makeactive\@ \gdef\netaddrat{\makeactive\@* \def@{\discretionary{\char"40}{}{\char"40}}} \makeactive\% \gdef\netaddrpercent{\makeactive\%* \def%{\discretionary{\char"25}{}{\char"25}}} \makeactive\. \gdef\netaddrdot{\makeactive\.* \def.{\discretionary{\char"2E}{}{\char"2E}}} \gdef\NetAddrChars{\netaddrat \netaddrpercent \netaddrdot} \makeactive\/ \gdef\URLchars{* \NetAddrChars \makeactive\/* \def/{\discretionary{\char"2F}{}{\char"2F}}} \gdef\ProtectNetChars{* \def@{\protect@}* \def%{\protect%}* \def.{\protect.}* \def/{\protect/}* } \endgroup % \DeclareOldFontCommand{\net}{\ttfamily\upshape\mdseries}{\mathtt} % \def\authorlist#1{\def\@author{#1}} \def\@author{\@defaultauthorlist} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Code by Robin Fairbains ends here %%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\AtEndDocument{\@@@makesignature} % % % **************************************** % * Maketitle command * % **************************************** \renewcommand\maketitle{\par \begingroup \setcounter{footnote}{0} \def\thefootnote{\fnsymbol{footnote}} \@maketitle \@thanks \thispagestyle{plain} \endgroup \setcounter{footnote}{0} } % \def\@maketitle{% \vspace*{0.75truein} \def\thanks##1{} \begin{center}% {\large\bfseries \MakeUppercase{\@title} \par}% \vskip 3.0em% {\large\scshape \lineskip .5em% %\begin{tabular}[t]{c}% \@author %\end{tabular} \par}% \vskip 1em% {\@received \@revised}% \end{center}% \par \vskip 1.5em} % \def\received#1{\gdef\@received{\small\itshape Received #1}} \def\revised#1{\gdef\@revised{\small\itshape, Revised #1}} \global\let\@received\@empty \global\let\@revised\@empty % \AtEndDocument{\@@@makesignature}