\def\ps@qmc{%
  \def\@oddhead{\hss{\em\thetitle}%
    \hss\hbox to 0pt{\hss\thepage}}%
  \def\@evenhead{\hbox to 0pt{\thepage\hss}%
    \hss{\em\theauthor}\hss}%
  \def\@oddfoot{\hss}%
  \def\@evenfoot{\hss}%
}
\def\ps@plain{%
  \def\@oddhead{\hss\thepage}%
  \def\@evenhead{\thepage\hss}%
  \def\@oddfoot{\hss}%
  \def\@evenfoot{\hss}%
}
%
\gdef\thetitle{}
\gdef\theauthor{}
%
\def\title#1{\gdef\@title{#1}\gdef\thetitle{#1}}
\def\@title{\@latex@error{No \noexpand\title given}\@ehc}
\def\author#1{\gdef\@author{#1}\gdef\theauthor{#1}}
\def\@author{\@latex@warning@no@line{No \noexpand\author given}}
\def\instit#1{\gdef\@instit{#1}}
\def\@instit{\@latex@warning@no@line{No \noexpand\instit given}}
%
\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%
                                   {\normalfont\large\bfseries}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}
\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \normalbaselineskip=12pt\baselineskip=12pt
  \sbox\@tempboxa{\small #1: #2}%
  \ifdim \wd\@tempboxa >\hsize
    {\small #1: #2}\par
  \else
    \global \@minipagefalse
    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}
%
\renewcommand\maketitle{\par
  \begingroup
    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
    \long\def\@makefntext##1{\parindent 1em\noindent
            \hb@xt@1.8em{%
                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
    \if@twocolumn
      \ifnum \col@number=\@ne
        \@maketitle
      \else
        \twocolumn[\@maketitle]%
      \fi
    \else
      \newpage
      \global\@topnum\z@   % Prevents figures from going at top of page.
      \@maketitle
    \fi
    \thispagestyle{plain}\@thanks
  \endgroup
  \setcounter{footnote}{0}%
  \global\let\thanks\relax
  \global\let\maketitle\relax
  \global\let\@maketitle\relax
  \global\let\@thanks\@empty
  \global\let\@author\@empty
  \global\let\@instit\@empty
  \global\let\@date\@empty
  \global\let\@title\@empty
  \global\let\title\relax
  \global\let\author\relax
  \global\let\date\relax
  \global\let\and\relax
}
\def\@maketitle{%
  \newpage
  \null
  \begin{center}%
   \let \footnote \thanks
    {\Large\bf \@title \par}%
    \vskip 1.em%
    {\Large\rm
      \lineskip .5em%
      \begin{tabular}[t]{c}%
        \@author
      \end{tabular}
      \large\it
      \begin{tabular}[t]{c}%
        \@instit
      \end{tabular}\par}%
%    \vskip 1em%
%    {\large \@date}%
  \end{center}%
  \par
  \vskip 1.0em}
%
\setlength\evensidemargin{15mm}
\setlength\oddsidemargin{15mm}
\setlength\textheight{192mm}
\setlength\textwidth{132mm}
%
\setcounter{topnumber}{8}
\renewcommand\topfraction{.8}
\setcounter{bottomnumber}{8}
\renewcommand\bottomfraction{.8}
\setcounter{totalnumber}{8}
\renewcommand\textfraction{.2}
\renewcommand\floatpagefraction{.8}
%
\pagestyle{qmc}
%
