%% %% This is file `anziamjedraft.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% anziamje.dtx (with options: `draft') %% %% IMPORTANT NOTICE: %% %% For the copyright see the source file. %% %% Any modified versions of this file must be renamed %% with new filenames distinct from anziamjedraft.sty. %% %% For distribution of the original source see the terms %% for copying and modification in the file anziamje.dtx. %% %% This generated file may be distributed as long as the %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \def\myfileversion{3.6d} \def\myfiledate{15 Jul 2019} \NeedsTeXFormat{LaTeX2e} \typeout{ANZIAM J(E) style file, v\myfileversion, \myfiledate, by AJR} \typeout{This version is for drafting articles for ANZIAM J(E)} \newif\ifj@bibltx \j@bibltxfalse \DeclareOption{biblatex}{\j@bibltxtrue} \newif\ifj@cref \j@creffalse \DeclareOption{cleveref}{\j@creftrue} \ProcessOptions \RequirePackage{url} \RequirePackage{amsmath} \allowdisplaybreaks \RequirePackage{graphicx} \ifdim\paperwidth=148mm %=a5paper \usepackage[left=5.8mm,right=5.8mm,top=16mm,bottom=6mm]{geometry} \fi \ifj@bibltx \usepackage[backend=bibtex8 % omit if biber works for you ,style=numeric % for Vancouver-like ,backref=true ]{biblatex} \let\citet\textcite \let\citep\parencite \let\j@printbib\printbibliography \def\printbibliography{{\raggedright\j@printbib}} \DeclareFieldFormat{url}{% \iffieldundef{doi}{% \mkbibacro{URL}\addcolon\space\url{#1}}{}} \DeclareFieldFormat{urldate}{% \iffieldundef{doi}{% \mkbibparens{\bibstring{urlseen}\space#1}}{}} \fi \AtEndDocument{\authorlist} \let\j@@openbib@code\@openbib@code \renewcommand{\@openbib@code}{ \j@@openbib@code \addcontentsline{toc}{section}{\refname} \raggedright } \pagenumbering{arabic} \setcounter{topnumber}{2} \setcounter{bottomnumber}{2} \setcounter{totalnumber}{4} \renewcommand{\topfraction}{0.85} \renewcommand{\bottomfraction}{0.85} \renewcommand{\textfraction}{0.15} \renewcommand{\floatpagefraction}{0.7} \pagestyle{headings} \renewcommand{\MakeUppercase}[1]{\textsf{\headercolour #1}} \def\headercolour{} \newcounter{j@authors} \setcounter{j@authors}{0} \renewcommand{\author}[2][]{ \stepcounter{j@authors} \expandafter\def\csname j@forename\roman{j@authors}\endcsname{#1} \expandafter\def\csname j@surname\roman{j@authors}\endcsname{#2} \expandafter\def\csname j@addrs\roman{j@authors}\endcsname{} \expandafter\def\csname j@email\roman{j@authors}\endcsname{} \expandafter\def\csname j@auurl\roman{j@authors}\endcsname{} \expandafter\def\csname j@auorc\roman{j@authors}\endcsname{} } \newcommand{\address}[1]{ \expandafter\def\csname j@addrs\roman{j@authors}\endcsname{#1} } \newcommand{\email}[1]{ \expandafter\def\csname j@email\roman{j@authors}\endcsname{#1} } \newcommand{\mailto}[1]{ \expandafter\def\csname j@email\roman{j@authors}\endcsname{#1} } \newcommand{\http}[1]{ \expandafter\def\csname j@auurl\roman{j@authors}\endcsname{#1} } \newcommand{\myorcid}[1]{ \expandafter\def\csname j@auorc\roman{j@authors}\endcsname{#1} } \newcounter{j@i} \renewcommand{\@author}{ \parbox{\textwidth}{\centering \setcounter{j@i}{0} \loop\ifnum\c@j@i<\c@j@authors \stepcounter{j@i} \ifnum\c@j@i>1\qquad\fi \expandafter\ifx\csname j@forename\roman{j@i}\endcsname\@empty \else\csname j@forename\roman{j@i}\endcsname~\fi% \csname j@surname\roman{j@i}\endcsname ${}^{\ref{j@au:\roman{j@i}}}$ \repeat }%endparbox } \def\authorlist{\raggedright \subsection*{Author address\ifnum\c@j@authors>1 es\fi} \begin{enumerate} \setcounter{j@i}{0} \loop\ifnum\c@j@i<\c@j@authors \stepcounter{j@i} \item \label{j@au:\roman{j@i}} \textbf{% \csname j@forename\roman{j@i}\endcsname\ \csname j@surname\roman{j@i}\endcsname}, \csname j@addrs\roman{j@i}\endcsname \expandafter\ifx\csname j@auurl\roman{j@i}\endcsname\@empty \else\\ \texttt{http://\csname j@auurl\roman{j@i}\endcsname}\fi \expandafter\ifx\csname j@email\roman{j@i}\endcsname\@empty \else\\ \texttt{mailto:\csname j@email\roman{j@i}\endcsname} \expandafter\ifx\csname j@auorc\roman{j@i}\endcsname\@empty \else\\ \texttt{orcid:\csname j@auorc\roman{j@i}\endcsname}\fi \fi \repeat \label{j@end} \end{enumerate} } \def\keywords#1{\gdef\j@keys{#1}} \def\subjclass#1{\gdef\j@subjclass{#1}} \newcommand{\j@subjclass}{} \newcommand{\j@keys}{} \def\theoremcolour{} \usepackage{amsthm} \topsep=\parskip \ifj@cref \usepackage[capitalise,nameinlink,noabbrev]{cleveref} \crefname{equation}{}{} \crefname{enumi}{}{} \crefname{enumii}{}{} \crefname{enumiii}{}{} \crefname{enumiv}{}{} \newtheorem{theorem}{\theoremcolour Theorem} \newtheorem{corollary}[theorem]{\theoremcolour Corollary} \newtheorem{lemma}[theorem]{\theoremcolour Lemma} \newtheorem{proposition}[theorem]{\theoremcolour Proposition} \newtheorem{conjecture}[theorem]{\theoremcolour conjecture} \theoremstyle{definition} \newtheorem{hypothesis}[theorem]{\theoremcolour Hypothesis} \newtheorem{assumption}[theorem]{\theoremcolour Assumption} \newtheorem{definition}[theorem]{\theoremcolour Definition} \newtheorem{claim}[theorem]{\theoremcolour Claim} \theoremstyle{remark} \newtheorem{remark}[theorem]{\theoremcolour Remark} \newtheorem{example}[theorem]{\theoremcolour Example} \else \newtheorem{theorem}{\theoremcolour Theorem} \RequirePackage{aliascnt}% for autoref of things in theorems \newaliascnt{corollary}{theorem} \newtheorem{corollary}[corollary]{\theoremcolour Corollary} \aliascntresetthe{corollary} \def\corollaryautorefname{Corollary} \newaliascnt{lemma}{theorem} \newtheorem{lemma}[lemma]{\theoremcolour Lemma} \aliascntresetthe{lemma} \def\lemmaautorefname{Lemma} \newaliascnt{proposition}{theorem} \newtheorem{proposition}[proposition]{\theoremcolour Proposition} \aliascntresetthe{proposition} \def\propositionautorefname{Proposition} \newaliascnt{conjecture}{theorem} \newtheorem{conjecture}[conjecture]{\theoremcolour Conjecture} \aliascntresetthe{conjecture} \def\conjectureautorefname{Conjecture} \theoremstyle{definition} \newaliascnt{hypothesis}{theorem} \newtheorem{hypothesis}[hypothesis]{\theoremcolour Hypothesis} \aliascntresetthe{hypothesis} \def\hypothesisautorefname{Hypothesis} \newaliascnt{assumption}{theorem} \newtheorem{assumption}[assumption]{\theoremcolour Assumption} \aliascntresetthe{assumption} \def\assumptionautorefname{Assumption} \newaliascnt{definition}{theorem} \newtheorem{definition}[definition]{\theoremcolour Definition} \aliascntresetthe{definition} \def\definitionautorefname{Definition} \newaliascnt{claim}{theorem} \newtheorem{claim}[claim]{\theoremcolour Claim} \aliascntresetthe{claim} \def\claimautorefname{Claim} \theoremstyle{remark} \newaliascnt{remark}{theorem} \newtheorem{remark}[remark]{\theoremcolour Remark} \aliascntresetthe{remark} \def\remarkautorefname{Remark} \newaliascnt{example}{theorem} \newtheorem{example}[example]{\theoremcolour Example} \aliascntresetthe{example} \def\exampleautorefname{Example} \fi%end of defns if no cleveref \renewenvironment{proof}[1][Proof] {\paragraph{\theoremcolour #1:}} {\hfill\penalty50\quad\mbox{}\hfill\theoremcolour$\spadesuit$\penalty-10000} \newenvironment{proofof}[1] {\paragraph{\theoremcolour Proof of \ref{#1}:}} {\hfill\penalty50\quad\mbox{}\hfill\theoremcolour$\spadesuit$\penalty-10000} \newcommand{\doi}[1]{\url{https://doi.org/#1}} \newcommand{\MR}[1]{\url{http://www.ams.org/mathscinet-getitem?mr=#1}} \endinput %% %% End of file `anziamjedraft.sty'.