\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\ProvidesPackage{QMOPAL}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% SECTION HEADINGS

\renewcommand{\section}{\@startsection{section}{1}{0pt}%
    {-3.5ex plus -1ex minus -.2ex}%
    {2.3ex plus.2ex}%
    {\normalfont\bfseries}}

\renewcommand{\subsection}{\@startsection{subsection}{2}{0pt}%
    {-3.5ex plus -1ex minus -.2ex}%
    {2.3ex plus.2ex}%
    {\normalfont\bfseries}}

\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0pt}%
    {-3.5ex plus -1ex minus -.2ex}%
    {2.3ex plus.2ex}%
    {\normalfont\itshape}}

\renewcommand{\@seccntformat}[1]{\@nameuse{the#1}\quad}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% TITLE PAGE

\newcommand{\OpalTitlePage}[8]{%
\begin{center}\thispagestyle{empty} \LARGE {#1}

\

\Large #2
\\ #3

\

#4
\end{center}
\vspace{8ex}\noindent\hrulefill
\begin{center} \textbf{Abstract}
\end{center}

\noindent #5

\

\noindent \textbf{Keywords}\hspace{1.5ex}#6

\

\noindent\hrulefill

\vfill

\begin{center}\Large Queen Mary's OPAL \##7

Occasional Papers Advancing Linguistics
\end{center}\normalsize\newpage\setcounter{page}{1}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}\footnotetext[1]{#8}
\renewcommand{\thefootnote}{\arabic{footnote}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% 
\newcommand{\OpalTitlePageNoThanks}[7]{%
\begin{center}\thispagestyle{empty} \LARGE {#1}

\

\Large #2
\\ #3

\

#4
\end{center}
\vfill

\noindent\hrulefill
\begin{center} \textbf{Abstract}
\end{center}

\noindent #5

\

\noindent \textbf{Keywords}\hspace{1.5ex}#6

\

\noindent\hrulefill

\vfill

\begin{center}\Large Queen Mary's OPAL \##7

Occasional Papers Advancing Linguistics
\end{center}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% 
