%       OEJV.STY ver. 1.0
%
%       LaTeX Include file for the Open European Journal on Variable stars
%
%       From the original version by Ondřej Pejcha (2006-08-28)
%		modified by Marek Skarka (marek.skarka@gmail.com)
%
%       last modified: 2015-02-04



\usepackage[round]{natbib}

\usepackage{graphicx}
\usepackage{color}
\usepackage{array}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{fancyhdr}
\usepackage[colorlinks=true,urlcolor=blue,citecolor=black,bookmarks=false]{hyperref}

\font\fhead=cmr8
\font\ftitle=cmssbx14
\font\fabs=cmr10

\def\ts{\thinspace}

\topmargin=-1.5truecm
\headheight 1.5cm
\pagestyle{myheadings}
\oddsidemargin=0cm
\evensidemargin=0cm
\textheight=22truecm
\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 https://oejv.physics.muni.cz}\\{\fhead DOI: 10.5817/OEJV2020-XXX}}
\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 \OEJVacknowledgements
\def\OEJVacknowledgements#1{
    \vskip 0.5cm
    \noindent{\fabs{\bf Acknowledgements:} #1 }\\
}


% Definition of macro \OEJVbibcode
\def\OEJVbibcode#1{
    \href{https://ui.adsabs.harvard.edu/abs/#1}{\underline{#1}}
}

% Definition of macro \OEJVlink
\def\OEJVlink#1{
     \href{#1}{\underline{#1}}
}
