\documentclass{higherStructures}
% For theorem numbering subordinate to subsections instead of sections, use the option twoLevelNum.

%%%%% OTHER PACKAGES  %%%%%%%%%%%%%%%%%%%%
% For instance, one might include the following
\usepackage[all,cmtip]{xy}
\usepackage{amssymb}
\usepackage{amsmath}
% but please don't include the package hyperref -- it is already included in the class file, and doing so again will probably lead to option clashes.

%%%%% ARTICLE DATA %%%%%%%%%%%%%%%%%%%%
% Mandatory data
\title[Author instructions]{Instructions for the use of the higherStructures class}
\amsclass{00A99; 18A05; 18D20; 18D50; 55P48}
\keywords{\LaTeX, Higher Structures, author instructions}

% Optional data. This will be edited or added when an issue is being assembled.
\editor{Martin Markl}
\received{22nd July, 2020}
\accepted{23rd July, 2020}
\volume{0}
\issue{0}
\pubYear{2021}
\startPage{1}

%%%%% AUTHOR DATA %%%%%%%%%%%%%%%%%%%%
% One author, address and email address is mandatory.
\author[Weber]{Mark Weber}
\address{Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic}
\email{higher.structures.ojs@gmail.com}
% The \author command must come first, then the subsequent \email and \address data will be associated with that author. Note that the \author command has an optional argument intended for a shortened form of the author's name. If this isn't used, then the shortened form is set equal to the author's full name.

% Second and subsequent authors entered the same way. The order in which authors appear = the order in which they are entered here. Uncomment the following and recompile if you want to see how this is displayed in the final output.
%% \author{Some Other Author}
%% \address{Department of Anything, University of Blah, Omaha}
%% \email{some.email@somedomain.edu}

% Uncomment the following and recompile if you wish to see how the author name line breaking example from section 4 works in practice.
%% \author[Hardy]{Godfrey Harold Hardy}
%% \author[Ramanujan]{\\ Srinivasa Iyengar Ramanujan}

%%%%% THEOREM ENVIRONMENTS %%%%%%%%%%%%%%%%%%%%
% plain-style theorem environments
\theoremstyle{plain}
\newtheorem{thm}[theorem]{Theorem}
\newtheorem{lem}[theorem]{Lemma}
\newtheorem{prop}[theorem]{Proposition}
% definition-style theorem environments
\theoremstyle{definition}
\newtheorem{defn}[theorem]{Definition}
\newtheorem{rem}[theorem]{Remark}
% remark-style theorem environments
\theoremstyle{remark}
\newtheorem*{claim}{Claim}
% this last environment is unnumbered

%%%%% AUTHOR-DEFINED \newcommand's %%%%%%%%%%%%%%%%%%%%
\newcommand\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
% this command generates a BibTeX logo. I found it here: https://tex.stackexchange.com/questions/18089/are-there-any-command-for-producing-the-bibtex-logo

\begin{document}

\maketitle

\begin{abstract}
This document provides the instructions for the use of \verb|higherStructures.cls|, the Higher Structures class file. The \TeX\ file which generates this document, \verb|hsClassInst.tex|, demonstrates by example how this class file is to be used. For the final version of accepted articles to this journal, the use of this class file is mandatory. To generate the title and banner, use the \verb|\maketitle| command after \verb|\begin{document}| and before the abstract.
\end{abstract}

\section{Class file inclusion and packages}

The first line of code of the \TeX\ file should be one of the following:
\begin{itemize}
\item[] \verb|\documentclass{higherStructures}|
\item[] \verb|\documentclass[twoLevelNum]{higherStructures}|
\end{itemize}
The latter form invokes the option \verb|twoLevelNum|. This enables theorem numbering subordinate to subsections instead of sections, and ensures that the contents navigation sidebar (in any PDF viewer) is of the corresponding depth.

Various packages are already preloaded with the class file \verb|higherStructures.cls|. In order that a consistency of style is maintained, and to avoid option clashes, authors should not reload the packages \verb|geometry| and \verb|hyperref|. The package \verb|enumerate| should not be used. It conflicts with the preloaded package \verb|enumitem|, which itself provides \verb|enumerate|'s label-changing functions (and a lot more, see \cite{enumitemDoc}).

For the full functioning of this class file, please ensure you are using the most recent \TeX\ version.

\section{Article data}

The following data is mandatory:
\begin{itemize}
\item \verb|\title|: article title, works as with other document classes, and accepts an optional argument usually intended for a shortened form of the title to be displayed on alternating headers.
\item \verb|\amsclass|: 2020 AMS classes associated with the article.
\item \verb|\keywords|: keywords associated with the article.
\end{itemize}
The data \verb|\editor|, \verb|\received|, \verb|\accepted|, \verb|\volume|, \verb|\issue|, \verb|\pubYear|, and \verb|\startPage| are optional, and will be reset by the Managing Editor during the final processing stage.

\section{Author data}

An author is declared with the \verb|\author| command, which accepts an optional argument for a shortened form of the author's name for use in headers and footers. Beneath any \verb|\author| command the address/affiliation and email address for that author are entered by the \verb|\address| and \verb|\email| commands respectively. At least one author, address and email address is mandatory. It is preferred that addresses and email addresses are entered for all authors, but this is not mandatory (for instance, one could just specify the email address of the corresponding author).

\section{Long titles, author names and affiliations}

Authors are invited to manually insert line breaks into titles, author names or addresses, where necessary. One case where this is useful is for avoiding unfortunate line breaks in the middle of an author's name. For article titles and author names, you {\bf must} then enter a shortened name without any line breaks, to prevent the line breaking from appearing in any headers and footers.

For example, if in addition to myself, Godfrey Harold Hardy and Srinivasa Iyengar Ramanujan are listed as authors of these notes, then you can force the third author's entire name to be on the second line by inserting a line break at the beginning of the third name as follows:
\begin{itemize}
\item[] \verb|\author[Weber]{Mark Weber}|
\item[] \verb|...|
\item[] \verb|\author[Hardy]{Godfrey Harold Hardy}|
\item[] \verb|\author[Ramanujan]{\\ Srinivasa Iyengar Ramanujan}|
\end{itemize}

\section{Abstract}

All articles must come with an abstract provided within the
\begin{itemize}
\item[] \verb|\begin{abstract} ... \end{abstract}|
\end{itemize}
environment. This must be placed after the \verb|\maketitle| command, and before the beginning of the first section of the article.

\section{Papers in French}
For papers written in French please use the \verb|french| class file option, as in
\begin{itemize}
\item[] \verb|\documentclass[french]{higherStructures}|
\item[] \verb|\documentclass[french,twoLevelNum]{higherStructures}|
\end{itemize}
Do \textbf{not} load the \verb|babel| package yourself -- this happens as a result of using the \verb|french| option. With this option,
it is assumed that the keywords and abstract are in French.

In addition, authors of French language papers must supply the additional data
\begin{itemize}
\item \verb|\engTitle|: the English version of the article title.
\item \verb|\engKeywords|: English keywords for the article.
\end{itemize}
as well as an English abstract provided within the
\begin{itemize}
\item[] \verb|\begin{engAbstract} ... \end{engAbstract}|
\end{itemize}
environment which must come immediately after the \verb|abstract| environment.

At this moment only English and French papers are supported by the Higher Structures class. However, it would be a simple matter to extend this functionality to any other language supported by the \verb|babel| package. Please contact the Managing Editor if you require this additional functionality.

\section{Theorems, definitions, propositions and so on}

We use the \href{https://www.ctan.org/pkg/amsthm}{amsthm} package to govern the typesetting of the various theorem environments.

\begin{rem}\label{illustrativeLabel}
This should be familiar to most authors.
\end{rem}

\noindent The complete documentation of the \verb|amsthm| package is given in \cite{amsthmDoc}.

\begin{prop}\label{anotherLabel}
Only the \verb|theorem| environment has been predefined, so that numbering works correctly, and the other environments are left to the author to define.
\end{prop}
\begin{proof}
See the \TeX\ file for these notes, and Section 5 of the class file \verb|higherStructures.cls|.
\end{proof}

\noindent There are three types of environments: \verb|plain|, \verb|definition| and \verb|remark|. Remark \ref{illustrativeLabel}, Proposition \ref{anotherLabel}, and the claim below are instances
of environments defined with the declarations
\begin{itemize}
\item[] \verb|\newtheorem{prop}[theorem]{Proposition}|
\item[] \verb|\theoremstyle{definition}|
\item[] \verb|\newtheorem{rem}[theorem]{Remark}|
\item[] \verb|\theoremstyle{remark}|
\item[] \verb|\newtheorem*{claim}{Claim}|
\end{itemize}
in which the option \verb|[theorem]| of the first two declarations, ensures that the new numbered theorem environments use the \verb|theorem| counter.
\begin{claim}
Unnumbered theorem environments are defined using \verb|\newtheorem*|. These can be of any type.
\end{claim}

\section{Bibliography and the contents pane}

This journal uses the plain bibliography style. The bibliography below was generated by
\begin{itemize}
\item[] \verb|\bibliographystyle{plain}|
\item[] \verb|\bibliography{ForHSClass.bib}|
\end{itemize}
where \verb|ForHSClass.bib| is the \BibTeX file used for these notes. When submitting the final version of your article, please include the bibliography database file you used to generate your bibliography (for example, the \verb|.bib| file if you are using \BibTeX).

Commands \verb|\arxiv| and \verb|\Arxiv| have been added to get clickable arXiv numbers in the bibliographies. For the example \cite{primer} this was achieved with \verb|\Arxiv{1612.04888}|.

We will not include a table of contents in the articles themselves. However, a table of contents is generated which will display in the navigation/bookmarks bar of any PDF viewer. Numbered sections automatically appear. To add an extra bookmark, say for any unnumbered section, or indeed at any location in your article use the command
\begin{itemize}
\item[] \verb|\addcontentsline{toc}{section or subsection}{<NameToAppear>}|
\end{itemize}
at the location of the desired bookmark. For these notes, we have done this to ensure that the acknowledgements and bibliography show up in the bookmarks.

\section{Understanding the class file}

For those wishing to understand how the class file works\footnote{This is absolutely not necessary for those just wishing to use it.}, \verb|higherStructures.cls| includes fairly extensive comments. Attempts have also been made to organise it in a comprehensible way. Most of the code is at a fairly high level, just using the many packages that exist for various purposes (like customising section headings). Lower level \LaTeX\ code was used to controls how author and article data is processed. See \cite{LaTeXCompanion, Knuth-TeXBook} for background \TeX nical information.

\begin{appendices}

\section{Journal style for appendices}
Appendices are sections which appear within the
\begin{itemize}
\item[] \verb|\begin{appendices} ... \end{appendices}|
\end{itemize}
environment, and should be placed at the end of the paper just before the acknowledgements.

\end{appendices}

%% Add the Acknowledgements bookmark
\addcontentsline{toc}{section}{Acknowledgements}

\section*{Acknowledgements}

Please write your acknowledgements in a separate unnumbered section like this, just before the bibliography.

%% Add the References bookmark
\addcontentsline{toc}{section}{References}
%% Generate the bibliography using BiBTeX
\bibliographystyle{plain}
\bibliography{ForHSClass.bib}
%
%% Add the References bookmark
% \addcontentsline{toc}{section}{References}
%% The following code was copied from hsClassInst.bbl.
% \begin{thebibliography}{1}

% \bibitem{enumitemDoc}
% Javier Bezos.
% \newblock Customizing lists with the enumitem package.
% \newblock Available from \href{https://www.ctan.org/pkg/amsthm?lang=en}{here}.

% \bibitem{LaTeXCompanion}
% M.~Goossens, F.~Mittelbach, and A.~Samarin.
% \newblock {\em The {\LaTeX} Companion}.
% \newblock Addison-Wesley, 1994.

% \bibitem{Knuth-TeXBook}
% Donald~E. Knuth.
% \newblock {\em The \TeX book}.
% \newblock Addison-Wesley, 1984.

% \bibitem{primer}
% S.G. Kranz.
% \newblock A primer of mathematical writing, second edition.
% \newblock \Arxiv{1612.04888}.

% \bibitem{amsthmDoc}
% PTGAMS.
% \newblock Using the amsthm package.
% \newblock Available from \href{https://www.ctan.org/pkg/amsthm?lang=en}{here}.

% \end{thebibliography}

\end{document}
