\voffset=0cm
\topmargin=0cm
\topskip=11pt
\headheight=0cm
\headsep=0cm
\textwidth=134 mm
\hoffset=-1cm

%\renewcommand\large{\@setfontsize\large\@xipt{13}}
\renewcommand\large{\@setsize\large{13pt}\xipt\@xipt}

%%% Decide whether we want to print additional information (address
%%% for correspondence etc.)
\newif \ifref
\reftrue  % Informations will be printed
%\reffalse  % Informations will *not* be printed
\ifref \else\textheight=9.7cm \fi

\pagestyle{myheadings}
\markright{1}
\def\@oddhead{
  \ifref
  \unitlength 1mm
  \begin{picture}(0,-10)
    \put(-80,-45.8){\vector(0,1){44.55}}
    \put(-80,-50.8){\vector(0,-1){47.45}}
    \put(-85,-49.5){9.7 cm}
  \end{picture}
  \fi
}

\def\address#1{\def\@address{#1}}
\def\category#1{\def\@category{#1}}
\def\mode#1{\def\@mode{#1}}
\def\cauthor#1{\def\@cauthor{#1}}
\def\caddress#1{\def\@caddress{#1}}
\def\email#1{\def\@email{#1}}

\renewcommand\maketitle{
  \let\footnotesize\small
  \let\footnoterule\relax
  \let \footnote \thanks
  {    
    \centering
    {\large\bf \@title}\par 
    \vskip 0.2\baselineskip \normalsize
    {\bf \@author} \par 
    \vskip 0.0\baselineskip \normalsize
    \@address \par
    \vspace{0.5\baselineskip} \normalsize
    \setcounter{footnote}{0} 
    }
  }

\renewenvironment{abstract}{\par\parindent=0pt}{\par\null}

\newcommand\makeref{
\ifref
\noindent
\unitlength 1mm
\begin{picture}(0,0)
  \put(59,0){\vector(-1,0){59}}
  \put(74,0){\vector(1,0){60}}
  \put(60,-0.8){13.4 cm}
\end{picture}
\vskip 0.5\baselineskip
\noindent
{\bf Subject category~:}
\vskip 0.2\baselineskip
\noindent
\ifcase\@category
%It is blank for category=0
\or
1. Strongly Correlated Electrons and High Temperature Superconductivity
\or
2. Quantum and Classical Spin Systems
\or
3. Magnetic Structure and Dynamics
\or
4. Spin Electronics and Magneto-Transport
\or
5. Nano-structure, Surfaces, and Interfaces
\or
6. Soft and Hard Magnetic Materials
\or
7. Applications
\or
8. Other Topics
\fi
\vskip 0.5\baselineskip
\noindent
{\bf Presentation mode~:}\\
\@mode
\vskip 0.5\baselineskip
\noindent
{\bf Corresponding author~:} \\
\@cauthor
\vskip 0.5\baselineskip
\noindent
{\bf Address for correspondence~:}\\
\@caddress
\vskip 0.5\baselineskip
\noindent
{\bf Email address~:}\\
\@email
\fi
}

