| 1 |
% \iffalse |
| 2 |
% $Id: aomart.dtx,v 1.92 2025/08/20 23:09:00 boris Exp $ |
| 3 |
% |
| 4 |
% Copyright 2010-2025, Princeton University (Mathematics Department) |
| 5 |
% This work may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3 of this license or (at your option) any |
| 8 |
% later version. |
| 9 |
% The latest version of the license is in |
| 10 |
% http://www.latex-project.org/lppl.txt |
| 11 |
% and version 1.3 or later is part of all distributions of |
| 12 |
% LaTeX version 2005/12/01 or later. |
| 13 |
% |
| 14 |
% This work has the LPPL maintenance status `maintained'. |
| 15 |
% |
| 16 |
% The Current Maintainer of this work is Boris Veytsman, |
| 17 |
% <[email protected]> |
| 18 |
% |
| 19 |
% This work consists of the file aomart.dtx and the |
| 20 |
% derived file aomart.cls, and files aomplain.bst and aomalpha.bst |
| 21 |
% |
| 22 |
% The file fullref.pl, included with this package, is in |
| 23 |
% public domain. |
| 24 |
% |
| 25 |
% \fi |
| 26 |
% \CheckSum{0} |
| 27 |
% |
| 28 |
% |
| 29 |
%% \CharacterTable |
| 30 |
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 31 |
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 32 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 33 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 34 |
%% Dollar \$ Percent \% Ampersand \& |
| 35 |
%% Acute accent \' Left paren \( Right paren \) |
| 36 |
%% Asterisk \* Plus \+ Comma \, |
| 37 |
%% Minus \- Point \. Solidus \/ |
| 38 |
%% Colon \: Semicolon \; Less than \< |
| 39 |
%% Equals \= Greater than \> Question mark \? |
| 40 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 41 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 42 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 43 |
%% Right brace \} Tilde \~} |
| 44 |
% |
| 45 |
%\iffalse |
| 46 |
% Taken from xkeyval.dtx |
| 47 |
%\fi |
| 48 |
%\makeatletter |
| 49 |
%\def\DescribeOption#1{\leavevmode\@bsphack |
| 50 |
% \marginpar{\raggedleft\PrintDescribeOption{#1}}% |
| 51 |
% \SpecialOptionIndex{#1}\@esphack\ignorespaces} |
| 52 |
%\def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ } |
| 53 |
%\def\SpecialOptionIndex#1{\@bsphack |
| 54 |
% \index{#1\actualchar{\protect\ttfamily#1} |
| 55 |
% (option)\encapchar usage}% |
| 56 |
% \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar |
| 57 |
% usage}\@esphack} |
| 58 |
%\def\DescribeOptions#1{\leavevmode\@bsphack |
| 59 |
% \marginpar{\raggedleft\strut\emph{options}% |
| 60 |
% \@for\@tempa:=#1\do{% |
| 61 |
% \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa |
| 62 |
% }}\@esphack\ignorespaces} |
| 63 |
%\makeatother |
| 64 |
% |
| 65 |
% \MakeShortVerb{|} |
| 66 |
% \GetFileInfo{aomart.dtx} |
| 67 |
% \newcommand{\progname}[1]{\textsf{#1}} |
| 68 |
% \title{\LaTeX{} Class for The \emph{Annals of |
| 69 |
% Mathematics}\thanks{\copyright 2010--2025, Princeton University |
| 70 |
% (Mathematics Department)}} |
| 71 |
% \author{Boris Veytsman\thanks{% |
| 72 |
% \href{mailto:[email protected]}{\texttt{[email protected]}}, |
| 73 |
% \href{mailto:[email protected]}{\texttt{[email protected]}}}} |
| 74 |
% \date{\filedate, \fileversion} |
| 75 |
% \maketitle |
| 76 |
% \begin{abstract} |
| 77 |
% This package provides a class for typesetting articles for |
| 78 |
% The \emph{Annals of Mathematics} |
| 79 |
% \end{abstract} |
| 80 |
% \tableofcontents |
| 81 |
% |
| 82 |
% \changes{v0.2}{2010/08/24}{First fully functional version} |
| 83 |
% \changes{v0.3}{2010/09/27}{Documentation update} |
| 84 |
% \changes{v0.4}{2010/09/29}{Documentation update} |
| 85 |
% \changes{v0.6}{2010/10/03}{Changes to bst files} |
| 86 |
% \changes{v0.6}{2010/10/03}{Fullref.pl is much less agressive now} |
| 87 |
% \changes{v0.7}{2010/10/09}{Bibliography styles changed} |
| 88 |
% \changes{v0.8}{2010/11/16}{Documentation update} |
| 89 |
% \changes{v0.8}{2010/11/21}{Bibliography styles update} |
| 90 |
% \changes{v0.9}{2010/12/04}{Bibliography styles update} |
| 91 |
% \changes{v0.9}{2010/12/04}{Documentation update} |
| 92 |
% \changes{v0.10}{2010/12/20}{Bibliography styles update} |
| 93 |
% \changes{v0.10}{2010/12/20}{Documentation update} |
| 94 |
% \changes{v1.0}{2010/12/21}{Top matter macros are now only in preamble} |
| 95 |
% \changes{v1.2}{2011/01/05}{Bibliography styles update} |
| 96 |
% \changes{v1.5}{2011/02/26}{Added noopsort to the styles, corrected |
| 97 |
% typo} |
| 98 |
% \changes{v1.5}{2011/02/26}{Added sortyear to the styles} |
| 99 |
% \changes{v1.6}{2011/03/06}{Bibliography change: aomalpha now |
| 100 |
% respects key field in the bib file} |
| 101 |
% \changes{v1.11}{2012/07/23}{Added new commands for copyright |
| 102 |
% statement} |
| 103 |
% \changes{v1.11}{2012/07/24}{Bibliography change: titlenote, deleted bysame} |
| 104 |
% \changes{v1.11}{2012/08/16}{Added \textbackslash fulladdress} |
| 105 |
% \changes{v1.11}{2012/08/16}{Deleted \textbackslash repeatedauthors{} from |
| 106 |
% the documentation} |
| 107 |
% \changes{v1.17}{2017/01/26}{Added new field totalpages to the |
| 108 |
% bibliography} |
| 109 |
% \changes{v1.17a}{2017/01/26}{Bug fixed in aomplain.bst} |
| 110 |
% \changes{v1.18}{2017/02/11}{New option \texttt{oldkeywords} and |
| 111 |
% printing keywords and subjects by default} |
| 112 |
% \changes{v1.19}{2017/04/12}{Bibliography changes} |
| 113 |
% |
| 114 |
% \clearpage |
| 115 |
% |
| 116 |
%\section{Introduction} |
| 117 |
%\label{sec:intro} |
| 118 |
% |
| 119 |
% The \emph{Annals of Mathematics} is published bimonthly with the |
| 120 |
% cooperation of Princeton University and the Institute for Advanced |
| 121 |
% Study. Founded in 1884 by Ormond Stone of the University of |
| 122 |
% Virginia, the journal was transferred in 1899 to Harvard University, |
| 123 |
% and in 1911 to Princeton University. Since 1933, the Annals has been |
| 124 |
% edited jointly by Princeton University and the Institute for |
| 125 |
% Advanced Study (see |
| 126 |
% \url{http://annals.princeton.edu/annals/about/journal/about.html}). |
| 127 |
% |
| 128 |
% This class presents a complete redesign of the journal style---with |
| 129 |
% new fonts and new interface. |
| 130 |
% |
| 131 |
% |
| 132 |
% An author well acquainted with AMS\LaTeX{} should find this package |
| 133 |
% easy to use and configurable. The User Manual below illustrates the |
| 134 |
% basic use of the class and discusses the differences with \progname{amsart}. |
| 135 |
% For an in-depth tutorial of AMS\LaTeX{} I could recommend the |
| 136 |
% excellent book~\cite{Graetzer00:MathIntoLaTeX}. |
| 137 |
% |
| 138 |
% |
| 139 |
%\section{User's Guide} |
| 140 |
%\label{sec:manual} |
| 141 |
% |
| 142 |
% |
| 143 |
%\subsection{Installation} |
| 144 |
%\label{sec:installation} |
| 145 |
% |
| 146 |
% The installation of the class follows the usual |
| 147 |
% practice~\cite{TeXFAQ} for \LaTeX{} packages: |
| 148 |
% \begin{enumerate} |
| 149 |
% \item Run \progname{latex} on |aomart.ins|. This will produce the file |
| 150 |
% |aomart.cls|. |
| 151 |
% \item Put the file |aomart.cls| to |
| 152 |
% the place where \LaTeX{} can find them (see |
| 153 |
% \cite{TeXFAQ} or the documentation for your \TeX{} |
| 154 |
% system).\label{item:install} |
| 155 |
% \item Update the database of file names. Again, see \cite{TeXFAQ} |
| 156 |
% or the documentation for your \TeX{} system for the system-specific |
| 157 |
% details.\label{item:update} |
| 158 |
% \item The file |aomart.pdf| provides the documentation for the |
| 159 |
% package (this is the file you are probably reading now). |
| 160 |
% \end{enumerate} |
| 161 |
% As an alternative to items~\ref{item:install} and~\ref{item:update} |
| 162 |
% you can just put the files in the working directory where your |
| 163 |
% |.tex| file is. |
| 164 |
% |
| 165 |
% |
| 166 |
% The class uses some other \LaTeX{} classes or packages. Most |
| 167 |
% probably, they are already installed on your system. If not (or if |
| 168 |
% their versions are very old), you need to download and |
| 169 |
% install them. Here is the list: |
| 170 |
% \begin{enumerate} |
| 171 |
% \item \progname{amsart} class and related |
| 172 |
% packages~\cite{Downes04:amsart}, |
| 173 |
% \item Package \progname{hyperref}~\cite{Rahtz06:Hyperref}, |
| 174 |
% \item \progname{ifpdf} package~\cite{Oberdiek06:Ifpdf}, |
| 175 |
% \item \progname{fancyhdr} package~\cite{Oostrum04:Fancyhdr}, |
| 176 |
% \item \progname{cmtiup} package~\cite{Znamenskii03:Cmtiup} for |
| 177 |
% ``special italics'' with uprgiht digits and punctuation. Note that |
| 178 |
% since many distributions do not include this package, you may need |
| 179 |
% to install it yourself. Just download the file |
| 180 |
% \url{http://mirrors.ctan.org/fonts/cm/cmtiup.zip}, unzip it in your |
| 181 |
% \path{TEXMF} directory and rebuild the file names database with the |
| 182 |
% command like |mktexlsr|, |
| 183 |
% \item \progname{yhmath} package~\cite{Haralambous96:Yhmath}. |
| 184 |
% \end{enumerate} |
| 185 |
% |
| 186 |
% |
| 187 |
%\subsection{Invocation} |
| 188 |
%\label{sec:invocation} |
| 189 |
% |
| 190 |
% To use the class, put in the preamble of your document |
| 191 |
% \begin{flushleft} |
| 192 |
% |\documentclass[|\meta{options}|]{aomart}| |
| 193 |
% \end{flushleft} |
| 194 |
% The class internally loads \progname{amsart}, so all facilities of |
| 195 |
% \progname{amsart}~\cite{Graetzer00:MathIntoLaTeX, amsldoc} can be used in the |
| 196 |
% source. |
| 197 |
% |
| 198 |
% The class should work with the |
| 199 |
% \progname{Babel}~\cite{Braams05:Babel} package. At present, |
| 200 |
% English, French and German languages are fully supported. See also |
| 201 |
% Section~\ref{sec:non-english}. |
| 202 |
% |
| 203 |
% \DescribeOptions{draft,final} |
| 204 |
% The options |draft| and |final| work in the same way as for |
| 205 |
% \progname{amsart} and standard \LaTeX. If the option |draft| is |
| 206 |
% chosen, the overfull lines are marked by black boxes on the margins |
| 207 |
% \emph{and} the |\includegraphics| prints blank placeholders for the |
| 208 |
% images. The option |final| (default) switches off the marking of |
| 209 |
% overfull lines and restores the behavior of |\includegraphics|. To |
| 210 |
% switch on just the overfull marks, without changing the behavior of |
| 211 |
% |\includegraphics|, one can either explicitly pass the option final |
| 212 |
% to \progname{graphics} package: |
| 213 |
% \begin{verbatim} |
| 214 |
% \documentclass[draft]{aomart} |
| 215 |
% \usepackage[final]{graphics} |
| 216 |
% \end{verbatim} |
| 217 |
% or add in the beginning of the document |
| 218 |
% \begin{verbatim} |
| 219 |
% \overfullrule=5pt |
| 220 |
% \end{verbatim} |
| 221 |
% |
| 222 |
% \DescribeOption{manuscript} |
| 223 |
% The option |manuscript| is intended to faciliate the communications |
| 224 |
% between the editor and the author. It enables two things: |
| 225 |
% \begin{enumerate} |
| 226 |
% \item Numbering of lines in the manuscript is switched off in the |
| 227 |
% normal mode, but is on in the manuscript mode. |
| 228 |
% \item Command |\EditorialComment| is no-op in normal mode, but |
| 229 |
% produces mariginal commentaries in the manuscript |
| 230 |
% \item Hyperlinks are black in normal mode, but blue in manuscript |
| 231 |
% mode. |
| 232 |
% \end{enumerate} |
| 233 |
% |
| 234 |
% \DescribeOption{screen} |
| 235 |
% The option |screen| is intended for the onscreen version of the |
| 236 |
% acticle. If this option is selected, the links are blue colored, |
| 237 |
% and the margins are reduced. |
| 238 |
% |
| 239 |
% \DescribeOption{olddoi}% |
| 240 |
% Starting from version~1.9 (2011) the formatting of DOI numbers |
| 241 |
% changed according to the new recommendations from CrossRef. The |
| 242 |
% option |olddoi| switches on the ``old'' formatting. It is used for |
| 243 |
% compatibility reasons. |
| 244 |
% |
| 245 |
% \DescribeOption{doi2016}% |
| 246 |
% Starting from version~1.5 (2016) the formatting of DOI numbers |
| 247 |
% changed again according to Crossref recommendations. The option |
| 248 |
% |doi2016| switches to the version existed between 2011 and 2016. |
| 249 |
% |
| 250 |
% \DescribeOption{oldkeywords}% |
| 251 |
% Since June 2017 keywords and AMS Mathematical Subjects |
| 252 |
% classification numbers are printed on the title page. The option |
| 253 |
% \texttt{oldkeywords} suppresses this. |
| 254 |
% |
| 255 |
% \DescribeOptions{8pt,9pt,10pt,11pt,12pt} |
| 256 |
% The size-changing options of \progname{amsart} class (|8pt|, |9pt|, |
| 257 |
% \dots, |12pt|) have no effect other than producing a warning in the |
| 258 |
% log since the journal is designed for |
| 259 |
% only one type size (roughly corresponding to |11pt| of |
| 260 |
% \progname{amsart}). |
| 261 |
% |
| 262 |
% |
| 263 |
% \DescribeOption{printscheme}% |
| 264 |
% Normally the scheme for MSC numbers is not printed. If the option |
| 265 |
% |printscheme| is chosen, however, it is printed explicitly. |
| 266 |
% |
| 267 |
% |
| 268 |
%\subsection{Top Matter} |
| 269 |
%\label{sec:top_matter} |
| 270 |
% |
| 271 |
% |
| 272 |
% There are two kinds of top matter commands: the ones used primarily |
| 273 |
% for authors and the ones used primarily for editors. We describe |
| 274 |
% them separately. |
| 275 |
% |
| 276 |
% The macros descibed below must be issued in the preamble of the |
| 277 |
% document, i.e. before |\begin{document}|. They produce fatal error |
| 278 |
% otherwise. This behavior is required by the way non-\TeX{} scripts |
| 279 |
% process the files to produce metadata. |
| 280 |
% |
| 281 |
% The only exception is abstract, which should be placed |
| 282 |
% after |\begin{document}|. |
| 283 |
% |
| 284 |
% |
| 285 |
%\subsubsection{Commands for Authors} |
| 286 |
%\label{sec:authors_commands} |
| 287 |
% |
| 288 |
% |
| 289 |
% \DescribeMacro{\title} |
| 290 |
% The command |\title|, as in \progname{amsart} class, has two arguments: one |
| 291 |
% optional, and one mandatory: |
| 292 |
% \begin{flushleft} |
| 293 |
% |\title[|\meta{ShortTitle}|]{|\meta{FullTitle}|}| |
| 294 |
% \end{flushleft} |
| 295 |
% The mandatory argument is the full title of the article. The |
| 296 |
% optional argument, if present, defines the shorter version of the |
| 297 |
% title for running heads. If the optional argument is absent, the |
| 298 |
% full title is used instead. |
| 299 |
% |
| 300 |
% The optional argument should be used in two cases: when the full |
| 301 |
% title is too long to fit in the running head, \emph{and} when the |
| 302 |
% author wants to add a footnote or linebreaks to the title. |
| 303 |
% |
| 304 |
% |
| 305 |
% \DescribeMacro{\author}% |
| 306 |
% \DescribeMacro{\email}% |
| 307 |
% \DescribeMacro{\address} \DescribeMacro{\curraddr}% |
| 308 |
% \DescribeMacro{\urladdr}% |
| 309 |
% \DescribeMacro{\orcid}% |
| 310 |
% The interface for specifying the authors and their affiliations is |
| 311 |
% close the the one of \progname{amsart}~\cite{instr-l} (and different |
| 312 |
% from the standard \LaTeX). For each author a separate command |
| 313 |
% |\author| should be used, followed by |\address| and (optionally) |
| 314 |
% |\curraddr|, |\email|, |\urladdr| and \cs{orcid}. Note that the |
| 315 |
% house style of the \emph{Annals of Mathematics} requires writing |
| 316 |
% |\address| in the form \emph{Institution, City, State} (or |
| 317 |
% \emph{Institution, City, Country} for non-US locations). Like the |
| 318 |
% newer versions of \progname{amsart}, \progname{aomart} does |
| 319 |
% \emph{not} require the doubling of the |@| symbols in the e-mail |
| 320 |
% addresses. The macro |\author| has two arguments, similarly to |
| 321 |
% |\title|: |
| 322 |
% \begin{flushleft} |
| 323 |
% |\author[|\meta{AbbrevName}|]{|\meta{FullName}|}| |
| 324 |
% \end{flushleft} |
| 325 |
% The optional argument defines the shorter form of the author's name |
| 326 |
% to be included in the running head. |
| 327 |
% |
| 328 |
% \DescribeMacro{\givenname} \DescribeMacro{\surname} |
| 329 |
% The papers published in the \emph{Annals of Mathematics} are |
| 330 |
% included in various databases. For the indexing purposes it is |
| 331 |
% important to correctly separate the authors' names into ``First |
| 332 |
% Name/Surname'' parts. This operation is not easy for the |
| 333 |
% computers. Therefore we decided that the authors should know best |
| 334 |
% how to deal with their names. The macros |\givenname| and |
| 335 |
% |\surname| are used to indicate how to split the name into the |
| 336 |
% parts. |
| 337 |
% |
| 338 |
% \DescribeMacro{\fulladdress} |
| 339 |
% Another command which does not affect the typesetting is |
| 340 |
% \cmd{\fulladdress}. It is used to store the full mailing address of |
| 341 |
% the author for the online version of the journal and various |
| 342 |
% databases. |
| 343 |
% |
| 344 |
% \DescribeMacro{\contrib}% |
| 345 |
% Sometimes there are contributors to a paper, who are not full authors: |
| 346 |
% the person may write an appendix or other part of the paper. You |
| 347 |
% can use the command \cs{contrib}\oarg{role}\marg{name} for |
| 348 |
% indicating these persons. Note that \oarg{role} argument has a |
| 349 |
% special meaning, indicating that the role of this person is the same |
| 350 |
% as for the previous contributor, for example, |
| 351 |
% \begin{verbatim} |
| 352 |
% \contrib[with Appendix~A by]{A. U. Thor} |
| 353 |
% \givenname{Alexandra}\surname{Thor} |
| 354 |
% \contrib{A. N. Other} |
| 355 |
% \givenname{Antony N.}\surname{Other} |
| 356 |
% \contrib[with Appendix~B by]{Y. Etanother} |
| 357 |
% \givenname{Yakov}\surname{Etanother} |
| 358 |
% \end{verbatim} |
| 359 |
% In this example Appendix~A is written by A.~U.~Thor and |
| 360 |
% A. N. Another, and Appendix~B is written by Y.~Etanother. |
| 361 |
% Commands \cs{orcid}, \cs{email}, \cs{address}, \cs{fulladdress}, |
| 362 |
% \cs{givenname} and \cs{surname} can be used for contributors in the |
| 363 |
% same way they are used for authors. |
| 364 |
% |
| 365 |
% \DescribeMacro{\shortauthors} |
| 366 |
% In some cases the authors list may be too long for the running head, |
| 367 |
% even if the abbreviated forms are used for each author. In this |
| 368 |
% case it is possible to change the running head by a |
| 369 |
% \emph{redefinition} of the command |\shortauthors|. This |
| 370 |
% redefinition must be done after all |\author| commands, but before |
| 371 |
% |\maketitle|: |
| 372 |
% \begin{verbatim} |
| 373 |
% \renewcommand{\shortauthors}{A.~Smith et al} |
| 374 |
% \end{verbatim} |
| 375 |
% |
| 376 |
% |
| 377 |
% \DescribeMacro{\thanks} |
| 378 |
% Like \progname{amsart} (and unlike standard \LaTeX{}), |
| 379 |
% \progname{aomart} allows |\thanks| only \emph{outside} of commands |
| 380 |
% |\title| and |\author|. |
| 381 |
% |
| 382 |
% |
| 383 |
% \DescribeMacro{\copyrightnote} |
| 384 |
% Normally each paper is copyrighted by Department of Mathematics, |
| 385 |
% Princeton University. This is reflected in the footnote on the |
| 386 |
% first page of the article. However, by arrangement with the |
| 387 |
% editors, certain papers may have different copyright. The command |
| 388 |
% \cmd{\copyrightnote}\marg{copyright statement}, if issued, changes |
| 389 |
% the footnote to the corresponding text, for example: |
| 390 |
% \begin{verbatim} |
| 391 |
% \copyrightnote{\textcopyright~2012 by the authors. This paper may |
| 392 |
% be reproduced, in its entirety, for noncommercial purposes.} |
| 393 |
% \end{verbatim} |
| 394 |
% Note that if you issue this command, you should explicitly include |
| 395 |
% both the copyright sign and the year unless the paper does not have |
| 396 |
% a copyright, for example: |
| 397 |
% \begin{verbatim} |
| 398 |
% \copyrightnote{This paper is in the public domain} |
| 399 |
% \end{verbatim} |
| 400 |
% |
| 401 |
% |
| 402 |
% |
| 403 |
% \DescribeEnv{abstract} |
| 404 |
% The abstract of the paper must be put between |\begin{abstract}| and |
| 405 |
% |\end{abstract}|. Unlike the situation in \progname{amsart} |
| 406 |
% class, abstract may be put \emph{after} |\maketitle|. |
| 407 |
% |
| 408 |
% A paper may have several abstracts in different languages. This |
| 409 |
% sitation is discussed in Section~\ref{sec:non-english}. |
| 410 |
% |
| 411 |
% \DescribeMacro{\maketitle} |
| 412 |
% The macro |\maketitle| typesets the top matter. All top matter |
| 413 |
% information should be specified before this command. |
| 414 |
% |
| 415 |
% |
| 416 |
%\subsubsection{Commands for Editors} |
| 417 |
%\label{sec:editors_commands} |
| 418 |
% |
| 419 |
% The commands described in this section should be used by the editors |
| 420 |
% to insert the information about the published paper. They must be |
| 421 |
% put before the |\maketitle| command. |
| 422 |
% |
| 423 |
% \DescribeMacro{\keyword} |
| 424 |
% The command |\keyword| adds a keyword to the list of keywords. This |
| 425 |
% command may be repeated, for example |
| 426 |
% \begin{verbatim} |
| 427 |
% \keyword{Embedding theorem} |
| 428 |
% \keyword{Relatively hyperbolic group} |
| 429 |
% \end{verbatim} |
| 430 |
% |
| 431 |
% \DescribeMacro{\subject} |
| 432 |
% The command |\subject| has three parameters: whether the subject is |
| 433 |
% primary or secondary, the classification scheme and the subject |
| 434 |
% itself, for example |
| 435 |
% \begin{verbatim} |
| 436 |
% \subject{primary}{msc2000}{20E45} |
| 437 |
% \subject{secondary}{msc2000}{20F65} |
| 438 |
% \end{verbatim} |
| 439 |
% |
| 440 |
% \DescribeMacro{\formatdate}% |
| 441 |
% The macro |\formatdate| is used to format the dates in the |
| 442 |
% commands. Its argument is the date in the format |YYYY-MM-DD|, for |
| 443 |
% example |
| 444 |
% \begin{verbatim} |
| 445 |
% \formatdate{2010-08-13} |
| 446 |
% \end{verbatim} |
| 447 |
% |
| 448 |
% \DescribeMacro{\received} |
| 449 |
% \DescribeMacro{\revised} |
| 450 |
% \DescribeMacro{\accepted} |
| 451 |
% \DescribeMacro{\published} |
| 452 |
% \DescribeMacro{\publishedonline} |
| 453 |
% The commands |\received|, |\revised|, |\accepted|, |\published|, |
| 454 |
% |\publishedonline| accept as a parameter a date in the form |
| 455 |
% |\formatdate|\marg{YYYY-MM-DD}, for example |
| 456 |
% \begin{verbatim} |
| 457 |
% \received{\formatdate{2004-12-24}} |
| 458 |
% \revised{\formatdate{2006-04-12}} |
| 459 |
% \accepted{\formatdate{2007-10-02}} |
| 460 |
% \end{verbatim} |
| 461 |
% |
| 462 |
% \DescribeMacro{\proposed} |
| 463 |
% \DescribeMacro{\seconded} |
| 464 |
% \DescribeMacro{\corresponding} |
| 465 |
% \DescribeMacro{\editor} |
| 466 |
% \DescribeMacro{\version} |
| 467 |
% The macros |\proposed|, |\seconded|, |\corresponding|, |\editor|, |
| 468 |
% |\version| are used to set the corresponding metadata for the |
| 469 |
% editorial process, for example |
| 470 |
% \begin{verbatim} |
| 471 |
% \proposed{E. D. Itor} |
| 472 |
% \seconded{A. S. Sociate} |
| 473 |
% \corresponding{A. U. Thor} |
| 474 |
% \version{2.1} |
| 475 |
% \end{verbatim} |
| 476 |
% |
| 477 |
% |
| 478 |
% |
| 479 |
% \DescribeMacro{\volumenumber} |
| 480 |
% \DescribeMacro{\issuenumber} |
| 481 |
% \DescribeMacro{\publicationyear} |
| 482 |
% \DescribeMacro{\papernumber} |
| 483 |
% \DescribeMacro{\startpage} |
| 484 |
% \DescribeMacro{\endpage} |
| 485 |
% The macros |\volumenumber|, |\issuenumber|, |\publicationyear|, |
| 486 |
% |\papernumber|, |\startpage|, |\endpage| set up the corresponding |
| 487 |
% data for the paper, for example: |
| 488 |
% \begin{verbatim} |
| 489 |
% \volumenumber{172} |
| 490 |
% \issuenumber{1} |
| 491 |
% \publicationyear{2010} |
| 492 |
% \papernumber{1} |
| 493 |
% \startpage{1} |
| 494 |
% \endpage{39} |
| 495 |
% \end{verbatim} |
| 496 |
% Note that if the argument of |\endpage| is empty, \LaTeX{} tries to |
| 497 |
% calculate the last page number as best as it can. |
| 498 |
% |
| 499 |
% \DescribeMacro{\copyrightyear} |
| 500 |
% In the standard copyright statement the copyright year is assumed to |
| 501 |
% be the same as the |\publicationyear|. However, for special cases |
| 502 |
% one can set the copyright year explicitly, for example, |
| 503 |
% \begin{verbatim} |
| 504 |
% \publicationyear{2012} |
| 505 |
% \copyrightyear{2011} |
| 506 |
% \end{verbatim} |
| 507 |
% Note that if you use your own copyright statement instead of the |
| 508 |
% canned one (with the command \cmd{\copyrightnote}), you need to put |
| 509 |
% there the copyright year explicitly instead of using this command. |
| 510 |
% |
| 511 |
% \DescribeMacro{\doinumber}% |
| 512 |
% \DescribeMacro{\mrnumber}% |
| 513 |
% \DescribeMacro{\zblnumber}% |
| 514 |
% \DescribeMacro{\arxivnumber}% |
| 515 |
% The macros |\doinumber|, |\mrnumber| and |\zblnumber| set the |
| 516 |
% information about paper in four major reference databases: DOI |
| 517 |
% (\url{http://www.doi.org/}), MathSciNet |
| 518 |
% (\url{http://www.ams.org/mathscinet/}, Zentralblatt MATH |
| 519 |
% (\url{http://www.zentralblatt-math.org/zmath/}) and arXiv |
| 520 |
% (\url{https://www.arxiv.org}). The use of these |
| 521 |
% macros should be obvious: |
| 522 |
% \begin{verbatim} |
| 523 |
% \doinumber{10.1215/S0012-7094-92-06520-3} |
| 524 |
% \mrnumber{1154181} |
| 525 |
% \zblnumber{0774.14039} |
| 526 |
% \arxivnumber{1234.567890} |
| 527 |
% \end{verbatim} |
| 528 |
% Note the difference between these commands and the bibliography |
| 529 |
% commands discussed in Section~\ref{sec:biblio}. Commands in this |
| 530 |
% Section set up the data for the \emph{current article.} Commands in |
| 531 |
% Section~\ref{sec:biblio} set up the data for the articles in the |
| 532 |
% bibliography list. |
| 533 |
% |
| 534 |
% Normally you should \emph{not} use |\doinumber| command, since the |
| 535 |
% class will construct the standard DOI for the paper from the volume, |
| 536 |
% issue and paper information. Use it \emph{only} if the result is by |
| 537 |
% any reason wrong. |
| 538 |
% |
| 539 |
% |
| 540 |
% \DescribeMacro{\oldsubsections} |
| 541 |
% Starting with version~1.2 we decreased the vertical spacing before |
| 542 |
% |\subsection|. The command |\oldsubsections| restores the ``old'' |
| 543 |
% values. |
| 544 |
% |
| 545 |
% |
| 546 |
% |
| 547 |
% The class has a system of editorial comments and highlighting for |
| 548 |
% communication between copy editors, production editors, journal |
| 549 |
% editors and authors. All these comments are visible only in the |
| 550 |
% |maniscript| mode. In production environment they are not |
| 551 |
% displayed. |
| 552 |
% |
| 553 |
% The important feature of these commands is the notion of |audience|. |
| 554 |
% Each comment or highlighting has an audience in mind, which is the |
| 555 |
% optional argument of the comments and highlights. One can |
| 556 |
% selectively enable the comments for the given audience. There is a |
| 557 |
% special audience called |default|, which is enabled, well, by |
| 558 |
% default. All other audiences must be enabled explicitly. |
| 559 |
% |
| 560 |
% \DescribeMacro{\EditorialComment}% |
| 561 |
% The macro |
| 562 |
% |\EditorialComment|\oarg{audience}\marg{comments}\oarg{vertical |
| 563 |
% offset} typesets |
| 564 |
% the comments on the margins in the |manuscript| mode for the |
| 565 |
% selected audience, for example, |
| 566 |
% \begin{verbatim} |
| 567 |
% Erd\"os proved the following theorem.\EditorialComment{A citation is |
| 568 |
% needed} |
| 569 |
% |
| 570 |
% Erd\"os proved the following |
| 571 |
% theorem~\cite{Erd01}.\EditorialComment[Editor]{Please check the |
| 572 |
% citation} |
| 573 |
% \end{verbatim} |
| 574 |
% |
| 575 |
% The style does not check whether comments overlap, so sometimes you |
| 576 |
% need to manually shift a comment up or down. The second optional |
| 577 |
% argument will do it, for example |
| 578 |
% \begin{verbatim} |
| 579 |
% Erd\"os proved the following |
| 580 |
% theorem~\cite{Erd01}.\EditorialComment[Editor]{Please check the |
| 581 |
% citation}[-5pt] |
| 582 |
% \end{verbatim} |
| 583 |
% |
| 584 |
% \DescribeMacro{\Highlight}% |
| 585 |
% The macro |\Highlight|\oarg{audience}\marg{text} highlights the |
| 586 |
% |text| for the selected |audience|. The highlighting is done using |
| 587 |
% the color selected for the given audience, for example |
| 588 |
% \begin{verbatim} |
| 589 |
% This is described by the following |
| 590 |
% theorem\Highlight{:}\EditorialComment{Added ``:''} |
| 591 |
% |
| 592 |
% This is described by the following |
| 593 |
% theorem\Highlight[Editor]{:}\EditorialComment[Editor]{Do we need |
| 594 |
% ``:'' here?} |
| 595 |
% \end{verbatim} |
| 596 |
% |
| 597 |
% \DescribeMacro{\ECSelect} |
| 598 |
% The audiences to be displayed are selected by the command |
| 599 |
% \cs{ECSelect}\oarg{color}\marg{audience} |
| 600 |
% audiences, for example, |
| 601 |
% \begin{verbatim} |
| 602 |
% \ECSelect{Editor} |
| 603 |
% \ECSelect[teal]{Author} |
| 604 |
% \end{verbatim} |
| 605 |
% The default color is black, and the audience ``default'' is selected |
| 606 |
% by default. |
| 607 |
% |
| 608 |
% \DescribeMacro{\HSelect}% |
| 609 |
% The command \cs{Hselect}\oarg{color}\marg{audience} selects the |
| 610 |
% audience for which the highlght is intended. The optinal argument |
| 611 |
% ``color'' is used for highlighting, for example, |
| 612 |
% \begin{verbatim} |
| 613 |
% \HSelect[green]{Editor} |
| 614 |
% \end{verbatim} |
| 615 |
% The default color is red, and the audience ``default'' is selected by default. |
| 616 |
% |
| 617 |
%\subsection{Additional Macros} |
| 618 |
%\label{sec:add_guide} |
| 619 |
% |
| 620 |
% \DescribeEnv{eqnarray} |
| 621 |
% \DescribeEnv{eqnarray*} |
| 622 |
% Thee class \progname{aomart} loads the class \progname{amsart}. |
| 623 |
% Therefore all familiar \progname{amsmath} commands~\cite{amsldoc} |
| 624 |
% are available. In particular, there are many commands for writing |
| 625 |
% multiline equations (|split|, |align|, |gather|, |multline|, |
| 626 |
% \dots). The environments |eqnarray| and |eqnarray*|, while still |
| 627 |
% avilable, are \emph{not} recommended and should be avoided if |
| 628 |
% possible. |
| 629 |
% |
| 630 |
% \DescribeMacro{\widetilde} |
| 631 |
% \DescribeMacro{\widehat} |
| 632 |
% \DescribeMacro{\widetriangle} |
| 633 |
% \DescribeMacro{\wideparen} |
| 634 |
% \DescribeMacro{\widering} |
| 635 |
% \DescribeMacro{\widebar} |
| 636 |
% A number of ``wide'' mathematical accents is available due to the |
| 637 |
% (internally loaded) package |
| 638 |
% \progname{yhmath}~\cite{Haralambous96:Yhmath}: |\widetilde|, |
| 639 |
% |\widehat|, |\widetriangle|, |\wideparen|, |\widering|, |\widebar|. See |
| 640 |
% Table~\ref{tab:accents} for the example of the usage. |
| 641 |
% |
| 642 |
% \begin{table} |
| 643 |
% \centering |
| 644 |
% \begin{tabular}{ll} |
| 645 |
% \toprule |
| 646 |
% Code & Example \\ |
| 647 |
% \midrule |
| 648 |
% |\widetilde{AB}| & $\widetilde{AB}$\\ |
| 649 |
% |\widehat{AB}| & $\widehat{AB}$\\ |
| 650 |
% |\widetriangle{AB}| & $\widetriangle{AB}$\\ |
| 651 |
% |\wideparen{AB}| & $\wideparen{AB}$\\ |
| 652 |
% |\widering{AB}| & $\widering{AB}$\\ |
| 653 |
% |\widebar{AB}| & $\widebar{AB}$\\ |
| 654 |
% \bottomrule |
| 655 |
% \end{tabular} |
| 656 |
% \caption{Wide Mathematical Accents} |
| 657 |
% \label{tab:accents} |
| 658 |
% \end{table} |
| 659 |
% |
| 660 |
% |
| 661 |
% |
| 662 |
% \DescribeMacro{\fullref}% |
| 663 |
% \DescribeMacro{\pfullref}% |
| 664 |
% \DescribeMacro{\bfullref}% |
| 665 |
% \DescribeMacro{\eqfullref}% |
| 666 |
% \DescribeMacro{\fullpageref}% |
| 667 |
% A set of macros is used to make more convenient clickable references |
| 668 |
% in the online versions of papers. The |
| 669 |
% package~\progname{hyperref}~\cite{Rahtz06:Hyperref} |
| 670 |
% makes clickable reference numbers in the phrases like |
| 671 |
% \begin{verbatim} |
| 672 |
% ...in theorem~\ref{thm:Noeter}... |
| 673 |
% ...see equation~\eqref{eq:alpha}... |
| 674 |
% \end{verbatim} |
| 675 |
% However, it is more convenient for the readers if both |
| 676 |
% the number \emph{and} the word ``theorem'' or ``equation'' were |
| 677 |
% clickable. The macros |\*fullref| solve this problem. Each macro |
| 678 |
% has two arguments: the word and the reference, for example |
| 679 |
% \begin{verbatim} |
| 680 |
% ...in \fullref{theorem}{thm:Noeter}... |
| 681 |
% \end{verbatim} |
| 682 |
% The command |\pfullref| typesets |
| 683 |
% the reference in parentheses. The command |\bfullref| typesets it |
| 684 |
% in brackets, and the command |\eqfullref| uses the |\eqref| |
| 685 |
% command, for example, |
| 686 |
% \begin{verbatim} |
| 687 |
% ...see \eqfullref{equation}{eq:alpha}... |
| 688 |
% \end{verbatim} |
| 689 |
% The similar command |\fullpageref| is used to make the word |
| 690 |
% ``page'' clickable, for example, |
| 691 |
% \begin{verbatim} |
| 692 |
% ...see \eqfullref{equation}{eq:alpha} on |
| 693 |
% \fullpageref{eq:alpha}... |
| 694 |
% \end{verbatim} |
| 695 |
% By default the command adds the word ``page'' to the text. You can |
| 696 |
% override this choice using the optiomal parameter, e.g. |
| 697 |
% \begin{verbatim} |
| 698 |
% \fullpageref[The page]{eq:alpha} starts the discussion of... |
| 699 |
% \end{verbatim} |
| 700 |
% |
| 701 |
% |
| 702 |
% |
| 703 |
% The \progname{Perl} script \path{fullref.pl} can be used to convert |
| 704 |
% change all references to the |\fullref| commands. It works in the |
| 705 |
% following way: |
| 706 |
% \begin{verbatim} |
| 707 |
% perl fullref.pl original.pl > result.pl |
| 708 |
% \end{verbatim} |
| 709 |
% The script converts all instances of combinations |
| 710 |
% ``|word \ref{reference}|'', ``|word~\ref{reference}|'' and |
| 711 |
% ``|word~\pageref{reference}|'' to ``|\fullref{word}| |{reference}|'', and |
| 712 |
% similarly for parenthesized references, |\eqref| commands, and page |
| 713 |
% references. To prevent the converting, just put |\ref{reference}| |
| 714 |
% or |\eqref{reference}| inside braces. The ``word'' here must not |
| 715 |
% start with a backslash (i.e. must not be a macro itself). This |
| 716 |
% prevents disastrous results for phrases like |
| 717 |
% ``|see~\ref{a}, \ref{b}|''. |
| 718 |
% |
| 719 |
% |
| 720 |
% The distribution includes two sample files, \path{aomsample.tex} and |
| 721 |
% \path{aomsample1.tex}, the latter being obtained from the former by |
| 722 |
% the script \path{fullref.pl}. |
| 723 |
% |
| 724 |
% |
| 725 |
% Note that |\autoref| command of \progname{hyperref} provides for |
| 726 |
% another mechanism that achieves the same goal. Unlike |\fullref| |
| 727 |
% command, the command |\autoref| tries to figure out the name of the |
| 728 |
% reference from the context. See the manual~\cite{Rahtz06:Hyperref} |
| 729 |
% for more information. |
| 730 |
% |
| 731 |
%\subsection{Theorems} |
| 732 |
%\label{sec:theorems} |
| 733 |
% |
| 734 |
% \DescribeMacro{\newtheorem} |
| 735 |
% You can use the commands of \progname{amsthm} |
| 736 |
% package~\cite{amsthdoc} like |
| 737 |
% |\newtheorem{lem}{Lemma}| for numbered theorems, or |
| 738 |
% |\newtheorem*{KL}{Klein's Lemma}| for unnumbered theorems, or |
| 739 |
% tune the numbering using the optional arguments of these commands. |
| 740 |
% |
| 741 |
% To provide backward compatibility with some other classes used |
| 742 |
% internally by the \emph{Annals of Mathematics,} the class provides |
| 743 |
% yet another optional argument for the command |\newtheorem|, |
| 744 |
% allowing constructions like |\newtheorem[\it]{lem}| |{Lemma}|. This |
| 745 |
% optional parameter is not used in our typesetting. |
| 746 |
% |
| 747 |
% |
| 748 |
% The class provides two theorem styles: |
| 749 |
% \begin{description} |
| 750 |
% \item[plain:] This is the default theorem style. It is used for |
| 751 |
% Theorem, Lemma, Proposition, Conjecture, Corollary and Claim. |
| 752 |
% \item[definition:] This style is used for Definition, Remark, |
| 753 |
% Notation, Condition, Example etc. |
| 754 |
% \end{description} |
| 755 |
% Note that AMS classes define the third theorem style, |
| 756 |
% \textbf{remark.} In our class remarks are typeset in the |
| 757 |
% \textbf{definition} style. To make the authors' lives easier we |
| 758 |
% define the theorem style \textbf{remark,} which is identical to the |
| 759 |
% theorem style \textbf{definition.} |
| 760 |
% |
| 761 |
% |
| 762 |
% |
| 763 |
%\subsection{Illustrations and color} |
| 764 |
%\label{sec:illustrations} |
| 765 |
% |
| 766 |
% The authors can use the \progname{graphics}, \progname{graphicx}, |
| 767 |
% \progname{PSTricks}, \progname{pgf/tikz}, \progname{Metapost} or |
| 768 |
% other tools to include illustrations |
| 769 |
% (see~\cite{Goossens97:LateXGraphicsCompanion} for a comprehensive |
| 770 |
% discussion of \LaTeX{} graphics possibilities). |
| 771 |
% |
| 772 |
% \DescribeMacro{\includecolorgraphics}% |
| 773 |
% The printed edition of the journal cannot use color illustrations. |
| 774 |
% The online version can, although we recommend against the reliance |
| 775 |
% of color since it might not be accessible for people with color |
| 776 |
% perception problems. If you want to use color illustrations for the |
| 777 |
% online version, you need to prepare two versions, a color one, and a |
| 778 |
% BW (or grayscale one) with \emph{identical sizes and contents}. The |
| 779 |
% command |
| 780 |
% |\includecolorgraphics|\oarg{options}\marg{color\_file}\marg{bw\_file} |
| 781 |
% can be used to select the proper illustration: in the screen mode |
| 782 |
% the color one is chosen, and otherwise the bw one is chosen. |
| 783 |
% |
| 784 |
% |
| 785 |
%\subsection{Funding} |
| 786 |
%\label{sec:ug_funding} |
| 787 |
% |
| 788 |
% \DescribeMacro{\funding}% |
| 789 |
% There is a special command for showing the support for the paper, |
| 790 |
% \cs{funding}\oarg{text} \marg{sponsor}\marg{grantid}. Normally it |
| 791 |
% prints the name of the sponsor and in parentheses the id of the |
| 792 |
% grant, if it is not empty. However, you can override this using the |
| 793 |
% optional argument of the command. For example, the following text |
| 794 |
% \begin{verbatim} |
| 795 |
% AB is grateful to \funding{NASA}{123GH456}, while MJ was supported |
| 796 |
% by \funding{NIH}{}. Both authors acknowledge \funding[the generous |
| 797 |
% help of other agencies]{Department of Defense}{Special project |
| 798 |
% grant}. |
| 799 |
% \end{verbatim} |
| 800 |
% will expand to |
| 801 |
% \begin{verbatim} |
| 802 |
% % AB is grateful to NASA (123GH456), while MJ was supported |
| 803 |
% by NIH. Both authors acknowledge the generous |
| 804 |
% help of other agencies. |
| 805 |
% \end{verbatim} |
| 806 |
% |
| 807 |
% The command will save the information about the grants in the form |
| 808 |
% suitable for automatic processing. |
| 809 |
% |
| 810 |
% |
| 811 |
%\subsection{Bibliography} |
| 812 |
%\label{sec:biblio} |
| 813 |
% |
| 814 |
% The authors are encouraged to use Bib\TeX{} for uniform style of |
| 815 |
% bibliography. The distribution includes the BST files |
| 816 |
% \path{aomplain.bst} and \path{aomalpha.bst}. These files have |
| 817 |
% several additional non-standard fields: |
| 818 |
% \begin{description} |
| 819 |
% \item[mrnumber:] MathSciNet number for the article. |
| 820 |
% \item[zblnumber:] Zentralblatt number for the article. |
| 821 |
% \item[doi:] DOI number for the article. |
| 822 |
% \item[jfmnumber:] JFM number for the article. |
| 823 |
% \item[arxiv:] ArXiv reference for the ArXiv manuscript. |
| 824 |
% \item[url:] If the reference is available online, the corresponding |
| 825 |
% url. |
| 826 |
% \item[venue:] (for \texttt{conference} entries) The place where the |
| 827 |
% conference took place. |
| 828 |
% \item[sortyear:] Some entries do not have a year set up (e.g. some |
| 829 |
% \texttt{unpublished} entries. If you have several entries from |
| 830 |
% the same author, some with a year, and some without, you may want |
| 831 |
% to put them in a certain order. The field |sortyear| overrides |
| 832 |
% |year| for the sorting purposes. |
| 833 |
% \item[titlenote:] this field is like \texttt{note}, but is typeset |
| 834 |
% immediately after a title. It should be used for additional |
| 835 |
% information, for example, |
| 836 |
% \begin{verbatim} |
| 837 |
% @Book{Knuth94:TheTeXbook, |
| 838 |
% author = {Knuth, Donald Ervin}, |
| 839 |
% title = {The \TeX book}, |
| 840 |
% publisher = {Addison-Wesley Publishing Company}, |
| 841 |
% year = 1994, |
| 842 |
% series = {Computers \& Typesetting A}, |
| 843 |
% address = {Reading, MA}, |
| 844 |
% titlenote = {with illustrations by Duane Bibby} |
| 845 |
% } |
| 846 |
% \end{verbatim} |
| 847 |
% \item[totalpages:] some articles (especially published in an electronic |
| 848 |
% format) do not have start and end page numbers; instead you may put |
| 849 |
% the total number of pages. If both \texttt{pages} and |
| 850 |
% \texttt{totalpages} are present, \texttt{pages} take precedence. |
| 851 |
% For books, dissertations, manuals and reports this field stores the |
| 852 |
% total pages in the item, for example, |
| 853 |
% \begin{verbatim} |
| 854 |
% @Book{Arnold89:MathMethodsMechanics, |
| 855 |
% author = {Arnold, V. I.}, |
| 856 |
% title = {Mathematical Methods of Classical Mechanics}, |
| 857 |
% publisher = {Springer}, |
| 858 |
% year = 1989, |
| 859 |
% volume = 60, |
| 860 |
% series = {Graduate Texts in Mathematics}, |
| 861 |
% address = {New York}, |
| 862 |
% edition = {Second}, |
| 863 |
% totalpages = {xvi+516} |
| 864 |
%} |
| 865 |
% \end{verbatim} |
| 866 |
% |
| 867 |
% \end{description} |
| 868 |
% |
| 869 |
% |
| 870 |
% \DescribeMacro{\doi} |
| 871 |
% \DescribeMacro{\mr} |
| 872 |
% \DescribeMacro{\zbl} |
| 873 |
% \DescribeMacro{\jfm} |
| 874 |
% \DescribeMacro{\arxiv} |
| 875 |
% There are several databases routinely used in the science and |
| 876 |
% mathematics communities. Among them are DOI, MathSciNet, |
| 877 |
% Zentralblatt, Jahrbuch Database, ArXiv. Many bibliographies include |
| 878 |
% references to |
| 879 |
% these databases. The commands |\doi|, |\mr|, |\zbl|, |\jfm|, |\arxiv| are |
| 880 |
% used to typeset these references. If you use Bib\TeX{}, these |
| 881 |
% commands are automatically used for the corresponding fields in your |
| 882 |
% database entries. |
| 883 |
% |
| 884 |
% |
| 885 |
%\subsection{Papers in languages other than English} |
| 886 |
%\label{sec:non-english} |
| 887 |
% |
| 888 |
% The recommmended way to typeset papers in languages other than |
| 889 |
% English is \textsl{babel} package~\cite{Braams05:Babel}. For |
| 890 |
% example, to typeset a paper in French (with an English abstract, see |
| 891 |
% below), one puts in the preamble |
| 892 |
% \begin{verbatim} |
| 893 |
% \usepackage[utf8]{inputenx} |
| 894 |
% \usepackage[english,frenchb]{babel} |
| 895 |
% \end{verbatim} |
| 896 |
% |
| 897 |
% Such papers often contain several abstracts: for example, in the |
| 898 |
% language the paper is written \emph{and} in English. Accordingly, |
| 899 |
% \textsl{aomart} allows several abstracts. Each abstract must be put |
| 900 |
% inside a group with the corresponding language selected using |
| 901 |
% \cs{selectanguage} command, for example |
| 902 |
% \begin{verbatim} |
| 903 |
% {\selectlanguage{french}% |
| 904 |
% \begin{abstract} |
| 905 |
% French abstract |
| 906 |
% \end{abstract}} |
| 907 |
% |
| 908 |
% {\selectlanguage{english}% |
| 909 |
% \begin{abstract} |
| 910 |
% English abstract |
| 911 |
% \end{abstract}} |
| 912 |
% \end{verbatim} |
| 913 |
% |
| 914 |
% |
| 915 |
% \StopEventually{% |
| 916 |
% \clearpage |
| 917 |
% |
| 918 |
% \bibliography{aomart} |
| 919 |
% \bibliographystyle{unsrt}} |
| 920 |
% |
| 921 |
% \clearpage |
| 922 |
% |
| 923 |
% |
| 924 |
%\section{Implementation} |
| 925 |
%\label{sec:impl} |
| 926 |
% |
| 927 |
%\subsection{Identification} |
| 928 |
%\label{sec:ident} |
| 929 |
% |
| 930 |
% We start with the declaration who we are. Most |.dtx| files put |
| 931 |
% driver code in a separate driver file |.drv|. We roll this code into the |
| 932 |
% main file, and use the pseudo-guard |<gobble>| for it. |
| 933 |
% \begin{macrocode} |
| 934 |
%<class>\NeedsTeXFormat{LaTeX2e} |
| 935 |
%<*gobble> |
| 936 |
\ProvidesFile{aomart.dtx} |
| 937 |
%</gobble> |
| 938 |
%<class>\ProvidesClass{aomart} |
| 939 |
[2025/08/20 v1.36 Typesetting articles for the Annals of Mathematics] |
| 940 |
% \end{macrocode} |
| 941 |
% |
| 942 |
% |
| 943 |
% |
| 944 |
% And the driver code: |
| 945 |
% \begin{macrocode} |
| 946 |
%<*gobble> |
| 947 |
\documentclass{ltxdoc} |
| 948 |
\usepackage{array,booktabs,amsmath,graphics} |
| 949 |
\let\widebar\overline |
| 950 |
\usepackage{url} |
| 951 |
\usepackage{amsfonts,yhmath} |
| 952 |
\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black, |
| 953 |
pagecolor=black,urlcolor=black,hyperindex=false]{hyperref} |
| 954 |
\PageIndex |
| 955 |
\CodelineIndex |
| 956 |
\RecordChanges |
| 957 |
\EnableCrossrefs |
| 958 |
\begin{document} |
| 959 |
\DocInput{aomart.dtx} |
| 960 |
\end{document} |
| 961 |
%</gobble> |
| 962 |
%<*class> |
| 963 |
% \end{macrocode} |
| 964 |
% |
| 965 |
% |
| 966 |
%\subsection{Options} |
| 967 |
%\label{sec:options} |
| 968 |
% |
| 969 |
% |
| 970 |
% The size-changing options produce a warning: |
| 971 |
% \begin{macrocode} |
| 972 |
\long\def\aom@size@warning#1{% |
| 973 |
\ClassWarning{aomart}{Size-changing option #1 will not be |
| 974 |
honored}}% |
| 975 |
\DeclareOption{8pt}{\aom@size@warning{\CurrentOption}}% |
| 976 |
\DeclareOption{9pt}{\aom@size@warning{\CurrentOption}}% |
| 977 |
\DeclareOption{10pt}{\aom@size@warning{\CurrentOption}}% |
| 978 |
\DeclareOption{11pt}{\aom@size@warning{\CurrentOption}}% |
| 979 |
\DeclareOption{12pt}{\aom@size@warning{\CurrentOption}}% |
| 980 |
% \end{macrocode} |
| 981 |
% |
| 982 |
% \begin{macro}{\if@aom@manuscript@mode} |
| 983 |
% \changes{v0.3}{2010/09/28}{Added manuscript mode} |
| 984 |
% Check whether we are in the manuscript mode |
| 985 |
% \begin{macrocode} |
| 986 |
\newif\if@aom@manuscript@mode |
| 987 |
\@aom@manuscript@modefalse |
| 988 |
\DeclareOption{manuscript}{\@aom@manuscript@modetrue} |
| 989 |
% \end{macrocode} |
| 990 |
% \end{macro} |
| 991 |
% |
| 992 |
% |
| 993 |
% \begin{macro}{\if@aom@screen@mode} |
| 994 |
% \changes{v0.10}{2010/12/20}{Added screen mode} |
| 995 |
% Check whether we are in the screen mode |
| 996 |
% \begin{macrocode} |
| 997 |
\newif\if@aom@screen@mode |
| 998 |
\@aom@screen@modefalse |
| 999 |
\DeclareOption{screen}{\@aom@screen@modetrue} |
| 1000 |
% \end{macrocode} |
| 1001 |
% \end{macro} |
| 1002 |
% |
| 1003 |
% \begin{macro}{\if@aom@olddoi} |
| 1004 |
% \changes{v1.10}{2011/06/21}{Added old DOI processing} |
| 1005 |
% DOI processing is different in the ``old'' and new mode. |
| 1006 |
% \begin{macrocode} |
| 1007 |
\newif\if@aom@olddoi |
| 1008 |
\@aom@olddoifalse |
| 1009 |
\DeclareOption{olddoi}{\@aom@olddoitrue} |
| 1010 |
% \end{macrocode} |
| 1011 |
% |
| 1012 |
% \end{macro} |
| 1013 |
% |
| 1014 |
% |
| 1015 |
% \begin{macro}{\if@aom@doiMMXVI} |
| 1016 |
% \changes{v1.15}{2016/11/18}{Added another options} |
| 1017 |
% DOI processing is different in the 2016 and new mode |
| 1018 |
% \begin{macrocode} |
| 1019 |
\newif\if@aom@doiMMXVI |
| 1020 |
\@aom@doiMMXVIfalse |
| 1021 |
\DeclareOption{doi2016}{\@aom@doiMMXVItrue} |
| 1022 |
% \end{macrocode} |
| 1023 |
% |
| 1024 |
% \end{macro} |
| 1025 |
% |
| 1026 |
% |
| 1027 |
% \begin{macro}{\if@aom@oldkeywords} |
| 1028 |
% \changes{v1.18}{2017/02/11}{Added keywords processing} |
| 1029 |
% Keywords processing is different in the ``old'' and new mode. |
| 1030 |
% \begin{macrocode} |
| 1031 |
\newif\if@aom@oldkeywords |
| 1032 |
\@aom@oldkeywordsfalse |
| 1033 |
\DeclareOption{oldkeywords}{\@aom@oldkeywordstrue} |
| 1034 |
% \end{macrocode} |
| 1035 |
% |
| 1036 |
% \end{macro} |
| 1037 |
% |
| 1038 |
% \begin{macro}{\if@aom@printscheme} |
| 1039 |
% \changes{v1.24}{2020/08/09}{Added optional printing of scheme} |
| 1040 |
% \begin{macrocode} |
| 1041 |
\newif\if@aom@printscheme |
| 1042 |
\@aom@printschemefalse |
| 1043 |
\DeclareOption{printscheme}{\@aom@printschemetrue} |
| 1044 |
% \end{macrocode} |
| 1045 |
% |
| 1046 |
% \end{macro} |
| 1047 |
% |
| 1048 |
% All other options are passed to \progname{amsart}: |
| 1049 |
% \begin{macrocode} |
| 1050 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{amsart}} |
| 1051 |
% \end{macrocode} |
| 1052 |
% |
| 1053 |
% Now we read the configuration file |
| 1054 |
% \begin{macrocode} |
| 1055 |
\InputIfFileExists{aomart.cfg}{% |
| 1056 |
\ClassInfo{aomart}{% |
| 1057 |
Loading configuration file aomart.cfg}}{% |
| 1058 |
\ClassInfo{aomart}{% |
| 1059 |
Configuration file aomart.cfg is not found}} |
| 1060 |
% \end{macrocode} |
| 1061 |
% And process the options: |
| 1062 |
% \begin{macrocode} |
| 1063 |
\ProcessOptions\relax |
| 1064 |
% \end{macrocode} |
| 1065 |
% |
| 1066 |
% |
| 1067 |
%\subsection{Loading Class and Packages} |
| 1068 |
%\label{sec:loading} |
| 1069 |
% |
| 1070 |
% \begin{macro}{\@makefnmark@kernel} |
| 1071 |
% \changes{v1.30}{2025/01/07}{Use kernel version of footnote marks} |
| 1072 |
% AMS redefines |\@makefnmark|. Here we return to the kernel version |
| 1073 |
% \begin{macrocode} |
| 1074 |
\let\@makefnmark@kernel\@makefnmark |
| 1075 |
% \end{macrocode} |
| 1076 |
% \end{macro} |
| 1077 |
% |
| 1078 |
% |
| 1079 |
% We start with the base class |
| 1080 |
% \changes{v1.4}{2011/01/21}{Deleted noamsfonts option} |
| 1081 |
% \begin{macrocode} |
| 1082 |
\LoadClass[11pt]{amsart} |
| 1083 |
% \end{macrocode} |
| 1084 |
% |
| 1085 |
% \begin{macro}{\@makefnmar} |
| 1086 |
% \changes{v1.30}{2025/01/07}{Use kernel version of footnote marks} |
| 1087 |
% Restoring the kernel version |
| 1088 |
% \begin{macrocode} |
| 1089 |
\let\@makefnmark\@makefnmark@kernel |
| 1090 |
% \end{macrocode} |
| 1091 |
% \end{macro} |
| 1092 |
% |
| 1093 |
% |
| 1094 |
% \begin{macro}{\@citex} |
| 1095 |
% \changes{v1.30}{2025/01/07}{Redefined macro} |
| 1096 |
% \changes{v1.32}{2025/01/25}{Added `and' and oxford comma} |
| 1097 |
% We redeine this macro early in case some package wants to patch it. |
| 1098 |
% Basically house style for repeated citations is not [1, 2, 3], but |
| 1099 |
% [1], [2], and [3]. |
| 1100 |
% |
| 1101 |
% Note that we do not want to use |\andify| since it requires fine |
| 1102 |
% control of expansion. Rather, we just count the number of |
| 1103 |
% commas. Below |\@tempcnta| is the total number of cites, and |
| 1104 |
% |\@tempcntb| is the current cite. |
| 1105 |
% \begin{macrocode} |
| 1106 |
\def\@citex[#1]#2{\leavevmode |
| 1107 |
\@tempcnta=0 |
| 1108 |
\@for\@citeb:=#2\do{\advance\@tempcnta by 1}% |
| 1109 |
\@tempcntb=1 |
| 1110 |
\let\@citea\@empty |
| 1111 |
\@cite{\@for\@citeb:=#2\do |
| 1112 |
{\@citea\def\@citea{], [}% |
| 1113 |
\advance\@tempcntb by 1 |
| 1114 |
\ifnum\@tempcnta=\@tempcntb\relax |
| 1115 |
\ifnum\@tempcnta=2\relax |
| 1116 |
\def\@citea{] and~[}% |
| 1117 |
\else |
| 1118 |
\def\@citea{], and~[}% |
| 1119 |
\fi |
| 1120 |
\fi |
| 1121 |
\edef\@citeb{\expandafter\@firstofone\@citeb\@empty}% |
| 1122 |
\if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi |
| 1123 |
\@ifundefined{b@\@citeb}{\hbox{\reset@font\bfseries ?}% |
| 1124 |
\G@refundefinedtrue |
| 1125 |
\@latex@warning |
| 1126 |
{Citation `\@citeb' on page \thepage \space undefined}}% |
| 1127 |
{\@cite@ofmt{\csname b@\@citeb\endcsname}}}}{#1}} |
| 1128 |
% \end{macrocode} |
| 1129 |
% \end{macro} |
| 1130 |
% |
| 1131 |
% A bunch of packages: |
| 1132 |
% \changes{v0.5}{2010/10/24}{Made Roman font the default URL font} |
| 1133 |
% \changes{v0.10}{2010/12/20}{Screen mode triggers special URL |
| 1134 |
% settings} |
| 1135 |
% \changes{v1.1}{2010/12/31}{In manuscript mode the links are always |
| 1136 |
% blue} |
| 1137 |
% \changes{v1.22}{2018/05/21}{In screen mode we no longer crop pages} |
| 1138 |
% \changes{v1.34}{2025/05/06}{We need zref for margin notes} |
| 1139 |
% \begin{macrocode} |
| 1140 |
\RequirePackage{fancyhdr, lastpage, ifpdf, graphicx} |
| 1141 |
\RequirePackage{zref-savepos} |
| 1142 |
\RequirePackage[breaklinks,colorlinks]{hyperref} |
| 1143 |
\if@aom@screen@mode |
| 1144 |
\hypersetup{linkcolor=blue,citecolor=blue, |
| 1145 |
urlcolor=blue}% |
| 1146 |
\else\if@aom@manuscript@mode |
| 1147 |
\hypersetup{linkcolor=blue,citecolor=blue, |
| 1148 |
urlcolor=blue}% |
| 1149 |
\else |
| 1150 |
\hypersetup{linkcolor=black,citecolor=black, |
| 1151 |
urlcolor=black}% |
| 1152 |
\fi\fi |
| 1153 |
\urlstyle{rm} |
| 1154 |
% \end{macrocode} |
| 1155 |
% |
| 1156 |
% \changes{v0.4}{2010/09/29}{Deleted lineno package dependence} |
| 1157 |
% \changes{v1.16}{2016/12/03}{We require environ package} |
| 1158 |
% Amsart has \cs{collect@body} macro. However, we want the \cs{long} |
| 1159 |
% version, so we use \textsl{environ} |
| 1160 |
% \begin{macrocode} |
| 1161 |
\RequirePackage{environ} |
| 1162 |
% \end{macrocode} |
| 1163 |
% |
| 1164 |
% |
| 1165 |
% |
| 1166 |
% |
| 1167 |
%\subsection{Internationalization} |
| 1168 |
%\label{sec:babel} |
| 1169 |
% |
| 1170 |
% There are some papers published in languages other than English. |
| 1171 |
% The \progname{Babel} is expected to be used for them. Here we add some |
| 1172 |
% macros extending captions for these languages. |
| 1173 |
% |
| 1174 |
% |
| 1175 |
% First, let us define English defaults: |
| 1176 |
% |
| 1177 |
% |
| 1178 |
% \begin{macro}{\@aom@by} |
| 1179 |
% \changes{v1.10}{2011/06/21}{Added macro} |
| 1180 |
% This is just ``By'' in English: |
| 1181 |
% \begin{macrocode} |
| 1182 |
\def\@aom@by{By} |
| 1183 |
% \end{macrocode} |
| 1184 |
% \end{macro} |
| 1185 |
% |
| 1186 |
% \begin{macro}{\@aom@and} |
| 1187 |
% \changes{v1.10}{2011/06/21}{Added macro} |
| 1188 |
% This is ``and'' in English: |
| 1189 |
% \begin{macrocode} |
| 1190 |
\def\@aom@and{and} |
| 1191 |
% \end{macrocode} |
| 1192 |
% \end{macro} |
| 1193 |
% |
| 1194 |
% Now we can define internationalization: |
| 1195 |
% \begin{macrocode} |
| 1196 |
\AtBeginDocument{\@ifpackageloaded{babel}{% |
| 1197 |
\addto\captionsfrench{\def\@aom@by{Par}\def\@aom@and{et}}% |
| 1198 |
\addto\captionsgerman{\def\@aom@by{Von}\def\@aom@and{und}}% |
| 1199 |
\addto\captionsenglish{\def\@aom@by{By}\def\@aom@and{and}}}{}} |
| 1200 |
% \end{macrocode} |
| 1201 |
% |
| 1202 |
% |
| 1203 |
%\subsection{Fonts} |
| 1204 |
%\label{sec:fonts} |
| 1205 |
% |
| 1206 |
% \changes{v0.8}{2010/1/16}{Added yhmath} |
| 1207 |
% We use \progname{yhmath} for large symbols: |
| 1208 |
% \begin{macrocode} |
| 1209 |
\RequirePackage{yhmath} |
| 1210 |
% \end{macrocode} |
| 1211 |
% |
| 1212 |
% \changes{v1.23}{2018/12/25}{Made ymath large symbols default} |
| 1213 |
% Since version 1.2 ymath no longer makes its large symbols default. |
| 1214 |
% We override this |
| 1215 |
% \begin{macrocode} |
| 1216 |
\DeclareSymbolFont{largesymbols}{OMX}{yhex}{m}{n} |
| 1217 |
% \end{macrocode} |
| 1218 |
% |
| 1219 |
% \begin{macro}{\widehat} |
| 1220 |
% \begin{macro}{\widetilde} |
| 1221 |
% \changes{v1.23}{2018/12/25}{We are taking wide hat and wide tilde |
| 1222 |
% from amsfonts} |
| 1223 |
% The way \cs{widehat} and \cs{widetilde} are implemented in ymath is |
| 1224 |
% buggy, see |
| 1225 |
% \url{https://www.reddit.com/r/LaTeX/comments/2j7mtn/usepackageamsmath_vs_usepackageyhmath_and_the/}. We use AMS definitions instead |
| 1226 |
% \begin{macrocode} |
| 1227 |
\xdef\widehat#1{\noexpand\@mathmeasure\z@\textstyle{#1}% |
| 1228 |
\noexpand\ifdim\noexpand\wd\z@>\tw@ em% |
| 1229 |
\mathaccent"0\hexnumber@\symAMSb 5B{#1}% |
| 1230 |
\noexpand\else\mathaccent"0362{#1}\noexpand\fi} |
| 1231 |
\xdef\widetilde#1{\noexpand\@mathmeasure\z@\textstyle{#1}% |
| 1232 |
\noexpand\ifdim\noexpand\wd\z@>\tw@ em% |
| 1233 |
\mathaccent"0\hexnumber@\symAMSb 5D{#1}% |
| 1234 |
\noexpand\else\mathaccent"0365{#1}\noexpand\fi} |
| 1235 |
% \end{macrocode} |
| 1236 |
% |
| 1237 |
% \end{macro} |
| 1238 |
% \end{macro} |
| 1239 |
% |
| 1240 |
% \changes{v0.3}{2010/09/26}{Added package mdputu} |
| 1241 |
% \changes{v0.4}{2010/09/28}{Switched to upright digits in italics |
| 1242 |
% everywhere} |
| 1243 |
% \changes{v0.8}{2010/1/16}{Switched to cmtiup} |
| 1244 |
% We need \progname{cmtiup} package, but we may find out it is not |
| 1245 |
% installed. |
| 1246 |
% \begin{macrocode} |
| 1247 |
\IfFileExists{cmtiup.sty}{% |
| 1248 |
\RequirePackage{cmtiup}}{% |
| 1249 |
\ClassWarning{aomart}{The package mdputu is not found.\MessageBreak |
| 1250 |
You need this package to get italics with upright digits!}} |
| 1251 |
% \end{macrocode} |
| 1252 |
% |
| 1253 |
% \begin{macro}{\specialdigits} |
| 1254 |
% \changes{v0.8}{2010/1/16}{Redefined to noop} |
| 1255 |
% A legacy macro. We do not need it anymore. |
| 1256 |
% \begin{macrocode} |
| 1257 |
\def\specialdigits{}% |
| 1258 |
\let\sishape=\itshape |
| 1259 |
\let\textsi=\textit |
| 1260 |
% \end{macrocode} |
| 1261 |
% |
| 1262 |
% \end{macro} |
| 1263 |
% |
| 1264 |
% The \progname{amsart} class defines several options for different |
| 1265 |
% font sizes (10pt, 11pt, etc). We have just one design size for the |
| 1266 |
% articles. |
| 1267 |
% |
| 1268 |
% \begin{macro}{\@typesizes} |
| 1269 |
% \changes{v0.5}{2010/10/24}{Increased LARGE from 16 pt to 17 pt} |
| 1270 |
% \changes{v0.5}{2010/10/24}{Corrected typo in the definition of Small} |
| 1271 |
% The font information in \progname{amsart} is stored in |
| 1272 |
% |\@typesizes| macro. It has 11 typesizes: 5 below and 5 above |
| 1273 |
% |\normalsize| . |
| 1274 |
% \begin{macrocode} |
| 1275 |
\def\@typesizes{% |
| 1276 |
\or{\@vipt}{9}\or{\@viipt}{9}\or{\@viiipt}{9}\or{\@ixpt}{12}% |
| 1277 |
\or{\@xpt}{13}% |
| 1278 |
\or{\@xipt}{14}% normalsize |
| 1279 |
\or{\@xiipt}{15}\or{13}{17}\or{\@xviipt}{20}% |
| 1280 |
\or{19}{23.2}\or{22}{27.8}}% |
| 1281 |
\normalsize \linespacing=\baselineskip |
| 1282 |
% \end{macrocode} |
| 1283 |
% \end{macro} |
| 1284 |
% |
| 1285 |
% |
| 1286 |
% \begin{macro}{\widebar} |
| 1287 |
% The functionality of |\widebar| coincides with that of |
| 1288 |
% \progname{amsmath} |\overline|: |
| 1289 |
% \begin{macrocode} |
| 1290 |
\let\widebar\overline |
| 1291 |
% \end{macrocode} |
| 1292 |
% \end{macro} |
| 1293 |
% |
| 1294 |
% |
| 1295 |
%\subsection{Page Dimensions and Paragraphing} |
| 1296 |
%\label{sec:page} |
| 1297 |
% |
| 1298 |
% \begin{macro}{\textwidth} |
| 1299 |
% \begin{macro}{\textheight} |
| 1300 |
% These are from the old \progname{aomamlt2e}: |
| 1301 |
% \begin{macrocode} |
| 1302 |
\setlength{\textwidth}{31pc} |
| 1303 |
\setlength{\textheight}{48pc} |
| 1304 |
% \end{macrocode} |
| 1305 |
% \end{macro} |
| 1306 |
% \end{macro} |
| 1307 |
% |
| 1308 |
% \begin{macro}{\evensidemargin} |
| 1309 |
% \begin{macro}{\oddsidemargin} |
| 1310 |
% The margins: |
| 1311 |
% \begin{macrocode} |
| 1312 |
\oddsidemargin=.65in |
| 1313 |
\evensidemargin=.65in |
| 1314 |
% \end{macrocode} |
| 1315 |
% |
| 1316 |
% \end{macro} |
| 1317 |
% \end{macro} |
| 1318 |
% |
| 1319 |
% \begin{macro}{\footins} |
| 1320 |
% \begin{macro}{\topskip} |
| 1321 |
% \begin{macro}{\abovedisplayskip} |
| 1322 |
% \begin{macro}{\belowdisplayskip} |
| 1323 |
% \changes{v0.6}{2010/10/03}{Changed belowdisplayskip} |
| 1324 |
% Some skips from \progname{aomamlt2e}: |
| 1325 |
% \begin{macrocode} |
| 1326 |
\setlength{\topskip}{12pt} |
| 1327 |
\setlength{\abovedisplayskip}{6.95pt plus3.5pt minus 3pt} |
| 1328 |
\setlength{\belowdisplayskip}{6.95pt plus4.5pt minus 3pt} |
| 1329 |
\setlength{\skip\footins}{20pt} |
| 1330 |
\setlength{\dimen\footins}{3in} |
| 1331 |
% \end{macrocode} |
| 1332 |
% \end{macro} |
| 1333 |
% \end{macro} |
| 1334 |
% \end{macro} |
| 1335 |
% \end{macro} |
| 1336 |
% |
| 1337 |
% |
| 1338 |
% \begin{macro}{\footskip} |
| 1339 |
% Some space for footnotes: |
| 1340 |
% \begin{macrocode} |
| 1341 |
\setlength\footskip{30pt} |
| 1342 |
% \end{macrocode} |
| 1343 |
% |
| 1344 |
% \end{macro} |
| 1345 |
% |
| 1346 |
% \begin{macro}{\parskip} |
| 1347 |
% \begin{macro}{\parindent} |
| 1348 |
% Paragraph shape: |
| 1349 |
% \begin{macrocode} |
| 1350 |
\setlength{\parindent}{22pt} |
| 1351 |
\setlength{\parskip}{\z@} |
| 1352 |
% \end{macrocode} |
| 1353 |
% \end{macro} |
| 1354 |
% \end{macro} |
| 1355 |
% |
| 1356 |
% \begin{macro}{\widowpenalty} |
| 1357 |
% \begin{macro}{\clubpenalty} |
| 1358 |
% We suppress widows and clubs: |
| 1359 |
% \begin{macrocode} |
| 1360 |
\widowpenalty=10000 |
| 1361 |
\clubpenalty=10000 |
| 1362 |
% \end{macrocode} |
| 1363 |
% \end{macro} |
| 1364 |
% \end{macro} |
| 1365 |
% |
| 1366 |
% \changes{v2.30}{2025/01/07}{Changed the margins for enumerate} |
| 1367 |
% AMS defines the margins for lists |\AtBeginDocument|. Our lists are |
| 1368 |
% tighter |
| 1369 |
% \begin{macrocode} |
| 1370 |
\AtBeginDocument{% |
| 1371 |
\labelsep=5pt\relax |
| 1372 |
\settowidth\leftmargini{\labelenumi\hskip\labelsep}% |
| 1373 |
\leftmargin=\leftmargini |
| 1374 |
\labelwidth=\leftmargini \advance\labelwidth-\labelsep |
| 1375 |
\@listi} |
| 1376 |
% \end{macrocode} |
| 1377 |
% |
| 1378 |
% \begin{macro}{\itemize} |
| 1379 |
% \changes{v2.32}{2025/01/25}{Changed the margins for itemize} |
| 1380 |
% \begin{macrocode} |
| 1381 |
\renewenvironment{itemize}{% |
| 1382 |
\ifnum\@itemdepth>3 \@toodeep |
| 1383 |
\else \advance\@itemdepth\@ne |
| 1384 |
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% |
| 1385 |
\list{\csname\@itemitem\endcsname}% |
| 1386 |
{\settowidth\leftmargin{\labelitemi\hskip\labelsep}% |
| 1387 |
\def\makelabel##1{\hss\llap{\upshape##1}}}% |
| 1388 |
\fi |
| 1389 |
}{% |
| 1390 |
\endlist |
| 1391 |
} |
| 1392 |
% \end{macrocode} |
| 1393 |
% \end{macro} |
| 1394 |
% |
| 1395 |
%\subsection{Headers} |
| 1396 |
%\label{sec:headers} |
| 1397 |
% |
| 1398 |
% \begin{macro}{\headsep} |
| 1399 |
% Separation between the header and the body |
| 1400 |
% \begin{macrocode} |
| 1401 |
\setlength{\headsep}{14pt} |
| 1402 |
% \end{macrocode} |
| 1403 |
% \begin{macro}{\headheight} |
| 1404 |
% \changes{v2.28}{2024/06/08}{Increased} |
| 1405 |
% Slightly increasing head height |
| 1406 |
% \begin{macrocode} |
| 1407 |
\setlength{\headheight}{18.0pt} |
| 1408 |
% \end{macrocode} |
| 1409 |
% \end{macro} |
| 1410 |
% \end{macro} |
| 1411 |
% \begin{macro}{\headrulewidth} |
| 1412 |
% \begin{macro}{\footrulewidth} |
| 1413 |
% We do not want decorative rules in the journal: |
| 1414 |
% \begin{macrocode} |
| 1415 |
\renewcommand{\headrulewidth}{0pt} |
| 1416 |
\renewcommand{\footrulewidth}{0pt} |
| 1417 |
% \end{macrocode} |
| 1418 |
% \end{macro} |
| 1419 |
% \end{macro} |
| 1420 |
% |
| 1421 |
% |
| 1422 |
% \begin{macro}{\@aom@linecount} |
| 1423 |
% \changes{v0.4}{2010/09/29}{Added macro} |
| 1424 |
% This is the box displayed in the manuscript mode |
| 1425 |
% \begin{macrocode} |
| 1426 |
\if@aom@manuscript@mode |
| 1427 |
\newsavebox{\@aom@linecount} |
| 1428 |
\savebox{\@aom@linecount}[4em][t]{\parbox[t]{4em}{% |
| 1429 |
\@tempcnta\@ne\relax |
| 1430 |
\loop{\underline{\scriptsize\the\@tempcnta}}\\ |
| 1431 |
\advance\@tempcnta by \@ne\ifnum\@tempcnta<43\repeat}} |
| 1432 |
\fi |
| 1433 |
% \end{macrocode} |
| 1434 |
% |
| 1435 |
% \end{macro} |
| 1436 |
% |
| 1437 |
% \changes{v0.4}{2010/09/29}{Used line numbers for headings} |
| 1438 |
% \changes{v0.5}{2010/10/24}{Added extra footer in manuscript mode} |
| 1439 |
% \changes{v0.5}{2010/10/24}{Corrected the byg with math in headers} |
| 1440 |
% \changes{v0.8}{2010/11/16}{Changed authors in header} |
| 1441 |
% It is easy to set up headers with \progname{fancyhdr}: |
| 1442 |
% \begin{macrocode} |
| 1443 |
\pagestyle{fancy} |
| 1444 |
\fancyhead{} |
| 1445 |
\fancyfoot{} |
| 1446 |
\fancyhead[CO]{\scriptsize\shorttitle} |
| 1447 |
\fancyhead[RO,LE]{\footnotesize\thepage} |
| 1448 |
\if@aom@manuscript@mode |
| 1449 |
\fancyhead[LE]{\footnotesize\thepage\begin{picture}(0,0)% |
| 1450 |
\put(-26,-25){\usebox{\@aom@linecount}}% |
| 1451 |
\end{picture}} |
| 1452 |
\fancyhead[LO]{\begin{picture}(0,0)% |
| 1453 |
\put(-21,-25){\usebox{\@aom@linecount}}% |
| 1454 |
\end{picture}} |
| 1455 |
\fancyfoot[C]{\scriptsize Proof: page numbers may be temporary} |
| 1456 |
\fi |
| 1457 |
\fancyhead[CE]{\scriptsize\MakeUppercase\shortauthors} |
| 1458 |
% \end{macrocode} |
| 1459 |
% |
| 1460 |
% \changes{v0.3}{2010/09/26}{Added DOI number in headers} |
| 1461 |
% \changes{v0.9}{2010/12/04}{Changed font for the folio on the first |
| 1462 |
% page} |
| 1463 |
% \changes{v1.3}{2011/01/07}{Corrected bug with doinumber} |
| 1464 |
% The first page has the special headers. The style |firstpage| is |
| 1465 |
% invoked by \progname{amsart}; here we just redefine it. |
| 1466 |
% \begin{macrocode} |
| 1467 |
\fancypagestyle{firstpage}{% |
| 1468 |
\fancyhf{}% |
| 1469 |
\if@aom@manuscript@mode |
| 1470 |
\lhead{\begin{picture}(0,0)% |
| 1471 |
\put(-21,-25){\usebox{\@aom@linecount}}% |
| 1472 |
\end{picture}} |
| 1473 |
\fi |
| 1474 |
\chead{\scriptsize% |
| 1475 |
\href{\@annalsurl}{Annals of Mathematics} \textbf{\currentvolume} |
| 1476 |
(\currentyear), |
| 1477 |
% \end{macrocode} |
| 1478 |
% \changes{v1.7}{2011/03/08}{Suppressed page number in the header for |
| 1479 |
% one-page articles} |
| 1480 |
% We always print the starting page. However, we print the last page |
| 1481 |
% only if it does not coincide with the first page. There are two |
| 1482 |
% cases here: first, the last page may still be |
| 1483 |
% |\pageref{LastPage}|. In this case we need to extract the numerical |
| 1484 |
% value of the counter---note that hyperref is in action! |
| 1485 |
% Second, we could redefine the last page, and it is no |
| 1486 |
% longer |\pageref{LastPage}|. In this case we need to compare the |
| 1487 |
% value with the first page. |
| 1488 |
% \begin{macrocode} |
| 1489 |
\start@page% |
| 1490 |
\def\tempa{\pageref{LastPage}}% |
| 1491 |
\edef\tempb{\start@page}% |
| 1492 |
\ifx\tempa\end@page |
| 1493 |
\edef\tempa{\HyPsd@@@pageref{LastPage}}% |
| 1494 |
\else |
| 1495 |
\edef\tempa{\end@page}% |
| 1496 |
\fi |
| 1497 |
\ifx\tempa\tempb\else--\end@page\fi\\ |
| 1498 |
\ifx\@doinumber\@empty\else |
| 1499 |
\edef\@doinumber{\@doinumber}% |
| 1500 |
\expandafter\doi\expandafter{\@doinumber}\fi}% |
| 1501 |
\cfoot{\footnotesize\thepage}}% |
| 1502 |
% \end{macrocode} |
| 1503 |
% |
| 1504 |
% \begin{macro}{\annalsurl} |
| 1505 |
% \changes{v1.14a}{2015/02/18}{New url} |
| 1506 |
% The command to set up the URL of the journal |
| 1507 |
% \begin{macrocode} |
| 1508 |
\def\annalsurl#1{\gdef\@annalsurl{#1}} |
| 1509 |
\annalsurl{http://annals.math.princeton.edu/about} |
| 1510 |
% \end{macrocode} |
| 1511 |
% |
| 1512 |
% \end{macro} |
| 1513 |
% |
| 1514 |
% |
| 1515 |
%\subsection{Top Matter Macros} |
| 1516 |
%\label{sec:top_matter_code} |
| 1517 |
% |
| 1518 |
% We make these macros allowed only in the preamble: |
| 1519 |
% \begin{macrocode} |
| 1520 |
\@onlypreamble{\title} |
| 1521 |
\@onlypreamble{\author} |
| 1522 |
\@onlypreamble{\contrib} |
| 1523 |
\@onlypreamble{\email} |
| 1524 |
\@onlypreamble{\address} |
| 1525 |
\@onlypreamble{\curraddr} |
| 1526 |
\@onlypreamble{\urladdr} |
| 1527 |
\@onlypreamble{\orcid} |
| 1528 |
\@onlypreamble{\givenname} |
| 1529 |
\@onlypreamble{\fulladdress} |
| 1530 |
\@onlypreamble{\surname} |
| 1531 |
\@onlypreamble{\thanks} |
| 1532 |
\@onlypreamble{\keyword} |
| 1533 |
\@onlypreamble{\subject} |
| 1534 |
\@onlypreamble{\received} |
| 1535 |
\@onlypreamble{\revised} |
| 1536 |
\@onlypreamble{\accepted} |
| 1537 |
\@onlypreamble{\published} |
| 1538 |
\@onlypreamble{\publishedonline} |
| 1539 |
\@onlypreamble{\proposed} |
| 1540 |
\@onlypreamble{\seconded} |
| 1541 |
\@onlypreamble{\corresponding} |
| 1542 |
\@onlypreamble{\editor} |
| 1543 |
\@onlypreamble{\version} |
| 1544 |
\@onlypreamble{\volumenumber} |
| 1545 |
\@onlypreamble{\issuenumber} |
| 1546 |
\@onlypreamble{\publicationyear} |
| 1547 |
\@onlypreamble{\copyrightnote} |
| 1548 |
\@onlypreamble{\copyrighyear} |
| 1549 |
\@onlypreamble{\papernumber} |
| 1550 |
\@onlypreamble{\startpage} |
| 1551 |
\@onlypreamble{\endpage} |
| 1552 |
\@onlypreamble{\doinumber} |
| 1553 |
\@onlypreamble{\mrnumber} |
| 1554 |
\@onlypreamble{\zblnumber} |
| 1555 |
\@onlypreamble{\arxivnumber} |
| 1556 |
% \end{macrocode} |
| 1557 |
% |
| 1558 |
% |
| 1559 |
% Most top matter macros are defined in \progname{amsart}. Here we |
| 1560 |
% just add some new macros and redefine some. |
| 1561 |
% |
| 1562 |
% \begin{macro}{\fulladdress} |
| 1563 |
% \changes{v1.11}{2012/08/16}{Added macro} |
| 1564 |
% \changes{v1.16}{2016/12/03}{Redefined} |
| 1565 |
% \begin{macro}{\givenname} |
| 1566 |
% \changes{v1.16}{2016/12/03}{Redefined} |
| 1567 |
% \begin{macro}{\surname} |
| 1568 |
% \changes{v1.16}{2016/12/03}{Redefined} |
| 1569 |
% We store the information to output it later in the rpi file |
| 1570 |
% \begin{macrocode} |
| 1571 |
\def\@names{} |
| 1572 |
\def\givenname#1{\g@addto@macro\@names{givenname=#1;}} |
| 1573 |
\def\surname#1{\g@addto@macro\@names{surname=#1;}} |
| 1574 |
\def\fulladdress#1{\g@addto@macro\@names{fulladdress=#1;}} |
| 1575 |
% \end{macrocode} |
| 1576 |
% \end{macro} |
| 1577 |
% \end{macro} |
| 1578 |
% \end{macro} |
| 1579 |
% |
| 1580 |
% \begin{macro}{\author} |
| 1581 |
% \changes{v1.16}{2016/12/03}{Redefined amsart definition} |
| 1582 |
% We add mangling of \cs{@names} to the amsart macro |
| 1583 |
% \begin{macrocode} |
| 1584 |
\renewcommand{\author}[2][]{% |
| 1585 |
\ifx\@empty\authors |
| 1586 |
\gdef\authors{#2}% |
| 1587 |
\g@addto@macro\@names{author=#2;}% |
| 1588 |
\else |
| 1589 |
\g@addto@macro\authors{\and#2}% |
| 1590 |
\g@addto@macro\@names{\and author=#2;}% |
| 1591 |
\fi |
| 1592 |
\gdef\aom@current@orcid@target{\authors}% |
| 1593 |
\@ifnotempty{#1}{% |
| 1594 |
\ifx\@empty\shortauthors |
| 1595 |
\gdef\shortauthors{#1}% |
| 1596 |
\else |
| 1597 |
\g@addto@macro\shortauthors{\and#1}% |
| 1598 |
\fi |
| 1599 |
}% |
| 1600 |
\g@addto@macro\addresses{\author{#2}}% |
| 1601 |
} |
| 1602 |
\edef\author{\@nx\@dblarg |
| 1603 |
\@xp\@nx\csname\string\author\endcsname} |
| 1604 |
% \end{macrocode} |
| 1605 |
% |
| 1606 |
% \end{macro} |
| 1607 |
% |
| 1608 |
% \begin{macro}{\@currentcontribution} |
| 1609 |
% \changes{v1.26}{2022/01/18}{Introduced macro} |
| 1610 |
% The current contribution |
| 1611 |
% \begin{macrocode} |
| 1612 |
\def\@currentcontribution{} |
| 1613 |
% \end{macrocode} |
| 1614 |
% \end{macro} |
| 1615 |
% |
| 1616 |
% \begin{macro}{\@currentcontributors} |
| 1617 |
% \changes{v1.26}{2022/01/18}{Introduced macro} |
| 1618 |
% The current contributors with the same contribution |
| 1619 |
% \begin{macrocode} |
| 1620 |
\def\@currentcontributors{} |
| 1621 |
% \end{macrocode} |
| 1622 |
% |
| 1623 |
% \end{macro} |
| 1624 |
% |
| 1625 |
% \begin{macro}{\contribs} |
| 1626 |
% \changes{v1.26}{2022/01/18}{Introduced macro} |
| 1627 |
% All contributors to the paper |
| 1628 |
% \begin{macrocode} |
| 1629 |
\def\contribs{} |
| 1630 |
% \end{macrocode} |
| 1631 |
% \end{macro} |
| 1632 |
% |
| 1633 |
% \begin{macro}{\if@startcontribgroup} |
| 1634 |
% \changes{v1.26}{2022/01/19}{Introduced macro} |
| 1635 |
% A switch whether the new group is started |
| 1636 |
% \begin{macrocode} |
| 1637 |
\newif\if@startcontribgroup |
| 1638 |
\@startcontribgroupfalse |
| 1639 |
% \end{macrocode} |
| 1640 |
% \end{macro} |
| 1641 |
% |
| 1642 |
% \begin{macro}{\@processcurrentcontribgroup} |
| 1643 |
% \changes{v1.26}{2022/01/19}{Introduced macro} |
| 1644 |
% Add current contributors to \cs{contributors} |
| 1645 |
% \begin{macrocode} |
| 1646 |
\def\@processcurrentcontribgroup{% |
| 1647 |
\ifx\@currentcontributors\@empty\else |
| 1648 |
\def\@@and{{\upshape \@aom@and}}% |
| 1649 |
\author@andify\@currentcontributors |
| 1650 |
\ifx\contribs\@empty\else |
| 1651 |
\g@addto@macro\contribs{\and}% |
| 1652 |
\fi |
| 1653 |
\expandafter\g@addto@macro\expandafter\contribs |
| 1654 |
\expandafter{\@currentcontribution}% |
| 1655 |
\g@addto@macro\contribs{\space}% |
| 1656 |
\expandafter\g@addto@macro\expandafter\contribs |
| 1657 |
\expandafter{\@currentcontributors}% |
| 1658 |
\fi |
| 1659 |
} |
| 1660 |
% \end{macrocode} |
| 1661 |
% |
| 1662 |
% \end{macro} |
| 1663 |
% |
| 1664 |
% \begin{macro}{\contrib} |
| 1665 |
% \changes{v1.26}{2022/01/19}{Redefined amsart macro} |
| 1666 |
% \changes{v1.28}{2024/06/08}{Added typesetting orcids} |
| 1667 |
% The processing of contributors. Contributors are separated into |
| 1668 |
% groups with the same contribution. Within the group one can omit |
| 1669 |
% the contribution. |
| 1670 |
% \begin{macrocode} |
| 1671 |
\renewcommand{\contrib}[2][]{% |
| 1672 |
\def\@tempa{#1}% |
| 1673 |
\gdef\aom@current@orcid@target{\@currentcontributors}% |
| 1674 |
\@startcontribgrouptrue |
| 1675 |
\ifx\@tempa\@empty\relax |
| 1676 |
\ifx\@currentcontribution\@empty\relax |
| 1677 |
\ClassError{aomart}{You must define contribution for |
| 1678 |
contributors}{The first \contrib command must have the |
| 1679 |
optional argument indicating the contribution}% |
| 1680 |
\else |
| 1681 |
\@startcontribgroupfalse |
| 1682 |
\fi |
| 1683 |
\fi |
| 1684 |
\ifx\@currentcontribution\@tempa\relax |
| 1685 |
\@startcontribgroupfalse |
| 1686 |
\fi |
| 1687 |
\if@startcontribgroup |
| 1688 |
\@processcurrentcontribgroup |
| 1689 |
\gdef\@currentcontribution{#1}% |
| 1690 |
\gdef\@currentcontributors{#2}% |
| 1691 |
\else |
| 1692 |
\g@addto@macro\@currentcontributors{\and#2}% |
| 1693 |
\fi |
| 1694 |
\g@addto@macro\@names{\and contributor=#2;}% |
| 1695 |
\g@addto@macro\@names{role=}% |
| 1696 |
\expandafter\g@addto@macro\expandafter% |
| 1697 |
\@names\expandafter{\@currentcontribution}% |
| 1698 |
\g@addto@macro\@names{;}% |
| 1699 |
\g@addto@macro\addresses{\author{#2}}% |
| 1700 |
} |
| 1701 |
% \end{macrocode} |
| 1702 |
% |
| 1703 |
% \end{macro} |
| 1704 |
% |
| 1705 |
% \begin{macro}{\email} |
| 1706 |
% \changes{v1.16}{2016/12/03}{Redefined amsart definition} |
| 1707 |
% We change amsart macro to output metadata |
| 1708 |
% \begin{macrocode} |
| 1709 |
\renewcommand{\email}[2][]{% |
| 1710 |
\g@addto@macro\addresses{\email{#1}{#2}}% |
| 1711 |
\g@addto@macro\@names{email=#2;}% |
| 1712 |
} |
| 1713 |
% \end{macrocode} |
| 1714 |
% |
| 1715 |
% \end{macro} |
| 1716 |
% \begin{macro}{\urladdr} |
| 1717 |
% \changes{v1.16}{2016/12/03}{Redefined amsart definition} |
| 1718 |
% We change amsart macro to output metadata |
| 1719 |
% \begin{macrocode} |
| 1720 |
\renewcommand{\urladdr}[2][]{% |
| 1721 |
\g@addto@macro\addresses{\urladdr{#1}{#2}}% |
| 1722 |
\g@addto@macro\@names{urladdr=#2;}% |
| 1723 |
} |
| 1724 |
% \end{macrocode} |
| 1725 |
% |
| 1726 |
% \end{macro} |
| 1727 |
% |
| 1728 |
% |
| 1729 |
% \begin{macro}{\aom@current@orcid@target} |
| 1730 |
% \changes{v1.28}{2024/06/08}{Added macro} |
| 1731 |
% Each new orcid can be added either to the authors or to the |
| 1732 |
% contributors. This macro defines where it goes |
| 1733 |
% \begin{macrocode} |
| 1734 |
\def\aom@current@orcid@target{\authors} |
| 1735 |
% \end{macrocode} |
| 1736 |
% \end{macro} |
| 1737 |
% |
| 1738 |
% \begin{macro}{\orcid} |
| 1739 |
% \changes{v1.18}{2017/02/15}{Added macro} |
| 1740 |
% \changes{v1.28}{2024/06/08}{Added typesetting orcid} |
| 1741 |
% Orcid also outputs metadata |
| 1742 |
% \begin{macrocode} |
| 1743 |
\newcommand{\orcid}[1]{% |
| 1744 |
\g@addto@macro\addresses{\orcid{#1}}% |
| 1745 |
\g@addto@macro\@names{orcid=#1;}% |
| 1746 |
\expandafter\g@addto@macro\aom@current@orcid@target{\aom@orcidlink{#1}}% |
| 1747 |
} |
| 1748 |
% \end{macrocode} |
| 1749 |
% |
| 1750 |
% \end{macro} |
| 1751 |
% |
| 1752 |
% \begin{macro}{\aom@orcidlink} |
| 1753 |
% \changes{v1.28}{2024/06/08}{Added macro} |
| 1754 |
% The package orcidlink~\cite{orcidlink} requires TikZ, so here we |
| 1755 |
% reproduce its functionality using our own version of orcid logo. |
| 1756 |
% Note that the original logo is licenses under CC0, see |
| 1757 |
% \url{https://orcid.figshare.com/articles/figure/ORCID_iD_icon_graphics/5008697} |
| 1758 |
% \begin{macrocode} |
| 1759 |
\newcommand\aom@orcidlink[1]{\kern0.2ex\href{https://orcid.org/#1}{\includecolorgraphics[height=2ex]{aom_orcid_logo}{aom_orcid_logo_bw}}} |
| 1760 |
% \end{macrocode} |
| 1761 |
% \end{macro} |
| 1762 |
% |
| 1763 |
% \begin{macro}{\keyword} |
| 1764 |
% Actually \progname{amsart} has |\kewords| macro. It redefines |
| 1765 |
% |\@keywords|. Our macro adds to the stack instead. |
| 1766 |
% \begin{macrocode} |
| 1767 |
\def\keyword#1{\ifx\@keywords\@empty\gdef\@keywords{#1}\else |
| 1768 |
\g@addto@macro\@keywords{, #1}\fi} |
| 1769 |
% \end{macrocode} |
| 1770 |
% \end{macro} |
| 1771 |
% |
| 1772 |
% \begin{macro}{\subject} |
| 1773 |
% \changes{v1.18}{2017/02/15}{Drop scheme and primary/secondary} |
| 1774 |
% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects |
| 1775 |
% separated} |
| 1776 |
% \changes{v1.24}{2020/08/09}{Added scheme} |
| 1777 |
% Subjects. |
| 1778 |
% \begin{macrocode} |
| 1779 |
\let\@primarysubjects\@empty |
| 1780 |
\let\@secondarysubjects\@empty |
| 1781 |
\let\@primaryscheme\@empty |
| 1782 |
\let\@secondaryschme\@empty |
| 1783 |
\def\subject#1#2#3{% |
| 1784 |
\expandafter\ifx\csname @#1subjects\endcsname\@empty\relax |
| 1785 |
\expandafter\gdef\csname @#1subjects\endcsname{#3}% |
| 1786 |
\else |
| 1787 |
\expandafter\g@addto@macro\csname @#1subjects\endcsname{, #3}% |
| 1788 |
\fi |
| 1789 |
\if@aom@printscheme |
| 1790 |
\expandafter\g@addto@macro\csname @#1subjects\endcsname{% |
| 1791 |
~(#2)}% |
| 1792 |
\fi} |
| 1793 |
% \end{macrocode} |
| 1794 |
% |
| 1795 |
% \end{macro} |
| 1796 |
% |
| 1797 |
% |
| 1798 |
% \begin{macro}{\formatdate} |
| 1799 |
% This just sends the date to the special macro |\@formatdate| |
| 1800 |
% \begin{macrocode} |
| 1801 |
\def\formatdate#1{\@formatdate#1\@endformatdate} |
| 1802 |
% \end{macrocode} |
| 1803 |
% \end{macro} |
| 1804 |
% |
| 1805 |
% \begin{macro}{\@formatdate} |
| 1806 |
% This macro takes date in the form YYYY-MM-DD and properly formats |
| 1807 |
% it. Note how we delete the leading zero in dates like April 02. |
| 1808 |
% \begin{macrocode} |
| 1809 |
\def\@formatdate#1-#2-#3\@endformatdate{% |
| 1810 |
\@tempcnta=#3\relax |
| 1811 |
\ifcase#2\or |
| 1812 |
January\or February\or March\or April\or May\or June\or |
| 1813 |
July\or August\or September\or October\or November\or December\fi |
| 1814 |
\space\the\@tempcnta,\space#1} |
| 1815 |
% \end{macrocode} |
| 1816 |
% |
| 1817 |
% \end{macro} |
| 1818 |
% |
| 1819 |
% \begin{macro}{\received} |
| 1820 |
% \begin{macro}{\revised} |
| 1821 |
% \begin{macro}{\accepted} |
| 1822 |
% \begin{macro}{\published} |
| 1823 |
% \begin{macro}{\publishedonline} |
| 1824 |
% The following macros add stuff to the footnotes material: |
| 1825 |
% \begin{macrocode} |
| 1826 |
\def\received#1{\def\@received{#1}} |
| 1827 |
\let\@received\@empty |
| 1828 |
\def\revised#1{\def\@revised{#1}} |
| 1829 |
\let\@revised\@empty |
| 1830 |
\def\accepted#1{\def\@accepted{#1}} |
| 1831 |
\let\@accepted\@empty |
| 1832 |
\def\published#1{\def\@published{#1}} |
| 1833 |
\let\@published\@empty |
| 1834 |
\def\publishedonline#1{\def\@publishedonline{#1}} |
| 1835 |
\let\@publishedonline\@empty |
| 1836 |
% \end{macrocode} |
| 1837 |
% |
| 1838 |
% \end{macro} |
| 1839 |
% \end{macro} |
| 1840 |
% \end{macro} |
| 1841 |
% \end{macro} |
| 1842 |
% \end{macro} |
| 1843 |
% |
| 1844 |
% The next macros mimic the functionality of \progname{amsart} |
| 1845 |
% |\issueinfo| command. Note that |\issueinfo| still works. |
| 1846 |
% \begin{macro}{\volumenumber} |
| 1847 |
% This sets the volume of the paper |
| 1848 |
% \begin{macrocode} |
| 1849 |
\def\volumenumber#1{\def\currentvolume{#1}} |
| 1850 |
% \end{macrocode} |
| 1851 |
% \end{macro} |
| 1852 |
% \begin{macro}{\issuenumber} |
| 1853 |
% This sets the issue of the paper: |
| 1854 |
% \begin{macrocode} |
| 1855 |
\def\issuenumber#1{\def\currentissue{#1}} |
| 1856 |
% \end{macrocode} |
| 1857 |
% \end{macro} |
| 1858 |
% \begin{macro}{\publicationyear} |
| 1859 |
% This sets the year of the paper |
| 1860 |
% \begin{macrocode} |
| 1861 |
\def\publicationyear#1{\def\currentyear{#1}} |
| 1862 |
% \end{macrocode} |
| 1863 |
% \end{macro} |
| 1864 |
% \begin{macro}{\papernumber} |
| 1865 |
% \changes{v1.0}{2010/12/21}{Added macro} |
| 1866 |
% This is absent from the |\issueinfo|. |
| 1867 |
% \begin{macrocode} |
| 1868 |
\def\papernumber#1{\def\currentpaper{#1}} |
| 1869 |
\papernumber{0000} |
| 1870 |
% \end{macrocode} |
| 1871 |
% \end{macro} |
| 1872 |
% |
| 1873 |
% \begin{macro}{\startpage} |
| 1874 |
% This defines the starting page of the paper. We have some nice |
| 1875 |
% features to set up roman page numbers for editorial |
| 1876 |
% stuff---probably not needed for this journal at this time\dots |
| 1877 |
% \begin{macrocode} |
| 1878 |
\def\startpage#1{\pagenumbering{arabic}\setcounter{page}{#1}% |
| 1879 |
\def\start@page{#1}% |
| 1880 |
\ifnum\c@page<\z@ \pagenumbering{roman}\setcounter{page}{-#1}% |
| 1881 |
\def\start@page{\romannumeral#1}% |
| 1882 |
\fi} |
| 1883 |
% \end{macrocode} |
| 1884 |
% \end{macro} |
| 1885 |
% |
| 1886 |
% \begin{macro}{\endpage} |
| 1887 |
% This macro again has a twist in it: if the argument is not set, it |
| 1888 |
% calculates the last page number itself. |
| 1889 |
% \begin{macrocode} |
| 1890 |
\def\endpage#1{\def\@tempa{#1}% |
| 1891 |
\ifx\@tempa\@empty\def\end@page{\pageref{LastPage}}% |
| 1892 |
\else\def\end@page{#1}\fi} |
| 1893 |
% \end{macrocode} |
| 1894 |
% \end{macro} |
| 1895 |
% |
| 1896 |
% |
| 1897 |
% \begin{macro}{\pagespan} |
| 1898 |
% This macro is different from the one provided by \progname{amsart} |
| 1899 |
% because we want to have the option of automatic calculation of the |
| 1900 |
% last page number. |
| 1901 |
% \begin{macrocode} |
| 1902 |
\def\pagespan#1#2{\startpage{#1}\endpage{#2}} |
| 1903 |
\pagespan{1}{} |
| 1904 |
% \end{macrocode} |
| 1905 |
% \end{macro} |
| 1906 |
% |
| 1907 |
% \begin{macro}{\g@addto@abstract} |
| 1908 |
% \changes{v1.21}{2017/12/13}{Added macro} |
| 1909 |
% Syntactic sugar around \cs{g@addto@macro} |
| 1910 |
% \begin{macrocode} |
| 1911 |
\def\g@addto@abstract#1{\g@addto@macro{\@aom@abstract}{#1}} |
| 1912 |
% \end{macrocode} |
| 1913 |
% |
| 1914 |
% \end{macro} |
| 1915 |
% |
| 1916 |
% \begin{macro}{\@getabstract} |
| 1917 |
% \changes{v1.21}{2017/12/13}{Added multilanguage abstracts} |
| 1918 |
% Amsart typesets the abstract in a box. We preserve this |
| 1919 |
% peculuarity, but we need to put abstract in a macro to output in |
| 1920 |
% the rpi file. |
| 1921 |
% \begin{macrocode} |
| 1922 |
\long\def\@aom@abstract{} |
| 1923 |
\long\def\@getabstract#1{% |
| 1924 |
\bgroup |
| 1925 |
\ifx\languagename\undefined |
| 1926 |
\def\languagename{english}% |
| 1927 |
\fi |
| 1928 |
\g@addto@abstract{<begin abstract }% |
| 1929 |
\expandafter\g@addto@abstract\expandafter{\languagename>}% |
| 1930 |
\g@addto@macro\@aom@abstract{#1}% |
| 1931 |
\g@addto@abstract{<end abstract }% |
| 1932 |
\expandafter\g@addto@abstract\expandafter{\languagename>}% |
| 1933 |
\egroup |
| 1934 |
\ifx\maketitle\relax |
| 1935 |
\ClassWarning{aomart}{Abstract should precede |
| 1936 |
\protect\maketitle\space in AMS derived classes}% |
| 1937 |
\fi |
| 1938 |
\global\setbox\abstractbox=\vtop\bgroup% |
| 1939 |
\box\abstractbox |
| 1940 |
\vglue1pc% |
| 1941 |
{\centering\normalfont\normalsize\bfseries\abstractname\par\vglue1pc}% |
| 1942 |
\list{}{\labelwidth\z@% |
| 1943 |
\leftmargin3pc \rightmargin\leftmargin% |
| 1944 |
\listparindent\normalparindent \itemindent\normalparindent% |
| 1945 |
\parsep\z@ \@plus\p@% |
| 1946 |
\let\fullwidthdisplay\relax% |
| 1947 |
}% |
| 1948 |
\item[]\normalfont\Small#1 |
| 1949 |
\endlist\egroup} |
| 1950 |
% \end{macrocode} |
| 1951 |
% |
| 1952 |
% \end{macro} |
| 1953 |
% |
| 1954 |
% |
| 1955 |
% \begin{macro}{abstract} |
| 1956 |
% \changes{v0.9}{2010/12/04}{Added parindent for the first par} |
| 1957 |
% \changes{v1.16}{2016/12/03}{Redefined using environ} |
| 1958 |
% This puts abstract in a box \emph{and} in a macro. Wasteful, but |
| 1959 |
% backword compatible |
| 1960 |
% \begin{macrocode} |
| 1961 |
\renewenvironment{abstract}{\Collect@Body\@getabstract}{% |
| 1962 |
\ifx\@setabstract\relax\@setabstracta\fi} |
| 1963 |
% \end{macrocode} |
| 1964 |
% \end{macro} |
| 1965 |
% |
| 1966 |
% \begin{macro}{\proposed} |
| 1967 |
% \changes{v0.3}{2010/09/26}{Added macro} |
| 1968 |
% We do not typeset the name of the proposer |
| 1969 |
% \begin{macrocode} |
| 1970 |
\let\proposed\@gobble |
| 1971 |
% \end{macrocode} |
| 1972 |
% \end{macro} |
| 1973 |
% \begin{macro}{\seconded} |
| 1974 |
% \changes{v0.3}{2010/09/26}{Added macro} |
| 1975 |
% Or the seconder |
| 1976 |
% \begin{macrocode} |
| 1977 |
\let\seconded\@gobble |
| 1978 |
% \end{macrocode} |
| 1979 |
% \end{macro} |
| 1980 |
% \begin{macro}{\corresponding} |
| 1981 |
% \changes{v0.3}{2010/09/26}{Added macro} |
| 1982 |
% This is the corresponding author---again not typeset |
| 1983 |
% \begin{macrocode} |
| 1984 |
\let\corresponding\@gobble |
| 1985 |
% \end{macrocode} |
| 1986 |
% \end{macro} |
| 1987 |
% \begin{macro}{\version} |
| 1988 |
% \changes{v0.3}{2010/09/26}{Added macro} |
| 1989 |
% We do not typeset the current version of the manuscript either\dots |
| 1990 |
% \begin{macrocode} |
| 1991 |
\let\version\@gobble |
| 1992 |
% \end{macrocode} |
| 1993 |
% \end{macro} |
| 1994 |
% |
| 1995 |
% \begin{macro}{\doinumber} |
| 1996 |
% \changes{v0.3}{2010/09/26}{Added macro} |
| 1997 |
% \changes{v1.0}{2010/12/21}{Added default} |
| 1998 |
% \begin{macro}{\mrnumber} |
| 1999 |
% \changes{v0.3}{2010/09/26}{Added macro} |
| 2000 |
% \begin{macro}{\zblnumber} |
| 2001 |
% \changes{v0.3}{2010/09/26}{Added macro} |
| 2002 |
% \begin{macro}{\arxivnumber} |
| 2003 |
% \changes{v1.16}{2016/12/04}{Added macro} |
| 2004 |
% Now databases' numbers of the article: |
| 2005 |
% \begin{macrocode} |
| 2006 |
\def\doinumber#1{\gdef\@doinumber{#1}} |
| 2007 |
\doinumber{10.4007/annals.\currentyear.\currentvolume.\currentissue.\currentpaper} |
| 2008 |
\def\mrnumber#1{\gdef\@mrnumber{#1}} |
| 2009 |
\mrnumber{} |
| 2010 |
\def\zblnumber#1{\gdef\@zblnumber{#1}} |
| 2011 |
\zblnumber{} |
| 2012 |
\def\arxivnumber#1{\gdef\@arxivnumber{#1}} |
| 2013 |
\arxivnumber{} |
| 2014 |
% \end{macrocode} |
| 2015 |
% |
| 2016 |
% \end{macro} |
| 2017 |
% \end{macro} |
| 2018 |
% \end{macro} |
| 2019 |
% \end{macro} |
| 2020 |
% |
| 2021 |
% \begin{macro}{\copyrightyear} |
| 2022 |
% \changes{v1.11}{2012/07/23}{Added macro} |
| 2023 |
% This is the copyright year in case it does not coincide with the |
| 2024 |
% publication year: |
| 2025 |
% \begin{macrocode} |
| 2026 |
\def\copyrightyear#1{\def\@copyrightyear{#1}} |
| 2027 |
\copyrightyear{} |
| 2028 |
% \end{macrocode} |
| 2029 |
% |
| 2030 |
% \end{macro} |
| 2031 |
% |
| 2032 |
% \begin{macro}{\copyrightnote} |
| 2033 |
% \changes{v1.11}{2012/07/23}{Added macro} |
| 2034 |
% This is the copyrightnote. The default has some trickery with the |
| 2035 |
% year: |
| 2036 |
% \begin{macrocode} |
| 2037 |
\def\copyrightnote#1{\def\@copyrightnote{#1}} |
| 2038 |
\copyrightnote{\textcopyright~% |
| 2039 |
\ifx\@empty\@copyrightyear\currentyear\else\@copyrightyear\fi~% |
| 2040 |
Department of Mathematics, Princeton University} |
| 2041 |
% \end{macrocode} |
| 2042 |
% |
| 2043 |
% \end{macro} |
| 2044 |
% |
| 2045 |
%\subsection{Typesetting Top Matter} |
| 2046 |
%\label{sec:maketitle} |
| 2047 |
% |
| 2048 |
% |
| 2049 |
% \begin{macro}{\@mainrpi} |
| 2050 |
% \changes{v1.14}{2014/03/03}{Added macro} |
| 2051 |
% We write the information about the paper into file.rpi (the |
| 2052 |
% The stream for the rpi file: |
| 2053 |
% \begin{macrocode} |
| 2054 |
\newwrite\@mainrpi |
| 2055 |
% \end{macrocode} |
| 2056 |
% |
| 2057 |
% \end{macro} |
| 2058 |
% |
| 2059 |
% \begin{macro}{\aom@write@paper@info} |
| 2060 |
% \changes{v1.14}{2014/03/04}{Added macro} |
| 2061 |
% \changes{v1.16}{2016/12/03}{Added names, abstract, subjects, |
| 2062 |
% keywords, zblnumber, arxivnumber} |
| 2063 |
% \changes{v1.16}{2016/12/03}{Corrected the endpage bug} |
| 2064 |
% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects |
| 2065 |
% separated} |
| 2066 |
% \changes{v1.21}{2017/12/13}{Added main language} |
| 2067 |
% \changes{v1.27}{2022/04/30}{Keep the .rpi file open till the end of |
| 2068 |
% document} |
| 2069 |
% \changes{v1.35}{2025/05/25}{Added paper url} |
| 2070 |
% This writes the information about the paper into the file |
| 2071 |
% |jobname.rpi|. Note that hyperref makes our life a little bit |
| 2072 |
% more complex |
| 2073 |
% \begin{macrocode} |
| 2074 |
\def\aom@write@paper@info{% |
| 2075 |
\bgroup |
| 2076 |
\if@filesw |
| 2077 |
\openout\@mainrpi\jobname.rpi% |
| 2078 |
\def\and{\string\and\space}% |
| 2079 |
\ifx\r@LastPage\@undefined |
| 2080 |
\edef\@tempa{\start@page}% |
| 2081 |
\else |
| 2082 |
\def\@tempc##1##2##3##4##5{##2}% |
| 2083 |
\edef\@tempa{\expandafter\@tempc\r@LastPage}% |
| 2084 |
\fi |
| 2085 |
\ifx\languagename\undefined |
| 2086 |
\def\languagename{english}% |
| 2087 |
\fi |
| 2088 |
\protected@write\@mainrpi{}% |
| 2089 |
{\@percentchar authors=\authors}% |
| 2090 |
\protected@write\@mainrpi{}% |
| 2091 |
{\@percentchar authors.information={\@names}}% |
| 2092 |
\protected@write\@mainrpi{}% |
| 2093 |
{\@percentchar title=\@title}% |
| 2094 |
\protected@write\@mainrpi{}% |
| 2095 |
{\@percentchar year=\currentyear}% |
| 2096 |
\protected@write\@mainrpi{}% |
| 2097 |
{\@percentchar volume=\currentvolume}% |
| 2098 |
\protected@write\@mainrpi{}% |
| 2099 |
{\@percentchar issue=\currentissue}% |
| 2100 |
\protected@write\@mainrpi{}% |
| 2101 |
{\@percentchar paper=\currentpaper}% |
| 2102 |
\protected@write\@mainrpi{}% |
| 2103 |
{\@percentchar startpage=\start@page}% |
| 2104 |
\protected@write\@mainrpi{}% |
| 2105 |
{\@percentchar endpage=\@tempa}% |
| 2106 |
\protected@write\@mainrpi{}% |
| 2107 |
{\@percentchar doi=\@doinumber}% |
| 2108 |
\ifx\@zblnumber\@empty\else |
| 2109 |
\protected@write\@mainrpi{}% |
| 2110 |
{\@percentchar zbl=\@zblnumber}% |
| 2111 |
\fi |
| 2112 |
\ifx\@mrnumber\@empty\else |
| 2113 |
\protected@write\@mainrpi{}% |
| 2114 |
{\@percentchar mr=\@mrnumber}% |
| 2115 |
\fi |
| 2116 |
\ifx\@arxivnumber\@empty\else |
| 2117 |
\protected@write\@mainrpi{}% |
| 2118 |
{\@percentchar arxiv=\@arxivnumber}% |
| 2119 |
\fi |
| 2120 |
\protected@write\@mainrpi{}% |
| 2121 |
{\@percentchar subjects=Primary \@primarysubjects; Secondary: |
| 2122 |
\@secondarysubjects}% |
| 2123 |
\protected@write\@mainrpi{}% |
| 2124 |
{\@percentchar keywords=\@keywords}% |
| 2125 |
\protected@write\@mainrpi{}% |
| 2126 |
{\@percentchar abstract=\@aom@abstract}% |
| 2127 |
\protected@write\@mainrpi{}% |
| 2128 |
{\@percentchar articlelanguage=\languagename}% |
| 2129 |
\def\paperUrl{https://annals.math.princeton.edu/\currentyear/\currentvolume-\currentissue/p\currentpaper}% |
| 2130 |
\protected@write\@mainrpi{}% |
| 2131 |
{\@percentchar paperUrl=\paperUrl}% |
| 2132 |
\AtEndDocument{\closeout\@mainrpi}% |
| 2133 |
\fi |
| 2134 |
\egroup} |
| 2135 |
% \end{macrocode} |
| 2136 |
% |
| 2137 |
% \end{macro} |
| 2138 |
% |
| 2139 |
% \begin{macro}{\@maketitle@hook} |
| 2140 |
% \changes{v1.14}{2014/03/04}{Added macro} |
| 2141 |
% We add writing the information to the hook: |
| 2142 |
% \begin{macrocode} |
| 2143 |
\def\@maketitle@hook{\aom@write@paper@info\global\let\@maketitle@hook\@empty} |
| 2144 |
% \end{macrocode} |
| 2145 |
% |
| 2146 |
% \end{macro} |
| 2147 |
% |
| 2148 |
% \begin{macro}{\@settitle} |
| 2149 |
% We do not uppercase title. Also, we use this occasion to set PDF |
| 2150 |
% information: |
| 2151 |
% \begin{macrocode} |
| 2152 |
\def\@settitle{\begin{center}% |
| 2153 |
\baselineskip20\p@\relax |
| 2154 |
\bfseries\LARGE |
| 2155 |
\@title |
| 2156 |
\ifpdf |
| 2157 |
\hypersetup{pdftitle=\@title}% |
| 2158 |
\fi |
| 2159 |
\end{center}% |
| 2160 |
} |
| 2161 |
% \end{macrocode} |
| 2162 |
% \end{macro} |
| 2163 |
% |
| 2164 |
% |
| 2165 |
% \begin{macro}{\@setauthors} |
| 2166 |
% \changes{v0.6}{2010/11/04}{'By' and 'and' are in Roman font now} |
| 2167 |
% \changes{v1.10}{2011/06/21}{Internationalization} |
| 2168 |
% \changes{v1.28}{2024/06/08}{Added treatment of orcids} |
| 2169 |
% Now we typeset authors according to our specs. Again, we use this |
| 2170 |
% occasion to set some PDF information: |
| 2171 |
% \begin{macrocode} |
| 2172 |
\def\@setauthors{% |
| 2173 |
\ifx\authors\@empty\relax\else |
| 2174 |
\begingroup |
| 2175 |
\def\thanks{\protect\thanks@warning}% |
| 2176 |
\trivlist |
| 2177 |
\centering\footnotesize \@topsep30\p@\relax |
| 2178 |
\advance\@topsep by -\baselineskip |
| 2179 |
\item\relax |
| 2180 |
\def\@@and{{\upshape \@aom@and}}% |
| 2181 |
\author@andify\authors |
| 2182 |
\ifpdf |
| 2183 |
\bgroup |
| 2184 |
\def\aom@orcidlink##1{}% |
| 2185 |
\xdef\@tempa{\authors}% |
| 2186 |
\egroup |
| 2187 |
\hypersetup{pdfauthor=\@tempa}% |
| 2188 |
\fi |
| 2189 |
\def\\{\protect\linebreak}% |
| 2190 |
\small \@aom@by{} \scshape\authors% |
| 2191 |
\@processcurrentcontribgroup |
| 2192 |
\ifx\@empty\contribs |
| 2193 |
\else |
| 2194 |
,\penalty-3 \space \@setcontribs |
| 2195 |
\fi |
| 2196 |
\endtrivlist |
| 2197 |
\endgroup |
| 2198 |
\fi} |
| 2199 |
% \end{macrocode} |
| 2200 |
% \end{macro} |
| 2201 |
% |
| 2202 |
% \begin{macro}{\@setcontribs} |
| 2203 |
% Contributors are set up in the same way as authors: |
| 2204 |
% \begin{macrocode} |
| 2205 |
\def\@setcontribs{% |
| 2206 |
\def\@@and{{\upshape \@aom@and}}% |
| 2207 |
\author@andify\contribs |
| 2208 |
\contribs |
| 2209 |
} |
| 2210 |
% \end{macrocode} |
| 2211 |
% \end{macro} |
| 2212 |
% |
| 2213 |
% \begin{macro}{\@adminfootnotes} |
| 2214 |
% \changes{v1.11}{2012/07/23}{Added copyright statement} |
| 2215 |
% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects separated} |
| 2216 |
% We do not typeset keywords, so we change the definition: |
| 2217 |
% \begin{macrocode} |
| 2218 |
\def\@adminfootnotes{% |
| 2219 |
\let\@makefnmark\relax \let\@thefnmark\relax |
| 2220 |
\ifx\@empty\@date\else \@footnotetext{\@setdate}\fi |
| 2221 |
\ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi |
| 2222 |
\ifx\@empty\@keywords\else\@setkeywords\fi |
| 2223 |
\ifx\@empty\@primarysubjects |
| 2224 |
\ifx\@empty\@secondarysubjects |
| 2225 |
\else\@setsubjects\fi |
| 2226 |
\else\@setsubjects\fi |
| 2227 |
\ifx\@empty\thankses\else \@footnotetext{% |
| 2228 |
\def\par{\let\par\@par}\@setthanks}% |
| 2229 |
\fi |
| 2230 |
\ifx\@empty\@copyrightnote\else \@footnotetext{% |
| 2231 |
\def\par{\let\par\@par}\@copyrightnote\@addpunct.}% |
| 2232 |
\fi |
| 2233 |
} |
| 2234 |
% \end{macrocode} |
| 2235 |
% |
| 2236 |
% \end{macro} |
| 2237 |
% |
| 2238 |
% |
| 2239 |
% \begin{macro}{\@setkeywords} |
| 2240 |
% \changes{v1.18}{2017/02/11}{Now we print keywords} |
| 2241 |
% Typesetting keywords |
| 2242 |
% \begin{macrocode} |
| 2243 |
\def\@setkeywords{% |
| 2244 |
\ifpdf |
| 2245 |
\hypersetup{pdfkeywords=\@keywords}% |
| 2246 |
\fi |
| 2247 |
\if@aom@oldkeywords\else |
| 2248 |
\@footnotetext{Keywords: \@keywords}% |
| 2249 |
\fi |
| 2250 |
} |
| 2251 |
% \end{macrocode} |
| 2252 |
% \end{macro} |
| 2253 |
% |
| 2254 |
% \begin{macro}{\@setsubjects} |
| 2255 |
% \changes{v1.18}{2017/02/11}{Now we print subjects} |
| 2256 |
% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects separated} |
| 2257 |
% Setting subjects |
| 2258 |
% \begin{macrocode} |
| 2259 |
\def\@setsubjects{% |
| 2260 |
\let\@subjects\@empty |
| 2261 |
\ifx\@primarysubjects\@empty\else |
| 2262 |
\edef\@subjects{Primary:~\@primarysubjects}% |
| 2263 |
\fi |
| 2264 |
\ifx\@secondarysubjects\@empty\else |
| 2265 |
\ifx\@primarysubjects\@empty |
| 2266 |
\edef\@subjects{Secondary:~\@secondarysubjects}% |
| 2267 |
\else |
| 2268 |
\edef\@subjects{\@subjects; Secondary:~\@secondarysubjects}% |
| 2269 |
\fi |
| 2270 |
\fi |
| 2271 |
\ifpdf |
| 2272 |
\hypersetup{pdfsubject=\@subjects}% |
| 2273 |
\fi |
| 2274 |
\if@aom@oldkeywords\else |
| 2275 |
\@footnotetext{AMS Classification:~\@subjects.}% |
| 2276 |
\fi |
| 2277 |
} |
| 2278 |
% \end{macrocode} |
| 2279 |
% \end{macro} |
| 2280 |
% |
| 2281 |
% |
| 2282 |
% \begin{macro}{\@@and} |
| 2283 |
% \changes{v0.9}{2010/12/04}{Redefined macro} |
| 2284 |
% \changes{v1.10}{2011/06/21}{Added internationalization} |
| 2285 |
% We want ``and'' in the footers to be lowercase. Since there is |
| 2286 |
% some uppercase involved, we protect it: |
| 2287 |
% \begin{macrocode} |
| 2288 |
\def\@@and{\MakeLowercase{\@aom@and}} |
| 2289 |
% \end{macrocode} |
| 2290 |
% |
| 2291 |
% \end{macro} |
| 2292 |
% |
| 2293 |
%\subsection{Typesetting End Matter} |
| 2294 |
%\label{sec:endmatter} |
| 2295 |
% |
| 2296 |
% End matter is typeset at the end of the paper. |
| 2297 |
% |
| 2298 |
% \begin{macro}{\enddoc@text} |
| 2299 |
% \changes{v0.4}{2010/09/28}{Deleted many dates.} |
| 2300 |
% This is the main macro for typesetting endmatter. |
| 2301 |
% \begin{macrocode} |
| 2302 |
\def\enddoc@text{% |
| 2303 |
\ifx\@empty\@translators \else\@settranslators\fi |
| 2304 |
\ifx\@empty\@received \else\@setreceived\fi |
| 2305 |
\ifx\@empty\@revised \else\@setrevised\fi |
| 2306 |
\ifx\@empty\addresses \else\@setaddresses\fi} |
| 2307 |
% \end{macrocode} |
| 2308 |
% \end{macro} |
| 2309 |
% |
| 2310 |
% \begin{macro}{\@setreceived} |
| 2311 |
% \begin{macro}{\@setrevised} |
| 2312 |
% \begin{macro}{\@setaccepted} |
| 2313 |
% \begin{macro}{\@setpublished} |
| 2314 |
% \begin{macro}{\@setpublishedonline} |
| 2315 |
% \changes{v0.5}{2010/10/24}{Decreased font} |
| 2316 |
% \changes{v0.9}{2010/12/04}{Increased font} |
| 2317 |
% A bunch of macros for setting centered dates |
| 2318 |
% \begin{macrocode} |
| 2319 |
\def\@setreceived{{\centering(Received: \@received)\par}} |
| 2320 |
\def\@setrevised{{\centering(Revised: \@revised)\par}} |
| 2321 |
\def\@setaccepted{{\centering(Accepted: \@accepted)\par}} |
| 2322 |
\def\@setpublished{{\centering(Published: \@published)\par}} |
| 2323 |
\def\@setpublishedonline{{\centering(Published online: \@publishedonline)\par}} |
| 2324 |
% \end{macrocode} |
| 2325 |
% \end{macro} |
| 2326 |
% \end{macro} |
| 2327 |
% \end{macro} |
| 2328 |
% \end{macro} |
| 2329 |
% \end{macro} |
| 2330 |
% |
| 2331 |
% \begin{macro}{\emailaddrname} |
| 2332 |
% \changes{v0.5}{2010/10/24}{Changed macro} |
| 2333 |
% We do not want the word ``address'' here: |
| 2334 |
% \begin{macrocode} |
| 2335 |
\def\emailaddrname{{\itshape E-mail}} |
| 2336 |
% \end{macrocode} |
| 2337 |
% \end{macro} |
| 2338 |
% |
| 2339 |
% \begin{macro}{\@setaddresses} |
| 2340 |
% \changes{v0.5}{2010/10/24}{Deleted the word URL} |
| 2341 |
% \changes{v0.5}{2010/10/24}{E-mail is now in Roman font} |
| 2342 |
% \changes{v0.9}{2010/12/04}{Deleted spurious space in urladdress} |
| 2343 |
% \changes{v1.2}{2011/01/05}{Changed font for current address} |
| 2344 |
% \changes{v1.11}{2012/07/23}{Changed email handling} |
| 2345 |
% \changes{v1.18}{2017/02/15}{Added orcid} |
| 2346 |
% \changes{v1.29}{2024/11/13}{Reformatted} |
| 2347 |
% \changes{v1.31}{2025/01/08}{Reformatted} |
| 2348 |
% \changes{v1.33}{2025/01/08}{No break after author name} |
| 2349 |
% The difference between our definition and the one in |
| 2350 |
% \progname{amsart} is that we want the e-mail and URL to be clickable |
| 2351 |
% \begin{macrocode} |
| 2352 |
\def\@setaddresses{\par |
| 2353 |
\nobreak \begingroup |
| 2354 |
\footnotesize |
| 2355 |
\def\author##1{\goodbreak\addvspace\bigskipamount{\scshape##1\par\nobreak}}% |
| 2356 |
\def\\{\unskip, \ignorespaces}% |
| 2357 |
\interlinepenalty\@M |
| 2358 |
\def\address##1##2{\begingroup\nobreak |
| 2359 |
\par\hangindent=22pt\hangafter=0\parindent=0pt |
| 2360 |
\@ifnotempty{##1}{(\ignorespaces##1\unskip) }% |
| 2361 |
{\ignorespaces##2}\par\endgroup}% |
| 2362 |
\def\curraddr##1##2{\begingroup |
| 2363 |
\@ifnotempty{##2}{\nobreak\indent\curraddrname |
| 2364 |
\@ifnotempty{##1}{, \ignorespaces\scshape##1\unskip}\hskip0.2em:\space |
| 2365 |
##2\par}\endgroup}% |
| 2366 |
\def\email##1##2{\begingroup |
| 2367 |
\@ifnotempty{##2}{\nobreak\indent\emailaddrname |
| 2368 |
\@ifnotempty{##1}{, \ignorespaces##1\unskip}\hskip0.2em:\space |
| 2369 |
\href{mailto:##2}{\nolinkurl{##2}}\par\nobreak}\endgroup}% |
| 2370 |
\def\urladdr##1##2{\begingroup |
| 2371 |
\@ifnotempty{##2}{\nobreak\indent |
| 2372 |
\@ifnotempty{##1}{, \ignorespaces##1\unskip}% |
| 2373 |
\url{##2}\par\nobreak}\endgroup}% |
| 2374 |
\def\orcid##1{\begingroup |
| 2375 |
\@ifnotempty{##1}{\nobreak\indent |
| 2376 |
\url{https://orcid.org/##1}\par\nobreak}\endgroup}% |
| 2377 |
\addresses |
| 2378 |
\endgroup |
| 2379 |
} |
| 2380 |
% \end{macrocode} |
| 2381 |
% |
| 2382 |
% \end{macro} |
| 2383 |
% |
| 2384 |
% |
| 2385 |
%\subsection{Sectioning} |
| 2386 |
%\label{sec:sectioning} |
| 2387 |
% |
| 2388 |
% \begin{macro}{\contentsnamefont} |
| 2389 |
% This is the font for the word ``Contents'': |
| 2390 |
% \begin{macrocode} |
| 2391 |
\renewcommand\contentsnamefont{\bfseries} |
| 2392 |
% \end{macrocode} |
| 2393 |
% \end{macro} |
| 2394 |
% |
| 2395 |
% |
| 2396 |
% \begin{macro}{\section} |
| 2397 |
% We want our sections to be centered and bold: |
| 2398 |
% \begin{macrocode} |
| 2399 |
\def\section{\@startsection{section}{1}% |
| 2400 |
\z@{.7\linespacing\@plus\linespacing}{.5\linespacing}% |
| 2401 |
{\normalfont\bfseries\centering}} |
| 2402 |
% \end{macrocode} |
| 2403 |
% \end{macro} |
| 2404 |
% |
| 2405 |
% |
| 2406 |
% \begin{macro}{\subsection} |
| 2407 |
% \changes{v0.5}{2010/10/24}{Redefined macro} |
| 2408 |
% \changes{v1.2}{2011/01/05}{Decreased vertical spacing} |
| 2409 |
% \changes{v1.4}{2011/01/21}{Deleted stretch in vertical spacing} |
| 2410 |
% We want our subsections to be indented and italic: |
| 2411 |
% \begin{macrocode} |
| 2412 |
\def\subsection{\@startsection{subsection}{2}% |
| 2413 |
{\parindent}{.5\linespacing}{-.5em}% |
| 2414 |
{\normalfont\itshape}} |
| 2415 |
% \end{macrocode} |
| 2416 |
% \end{macro} |
| 2417 |
% |
| 2418 |
% \begin{macro}{\oldsubsections} |
| 2419 |
% \changes{v1.2}{2011/01/05}{Introduced macro} |
| 2420 |
% This macro restores the values for |\subsection| spacing prior to |
| 2421 |
% v1.1. |
| 2422 |
% \begin{macrocode} |
| 2423 |
\def\oldsubsections{% |
| 2424 |
\gdef\subsection{\@startsection{subsection}{2}% |
| 2425 |
{\parindent}{.5\linespacing\@plus.7\linespacing}{-.5em}% |
| 2426 |
{\normalfont\itshape}}} |
| 2427 |
% \end{macrocode} |
| 2428 |
% \end{macro} |
| 2429 |
% |
| 2430 |
% \begin{macro}{\subsubsection} |
| 2431 |
% \changes{v1.4}{2011/01/21}{Introduced the macro} |
| 2432 |
% Subsubsections are formatted exactly like subsections: |
| 2433 |
% \begin{macrocode} |
| 2434 |
\def\subsubsection{\@startsection{subsubsection}{3}% |
| 2435 |
{\parindent}{.5\linespacing}{-.5em}% |
| 2436 |
{\normalfont\itshape}} |
| 2437 |
% \end{macrocode} |
| 2438 |
% \end{macro} |
| 2439 |
% |
| 2440 |
% |
| 2441 |
% \begin{macro}{\Hy@AlphNoErr} |
| 2442 |
% \changes{v1.13}{2012/10/26}{Added macro for older installations} |
| 2443 |
% The newer (circa 2012) hyperref defines this command. However, |
| 2444 |
% older versions do not. Here we provide it: |
| 2445 |
% \begin{macrocode} |
| 2446 |
\providecommand\Hy@AlphNoErr[1]{% |
| 2447 |
\ifnum\value{#1}>26 % |
| 2448 |
Alph\number\value{#1}% |
| 2449 |
\else |
| 2450 |
\ifnum\value{#1}<1 % |
| 2451 |
Alph\number\value{#1}% |
| 2452 |
\else |
| 2453 |
\Alph{#1}% |
| 2454 |
\fi |
| 2455 |
\fi |
| 2456 |
}% |
| 2457 |
% \end{macrocode} |
| 2458 |
% |
| 2459 |
% \end{macro} |
| 2460 |
% |
| 2461 |
% \begin{macro}{\appendix} |
| 2462 |
% \changes{v1.6}{2011/03/06}{Redefined the macro} |
| 2463 |
% \changes{v1.12}{2012/10/25}{Added hyperref definition} |
| 2464 |
% We redefine appendix to ensure the letter in section number is |
| 2465 |
% always upright: |
| 2466 |
% \begin{macrocode} |
| 2467 |
\def\appendix{\par\c@section\z@ \c@subsection\z@ |
| 2468 |
\gdef\theHsection{\Hy@AlphNoErr{section}}% |
| 2469 |
\let\sectionname\appendixname |
| 2470 |
\def\thesection{{\upshape\@Alph\c@section}}} |
| 2471 |
% \end{macrocode} |
| 2472 |
% |
| 2473 |
% \end{macro} |
| 2474 |
% |
| 2475 |
%\subsection{Figures and Tables} |
| 2476 |
%\label{sec:figs} |
| 2477 |
% |
| 2478 |
% \begin{macro}{\@captionheadfont} |
| 2479 |
% This is the font for the words ``Figure'' or ``Table'' in |
| 2480 |
% captions. Unlike \progname{amsmath} with is small caps, we want |
| 2481 |
% just plain Roman font: |
| 2482 |
% \begin{macrocode} |
| 2483 |
\def\@captionheadfont{\normalfont} |
| 2484 |
% \end{macrocode} |
| 2485 |
% \end{macro} |
| 2486 |
% |
| 2487 |
% |
| 2488 |
% |
| 2489 |
% |
| 2490 |
%\subsection{Theorems} |
| 2491 |
%\label{sec:theorems} |
| 2492 |
% |
| 2493 |
% Here we redefine three main style of \progname{amsart}. Here are |
| 2494 |
% the arguments of |\newtheoremstyle| from~\cite{Downes04:amsart}: |
| 2495 |
%\begin{verbatim} |
| 2496 |
% #1 |
| 2497 |
% \newtheoremstyle{NAME}% |
| 2498 |
% #2 #3 #4 |
| 2499 |
% {ABOVESPACE}{BELOWSPACE}{BODYFONT}% |
| 2500 |
% #5 #6 #7 #8 |
| 2501 |
% {INDENT}{HEADFONT}{HEADPUNCT}{HEADSPACE}% |
| 2502 |
% #9 |
| 2503 |
% {CUSTOM-HEAD-SPEC} |
| 2504 |
%\end{verbatim} |
| 2505 |
% |
| 2506 |
% |
| 2507 |
% \changes{v0.4}{2010/09/28}{Changed plain theorem style} |
| 2508 |
% In the |plain| style the name (``theorem'') is in small caps, the |
| 2509 |
% number is in normal font, the optional note is also |
| 2510 |
% in normal font, and the text is italics. |
| 2511 |
% \begin{macrocode} |
| 2512 |
\newtheoremstyle{plain}{0.5\linespacing}{0.5\linespacing}{\sishape}% |
| 2513 |
{\parindent}{\scshape}{.}{0.5em}% |
| 2514 |
{\thmname{#1}\thmnumber{ #2}\thmnote{\normalfont{} (#3)}} |
| 2515 |
% \end{macrocode} |
| 2516 |
% |
| 2517 |
% \changes{v0.4}{2010/09/28}{Changed definition theorem style} |
| 2518 |
% In the |definition| style the name is italics, and the body font is |
| 2519 |
% upright: |
| 2520 |
% \begin{macrocode} |
| 2521 |
\newtheoremstyle{definition}{0.5\linespacing}{0.5\linespacing}% |
| 2522 |
{\upshape}{\parindent}% |
| 2523 |
{\sishape}{.}{0.5em}% |
| 2524 |
{\thmname{#1}\thmnumber{ #2}\thmnote{\normalfont{} (#3)}} |
| 2525 |
% \end{macrocode} |
| 2526 |
% |
| 2527 |
% \changes{v0.4}{2010/09/28}{Deleted remark theorem style} |
| 2528 |
% \changes{v0.5}{2010/10/24}{Made remark theorem style identical to |
| 2529 |
% definition theorem style} |
| 2530 |
% In our class there is no difference between |remark| and |
| 2531 |
% |definition| theorem styles: |
| 2532 |
% \begin{macrocode} |
| 2533 |
\newtheoremstyle{remark}{0.5\linespacing}{0.5\linespacing}% |
| 2534 |
{\upshape}{\parindent}% |
| 2535 |
{\sishape}{.}{0.5em}% |
| 2536 |
{\thmname{#1}\thmnumber{ #2}\thmnote{\normalfont{} (#3)}} |
| 2537 |
% \end{macrocode} |
| 2538 |
% |
| 2539 |
% \begin{macro}{\newtheorem} |
| 2540 |
% \changes{v0.3}{2010/09/26}{Redefined macro} |
| 2541 |
% For compatibility reasons we need to accept |\newtheorem| with |
| 2542 |
% optional first argument---and silently drop it. The problem is, |
| 2543 |
% there is |\newtheorem*|, so we need to check which one we deal |
| 2544 |
% with\dots{} The command |\@xnthm| here is from \progname{amsthm}; |
| 2545 |
% it does the real work with the real parameters. |
| 2546 |
% \begin{macrocode} |
| 2547 |
\renewcommand{\newtheorem}{\@ifstar{\@aom@newthm@star}{\@aom@newthm}} |
| 2548 |
\def\@aom@newthm@star{\@ifnextchar[{\@aom@newthm@star@}{\@aom@newthm@star@[]}} |
| 2549 |
\def\@aom@newthm{\@ifnextchar[{\@aom@newthm@}{\@aom@newthm@[]}} |
| 2550 |
\def\@aom@newthm@star@[#1]{\@xnthm *} |
| 2551 |
\def\@aom@newthm@[#1]{\@xnthm \relax} |
| 2552 |
% \end{macrocode} |
| 2553 |
% |
| 2554 |
% \end{macro} |
| 2555 |
% |
| 2556 |
% \begin{macro}{proof} |
| 2557 |
% \changes{v0.5}{2010/10/24}{Redefined macro} |
| 2558 |
% We want our proofs to be indented: |
| 2559 |
% \begin{macrocode} |
| 2560 |
\renewenvironment{proof}[1][\proofname]{\par |
| 2561 |
\pushQED{\qed}% |
| 2562 |
\normalfont \topsep6\p@\@plus6\p@\relax |
| 2563 |
\trivlist |
| 2564 |
\item[\hskip\labelsep\hskip\parindent |
| 2565 |
\itshape |
| 2566 |
#1\@addpunct{.}]\ignorespaces |
| 2567 |
}{% |
| 2568 |
\popQED\endtrivlist\@endpefalse |
| 2569 |
} |
| 2570 |
% \end{macrocode} |
| 2571 |
% \end{macro} |
| 2572 |
% |
| 2573 |
% |
| 2574 |
%\subsection{Bibliography Macros} |
| 2575 |
%\label{sec:bibl} |
| 2576 |
% |
| 2577 |
% \begin{macro}{\repeatedauthors} |
| 2578 |
% \changes{v1.11}{2012/08/16}{Now this command is obsolete} |
| 2579 |
% When the authors are repeated, we used change them to |\bysame|; |
| 2580 |
% we no more do this: |
| 2581 |
% \begin{macrocode} |
| 2582 |
\def\repeatedauthors#1{\ClassWarning{aomart}{The command is obsolte}#1} |
| 2583 |
% \end{macrocode} |
| 2584 |
% \end{macro} |
| 2585 |
% |
| 2586 |
% \begin{macro}{\bysame} |
| 2587 |
% \changes{v1.11}{2012/08/16}{Made the macro obsolete} |
| 2588 |
% We no longer use \cmd{\bysame} |
| 2589 |
% \begin{macrocode} |
| 2590 |
\let\bysame@@orig=\bysame |
| 2591 |
\def\bysame{\ClassWarning{aomart}{We no longer omit |
| 2592 |
repeated authors}\bysame@@orig} |
| 2593 |
% \end{macrocode} |
| 2594 |
% |
| 2595 |
% \end{macro} |
| 2596 |
% |
| 2597 |
% \begin{macro}{\doi} |
| 2598 |
% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} |
| 2599 |
% \changes{v1.9}{2011/06/13}{Changed doi look} |
| 2600 |
% \changes{v1.10}{2011/06/21}{Introduced the logic for old doi |
| 2601 |
% formatting} |
| 2602 |
% \changes{v1.15}{2016/11/18}{Doi according to the new Crossref |
| 2603 |
% recommendations} |
| 2604 |
% Typesetting doi\dots |
| 2605 |
% \begin{macrocode} |
| 2606 |
\def\doi#1{% |
| 2607 |
\if@aom@doiMMXVI |
| 2608 |
\url{http://dx.doi.org/#1}% |
| 2609 |
\else |
| 2610 |
\if@aom@olddoi |
| 2611 |
\href{http://dx.doi.org/#1}{doi: \path{#1}}% |
| 2612 |
\else |
| 2613 |
\url{https://doi.org/#1}% |
| 2614 |
\fi |
| 2615 |
\fi} |
| 2616 |
% \end{macrocode} |
| 2617 |
% \end{macro} |
| 2618 |
% |
| 2619 |
% \begin{macro}{\mr} |
| 2620 |
% \changes{v0.3}{2010/09/27}{Added macro} |
| 2621 |
% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} |
| 2622 |
% \begin{macro}{\zbl} |
| 2623 |
% \changes{v0.3}{2010/09/27}{Added macro} |
| 2624 |
% \changes{v0.6}{2010/10/03}{Changed capitalization} |
| 2625 |
% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} |
| 2626 |
% \begin{macro}{\arxiv} |
| 2627 |
% \changes{v0.3}{2010/09/27}{Added macro} |
| 2628 |
% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with |
| 2629 |
% underscores} |
| 2630 |
% \changes{v1.5}{2011/02/26}{Typo corrected} |
| 2631 |
% \begin{macro}{\jfm} |
| 2632 |
% \changes{v0.10}{2010/12/18}{Added macro} |
| 2633 |
% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} |
| 2634 |
% Typesetting urls |
| 2635 |
% \begin{macrocode} |
| 2636 |
\def\mr#1{\href{http://www.ams.org/mathscinet-getitem?mr=#1}{MR~\path{#1}}} |
| 2637 |
\def\zbl#1{\href{http://www.zentralblatt-math.org/zmath/en/search/?q=an:#1}{Zbl~\path{#1}}} |
| 2638 |
\def\arxiv#1{\href{http://www.arxiv.org/abs/#1}{arXiv~\path{#1}}} |
| 2639 |
\def\jfm#1{\href{http://www.emis.de/cgi-bin/JFM-item?#1}{JFM~\path{#1}}} |
| 2640 |
% \end{macrocode} |
| 2641 |
% |
| 2642 |
% \end{macro} |
| 2643 |
% \end{macro} |
| 2644 |
% \end{macro} |
| 2645 |
% \end{macro} |
| 2646 |
% |
| 2647 |
% \begin{macro}{\bibliofont} |
| 2648 |
% \changes{v0.6}{2010/10/03}{Changed default} |
| 2649 |
% We make this |\small| rather than |\Small| in \progname{amsart} |
| 2650 |
% \begin{macrocode} |
| 2651 |
\renewcommand{\bibliofont}{\small} |
| 2652 |
% \end{macrocode} |
| 2653 |
% |
| 2654 |
% \end{macro} |
| 2655 |
% |
| 2656 |
%\subsection{Additional Macros} |
| 2657 |
%\label{sec:additional} |
| 2658 |
% |
| 2659 |
% \begin{macro}{\c@aom@EC@counter} |
| 2660 |
% \changes{v1.34}{2025/05/06}{Added macro} |
| 2661 |
% The counter for editorial comments |
| 2662 |
% \begin{macrocode} |
| 2663 |
\newcounter{aom@EC@counter} |
| 2664 |
% \end{macrocode} |
| 2665 |
% \end{macro} |
| 2666 |
% |
| 2667 |
% \begin{macro}{\EditorialComment} |
| 2668 |
% \changes{v0.3}{2010/09/28}{Added macro} |
| 2669 |
% \changes{v1.32}{2025/01/25}{Rewrote macro, adding levels} |
| 2670 |
% \changes{v1.34}{2025/05/06}{Rewrote the macro} |
| 2671 |
% This macro is tiny marginpar in |
| 2672 |
% manuscript mode |
| 2673 |
% \begin{macrocode} |
| 2674 |
\NewDocumentCommand\EditorialComment{O{default} +m O{0pt}}{% |
| 2675 |
\if@aom@manuscript@mode\bgroup |
| 2676 |
\expandafter\ifx\csname EditorialComment@#1\endcsname\relax\else |
| 2677 |
\stepcounter{aom@EC@counter}% |
| 2678 |
\setlength\unitlength{1sp}% |
| 2679 |
\zsavepos{aom@EC@position\arabic{aom@EC@counter}}% |
| 2680 |
\begin{picture}(0,0)% |
| 2681 |
\put(\the\dimexpr |
| 2682 |
-\zposx{aom@EC@position\arabic{aom@EC@counter}}sp + 15pt,#3){% |
| 2683 |
\parbox{80pt}{\raggedright |
| 2684 |
\normalfont\scriptsize\raggedright\expandafter\color\expandafter{% |
| 2685 |
\csname EditorialComment@#1\endcsname}#2}}% |
| 2686 |
\end{picture}% |
| 2687 |
\fi |
| 2688 |
\egroup |
| 2689 |
\fi} |
| 2690 |
% \end{macrocode} |
| 2691 |
% \end{macro} |
| 2692 |
% |
| 2693 |
% \begin{macro}{\ECSelect} |
| 2694 |
% \changes{v1.32}{2025/01/25}{Added macro} |
| 2695 |
% \changes{v1.34}{2025/04/13}{Added colors} |
| 2696 |
% \begin{macrocode} |
| 2697 |
\newcommand\ECSelect[2][black]{\if@aom@manuscript@mode |
| 2698 |
\expandafter\gdef\csname |
| 2699 |
EditorialComment@#2\endcsname{#1}% |
| 2700 |
\fi} |
| 2701 |
\AtBeginDocument{\ECSelect{default}} |
| 2702 |
% \end{macrocode} |
| 2703 |
% \end{macro} |
| 2704 |
% |
| 2705 |
% \begin{macro}{\Highlight} |
| 2706 |
% \changes{v1.32}{2025/01/25}{Added macro} |
| 2707 |
% \begin{macrocode} |
| 2708 |
\newcommand\Highlight[2][default]{% |
| 2709 |
\expandafter\ifx\csname Highlight@#1\endcsname\relax |
| 2710 |
#2\else |
| 2711 |
\csname Highlight@#1\endcsname{#2}\fi} |
| 2712 |
% \end{macrocode} |
| 2713 |
% \end{macro} |
| 2714 |
% |
| 2715 |
% \begin{macro}{\HSelect} |
| 2716 |
% \changes{v1.32}{2025/01/25}{Added macro} |
| 2717 |
% \begin{macrocode} |
| 2718 |
\newcommand\HSelect[2][red]{\if@aom@manuscript@mode |
| 2719 |
\@for\TC@level:=#2\do{\expandafter |
| 2720 |
\gdef\csname Highlight@\TC@level\endcsname##1{\bgroup |
| 2721 |
\Hy@colorlinksfalse |
| 2722 |
\def\Hy@colorlink####1{\begingroup}% |
| 2723 |
\def\Hy@endcolorlink{\endgroup}% |
| 2724 |
\color{#1}##1\egroup}}% |
| 2725 |
\fi} |
| 2726 |
\AtBeginDocument{\HSelect{default}} |
| 2727 |
% \end{macrocode} |
| 2728 |
% \end{macro} |
| 2729 |
% |
| 2730 |
% \begin{macro}{\@fullref} |
| 2731 |
% \changes{v0.5}{2010/10/24}{Added macro} |
| 2732 |
% This macro creates a wide link for the reference. It has four |
| 2733 |
% parameters: the word (theorem, equation,\dots), the ``pre'' |
| 2734 |
% punctuation, the reference and the ``post'' punctuation. |
| 2735 |
% \begin{macrocode} |
| 2736 |
\def\@fullref#1#2#3#4{\hyperref[#3]{#1~#2\ref*{#3}#4}} |
| 2737 |
% \end{macrocode} |
| 2738 |
% \end{macro} |
| 2739 |
% \begin{macro}{\fullref} |
| 2740 |
% \changes{v0.5}{2010/10/24}{Added macro} |
| 2741 |
% A reference without parentheses: |
| 2742 |
% \begin{macrocode} |
| 2743 |
\newcommand{\fullref}[2]{\@fullref{#1}{}{#2}{}} |
| 2744 |
% \end{macrocode} |
| 2745 |
% \end{macro} |
| 2746 |
% \begin{macro}{\pfullref} |
| 2747 |
% \changes{v0.5}{2010/10/24}{Added macro} |
| 2748 |
% A reference with parentheses: |
| 2749 |
% \begin{macrocode} |
| 2750 |
\newcommand{\pfullref}[2]{\@fullref{#1}{(}{#2}{)}} |
| 2751 |
% \end{macrocode} |
| 2752 |
% \end{macro} |
| 2753 |
% \begin{macro}{\bfullref} |
| 2754 |
% \changes{v0.5}{2010/10/24}{Added macro} |
| 2755 |
% A reference with brackets: |
| 2756 |
% \begin{macrocode} |
| 2757 |
\newcommand{\bfullref}[2]{\@fullref{#1}{[}{#2}{]}} |
| 2758 |
% \end{macrocode} |
| 2759 |
% \end{macro} |
| 2760 |
% \begin{macro}{\eqfullref} |
| 2761 |
% \changes{v0.5}{2010/10/24}{Added macro} |
| 2762 |
% Here we do not use the standard common |\@fullref| because we want |
| 2763 |
% |\eqref| to work\dots |
| 2764 |
% \begin{macrocode} |
| 2765 |
\newcommand{\eqfullref}[2]{\hyperref[#2]{#1~\textup{\tagform@{\ref*{#2}}}}} |
| 2766 |
% \end{macrocode} |
| 2767 |
% \end{macro} |
| 2768 |
% \begin{macro}{\fullpageref} |
| 2769 |
% \changes{v1.25}{2021/04/10}{Added macro} |
| 2770 |
% A wide link for page reference. Note that the word ``page'' can |
| 2771 |
% be omitted |
| 2772 |
% \begin{macrocode} |
| 2773 |
\newcommand{\fullpageref}[2][page]{\hyperref[#2]{#1~\pageref*{#2}}} |
| 2774 |
% \end{macrocode} |
| 2775 |
% \end{macro} |
| 2776 |
% |
| 2777 |
% |
| 2778 |
% \begin{macro}{\eqnarray} |
| 2779 |
% \changes{v0.9}{2010/12/04}{Redefined standard macro} |
| 2780 |
% While we do \emph{not} recommend the use of |eqnarray|, we still |
| 2781 |
% would like to correct the ugly spacing around it\dots |
| 2782 |
% \begin{macrocode} |
| 2783 |
\def\eqnarray{% |
| 2784 |
\stepcounter{equation}% |
| 2785 |
\def\@currentlabel{\p@equation\theequation}% |
| 2786 |
\global\@eqnswtrue |
| 2787 |
\m@th |
| 2788 |
\global\@eqcnt\z@ |
| 2789 |
\tabskip\@centering |
| 2790 |
\let\\\@eqncr |
| 2791 |
$$\arraycolsep1\p@ |
| 2792 |
\everycr{}\halign to\displaywidth\bgroup |
| 2793 |
\hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel |
| 2794 |
&\global\@eqcnt\@ne\hskip \tw@\arraycolsep \hfil${##}$\hfil |
| 2795 |
&\global\@eqcnt\tw@ \hskip \tw@\arraycolsep |
| 2796 |
$\displaystyle{##}$\hfil\tabskip\@centering |
| 2797 |
&\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup |
| 2798 |
\tabskip\z@skip |
| 2799 |
\cr |
| 2800 |
} |
| 2801 |
% \end{macrocode} |
| 2802 |
% |
| 2803 |
% \end{macro} |
| 2804 |
% |
| 2805 |
% \begin{macro}{\includecolorgraphics} |
| 2806 |
% \changes{v1.32}{2025/01/25}{Added macro} |
| 2807 |
% Color graphics: select either the first or the second argument. |
| 2808 |
% \begin{macrocode} |
| 2809 |
\newcommand\includecolorgraphics[3][]{\if@aom@screen@mode |
| 2810 |
\includegraphics[#1]{#2}\else |
| 2811 |
\includegraphics[#1]{#3}\fi} |
| 2812 |
% \end{macrocode} |
| 2813 |
% \end{macro} |
| 2814 |
% |
| 2815 |
% \begin{macro}{\@aom@sponsors} |
| 2816 |
% \changes{v1.35}{2022/05/25}{Added macro} |
| 2817 |
% The list of sponsors, separated by |\and| |
| 2818 |
% \begin{macrocode} |
| 2819 |
\def\@aom@sponsors{} |
| 2820 |
\AtEndDocument{% |
| 2821 |
\ifx\@aom@sponsort\@empty\else |
| 2822 |
\protected@write\@mainrpi{}% |
| 2823 |
{\@percentchar grants=\@aom@sponsors}% |
| 2824 |
\fi} |
| 2825 |
% \end{macrocode} |
| 2826 |
% \end{macro} |
| 2827 |
% |
| 2828 |
% \begin{macro}{\funding} |
| 2829 |
% \changes{v1.27}{2022/04/30}{Added macro} |
| 2830 |
% The macro to print grants. It adds to the rpi file the information |
| 2831 |
% about grants |
| 2832 |
% \begin{macrocode} |
| 2833 |
\newcommand\funding[3][]{% |
| 2834 |
\ifx\@aom@sponsors\@empty |
| 2835 |
\gdef\@aom@sponsors{sponsor=#2, grantid=#3}% |
| 2836 |
\else |
| 2837 |
\g@addto@macro{\@aom@sponsors}{\protect\and sponsor=#2, grantid=#3}% |
| 2838 |
\fi |
| 2839 |
\def\@tempa{#1}\relax% |
| 2840 |
\ifx\@tempa\@empty\relax |
| 2841 |
\def\@tempb{#3}% |
| 2842 |
#2% |
| 2843 |
\ifx\@tempb\@empty\relax\else\ (grant~#3)\fi |
| 2844 |
\else |
| 2845 |
#1 |
| 2846 |
\fi} |
| 2847 |
% \end{macrocode} |
| 2848 |
% |
| 2849 |
% \end{macro} |
| 2850 |
% |
| 2851 |
%\subsection{End of Class} |
| 2852 |
%\label{end} |
| 2853 |
% |
| 2854 |
% |
| 2855 |
% \begin{macrocode} |
| 2856 |
%</class> |
| 2857 |
% \end{macrocode} |
| 2858 |
% |
| 2859 |
%\Finale |
| 2860 |
%\clearpage |
| 2861 |
% |
| 2862 |
%\PrintChanges |
| 2863 |
%\clearpage |
| 2864 |
%\PrintIndex |
| 2865 |
% |
| 2866 |
\endinput |