%=================================================
\input amstex
\documentstyle{amsppt}
%%%
\catcode`\@=11
\def\initpageno#1{\pageno=#1}
\def\initheadtext#1{\def\initrhead{#1}}
\def\initheadline{%
        \initrhead\hss\headlinefont@\folio}
\headline={\def\chapter#1{\chapterno@. }%
  \def\\{\unskip\space\ignorescapes}\headlinefont@
  \iffirstpage@ \global\firstpage@false \initheadline
  \else \ifodd\pageno \rightheadline \else \leftheadline\fi \fi}
%%%
\def\output@{\shipout\vbox{%
 \ifrunheads@
    \makeheadline \pagebody
    \else \pagebody \makefootline \fi
}%
\advancepageno \ifnum\outputpenalty>-\@MM\else\dosupereject\fi}
\catcode`\@=\active
\pagewidth{33truepc}
\pageheight{50truepc}
% end
%%%===================For headline============================
%\initpageno{000}
\initheadtext{\eightit Math.~Japonica \/ \eightbf 43, \eightrm
               No.~0(0000), 000--000}
\leftheadtext{Name of the author}
\rightheadtext{Title of the paper for the running head}
%=========================Headline end========================
