%       OEJV.STY ver. 0.91
%
%       LaTeX Include file for the Open European Journal on Variable stars
%
%       2006-08-28  Ond\v{r}ej Pejcha (pejcha@astro.sci.muni.cz)
%
%       last modified: 2009-01-30 - fixed OEJVbibcode
%


%% for fancy astronomy-type references
%% comment if you don't have natbib
\usepackage[round]{natbib}

%% for hypertext and web references
\usepackage{html}
%% for fancy double-line headings
%% modify oejv.sty if you don't have fancyhdr
\usepackage{fancyhdr}
\usepackage[dvips,breaklinks=true,colorlinks=true,urlcolor=blue,citecolor=black,bookmarks=false]{hyperref}

\font\fhead=cmr8    
\font\ftitle=cmssbx14
\font\fabs=cmr10   

\def\ts{\thinspace} 

\topmargin=-2.5truecm
\headheight 1.5cm
\pagestyle{myheadings} 
\oddsidemargin=0cm
\evensidemargin=0cm
\textheight=24.5truecm
\textwidth=16truecm

% Definition of macro \OEJVhead
\def\OEJVhead#1 {
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\lhead{{\fhead #1}}
\chead{{\fhead OPEN EUROPEAN JOURNAL ON VARIABLE STARS}\\{\fhead http://var.astro.cz/oejv}}
\rhead{{\fhead ISSN 1801--5964}}
}


% Definition of macro \OEJVtitle
\def\OEJVtitle#1 {\uppercase
  {\centerline {\ftitle #1} \vskip 0.5cm plus 0.4cm minus 0.2cm}}


% Definition of the author and affiliation macros
\def\OEJVauth#1 {

 \centerline {\textsc{ #1} }
 \vskip 0.5cm
 
 }

\newcounter{authno}

\def\OEJVinst#1{ {\centering \small \addtocounter{authno}{1} ${\arabic{authno}})$ #1 
        \vskip 1mm }\large}
% This is for defining a second affiliation
\def\OEJVx#1 {{\centering \small \ts $^*$ #1 \vskip 1mm }\large}
% This is for defining the affiliation, if there is only one (without numbering)
\def\OEJVinsto#1 {{\centering \small \ts #1 \vskip 1mm }\large}


% Definition of macro \begintext
\def\begintext{
        \vskip 0.5cm
        \baselineskip=5mm 
        \noindent
        }

% Definition of macro \OEJVabstract
\def\OEJVabstract#1{
    \vskip 0.5cm
    \begin{center}
    \begin{tabular}{p{0.9\textwidth}}
    {\fabs {\bf Abstract:} #1 }\\
    \end{tabular}
    \end{center}
}

% Definition of macro \OEJVbibcode
\def\OEJVbibcode#1{
    \href{http://adsabs.harvard.edu/cgi-bin/nph-bib_query?bibcode=#1}{\underline{#1}}
}

% Definition of macro \OEJVlink
\def\OEJVlink#1{
     \href{#1}{\underline{#1}}
}

