summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/aomart/aomart.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/aomart/aomart.cls')
-rw-r--r--Master/texmf-dist/tex/latex/aomart/aomart.cls30
1 files changed, 20 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/aomart/aomart.cls b/Master/texmf-dist/tex/latex/aomart/aomart.cls
index b029c8af3cc..54a40196724 100644
--- a/Master/texmf-dist/tex/latex/aomart/aomart.cls
+++ b/Master/texmf-dist/tex/latex/aomart/aomart.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{aomart}
-[2022/04/30 v1.27 Typesetting articles for the Annals of Mathematics]
+[2024/06/08 v1.28 Typesetting articles for the Annals of Mathematics]
\long\def\aom@size@warning#1{%
\ClassWarning{aomart}{Size-changing option #1 will not be
honored}}%
@@ -72,7 +72,7 @@
Configuration file aomart.cfg is not found}}
\ProcessOptions\relax
\LoadClass[11pt]{amsart}
-\RequirePackage{fancyhdr, lastpage, ifpdf}
+\RequirePackage{fancyhdr, lastpage, ifpdf, graphicx}
\RequirePackage[breaklinks,colorlinks]{hyperref}
\if@aom@screen@mode
\hypersetup{linkcolor=blue,citecolor=blue,
@@ -132,6 +132,7 @@
\widowpenalty=10000
\clubpenalty=10000
\setlength{\headsep}{14pt}
+\setlength{\headheight}{18.0pt}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\if@aom@manuscript@mode
@@ -230,6 +231,7 @@
\g@addto@macro\@names{\and author=#2;}%
\g@addto@macro\addresses{\author{}}%
\fi
+ \gdef\aom@current@orcid@target{\authors}%
\@ifnotempty{#1}{%
\ifx\@empty\shortauthors
\gdef\shortauthors{#1}%
@@ -261,6 +263,7 @@
}
\renewcommand{\contrib}[2][]{%
\def\@tempa{#1}%
+ \gdef\aom@current@orcid@target{\@currentcontributors}%
\@startcontribgrouptrue
\ifx\@tempa\@empty\relax
\ifx\@currentcontribution\@empty\relax
@@ -286,6 +289,7 @@
\expandafter\g@addto@macro\expandafter%
\@names\expandafter{\@currentcontribution}%
\g@addto@macro\@names{;}%
+ \g@addto@macro\addresses{\author{}}%
}
\renewcommand{\email}[2][]{%
\g@addto@macro\addresses{\email{#1}{#2}}%
@@ -295,10 +299,13 @@
\g@addto@macro\addresses{\urladdr{#1}{#2}}%
\g@addto@macro\@names{urladdr=#2;}%
}
-\newcommand{\orcid}[2][]{%
- \g@addto@macro\addresses{\orcid{#1}{#2}}%
- \g@addto@macro\@names{orcid=#2;}%
+\def\aom@current@orcid@target{\authors}
+\newcommand{\orcid}[1]{%
+ \g@addto@macro\addresses{\orcid{#1}}%
+ \g@addto@macro\@names{orcid=#1;}%
+ \expandafter\g@addto@macro\aom@current@orcid@target{\aom@orcidlink{#1}}%
}
+\newcommand\aom@orcidlink[1]{\kern0.2ex\href{https://orcid.org/#1}{\includegraphics[height=2ex]{aom_orcid_logo}}}
\def\keyword#1{\ifx\@keywords\@empty\gdef\@keywords{#1}\else
\g@addto@macro\@keywords{, #1}\fi}
\let\@primarysubjects\@empty
@@ -476,7 +483,11 @@
\def\@@and{{\upshape \@aom@and}}%
\author@andify\authors
\ifpdf
- \hypersetup{pdfauthor=\authors}%
+ \bgroup
+ \def\aom@orcidlink##1{}%
+ \xdef\@tempa{\authors}%
+ \egroup
+ \hypersetup{pdfauthor=\@tempa}%
\fi
\def\\{\protect\linebreak}%
\small \@aom@by{} \scshape\authors%
@@ -570,10 +581,9 @@
\@ifnotempty{##2}{\nobreak\indent
\@ifnotempty{##1}{, \ignorespaces##1\unskip}%
\url{##2}\par}\endgroup}%
- \def\orcid##1##2{\begingroup
- \@ifnotempty{##2}{\nobreak\indent
- \@ifnotempty{##1}{, \ignorespaces##1\unskip}%
- ORCID: ##2\par}\endgroup}%
+ \def\orcid##1{\begingroup
+ \@ifnotempty{##1}{\nobreak\indent
+ ORCID: ##1\par}\endgroup}%
\addresses
\endgroup
}