%% Copyright (C) University of Exeter, UK
%%               The University of Sheffield, UK
%%               The University of Paris-Saclay, France
%%
%% License:
%%   This program can be redistributed and/or modified under the terms
%%   of the LaTeX Project Public License Distributed from CTAN
%%   archives in directory macros/latex/base/lppl.txt; either
%%   version 1.3c of the License, or (at your option) any later version.
%%   OR
%%   The 2-clause BSD-style license.
%%
%%   SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause

%% This is a placeholder for user-specific configuration and packages. 
\usepackage{etex}
\ifdef{\reserveinserts}{\reserveinserts{28}}{} 
\usepackage{dirtree}
\renewcommand*\DTstylecomment{\ttfamily\itshape}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{lstisadof-manual}
\usepackage{xspace}
\IfFileExists{hvlogos.sty}{\usepackage{hvlogos}}{\newcommand{\TeXLive}{\TeX Live}\newcommand{\BibTeX}{Bib\TeX}}
\usepackage{railsetup}
\setcounter{secnumdepth}{2}
\usepackage{index}
\newcommand{\bindex}[1]{\index{#1|textbf}}
%\makeindex
%\AtEndDocument{\printindex}

\newcommand{\dof}{DOF\xspace}
\newcommand{\isactrlemph}{*}

\newcommand{\path}[1]{\texttt{\nolinkurl{#1}}}
\title{<TITLE>}
\author{<AUTHOR>}

\pagestyle{headings}

\uppertitleback{
Copyright \copyright{} 2019--2024 University of Exeter, UK\\
\phantom{Copyright \copyright{}} 2018--2024 Universit\'e Paris-Saclay, France\\
\phantom{Copyright \copyright{}} 2018--2019 The University of Sheffield, UK\\

\smallskip
\begin{small}
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
\begin{itemize}
  \item Redistributions of source code must retain the above copyright
        notice, this list of conditions and the following disclaimer.
      \item Redistributions in binary form must reproduce the above
        copyright notice, this list of conditions and the following
        disclaimer in the documentation and/or other materials provided
       with the distribution.
\end{itemize}
\end{small}\begin{small}
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\end{small}

\medskip
\textbf{SPDX-License-Identifier:} BSD-2-Clause
}

\lowertitleback{%
This manual describes \isadof as available in the Archive of Formal Proofs (AFP). The latest development version as well as releases that can be installed as Isabelle component are available at 
\url{\dofurl}.

\paragraph*{Contributors.} We would like to thank the following contributors to \isadof 
(in alphabetical order): Idir Ait-Sadoune and Paolo Crisafulli.

\paragraph*{Acknowledgments.} This work has been partially supported by IRT SystemX, Paris-Saclay, 
France, and therefore granted with public funds of the Program ``Investissements d'Avenir.''

}



\publishers{
\begin{center}
\includegraphics[width=.28\textwidth]{figures/Isabelle_DOF-logo}
\end{center}
\vspace{3cm}

\begin{minipage}{\textwidth}
  \begin{minipage}{6cm}
    \normalsize
    Department of Computer Science\\
    University of Exeter\\
    Exeter, EX4 4QF\\
    UK
  \end{minipage}
  \hfill
  \begin{minipage}{8cm}
    \raggedleft\normalsize
    Laboratoire des Methodes Formelles (LMF)\\
    Universit\'e Paris-Saclay\\
    91405 Orsay Cedex\\
    France
  \end{minipage}
\end{minipage}
}
% Index setup
\usepackage{index}
\makeindex
\AtEndDocument{\printindex}

\newcommand{\DOFindex}[2]{%
  \marginnote{\normalfont\textbf{#1}: #2}%
  \expandafter\index\expandafter{\expanded{#2 (#1)}}%
}%

\AtBeginDocument{\isabellestyle{literal}\newcommand{\lstnumberautorefname}{Line}}
