From 4ced71c3924d49982b3a67a7e2967fe29ef3241c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 16 Apr 2017 22:18:59 +0000 Subject: aomart (14apr17) git-svn-id: svn://tug.org/texlive/trunk@43859 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/aomart/aomart.cls | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/aomart') diff --git a/Master/texmf-dist/tex/latex/aomart/aomart.cls b/Master/texmf-dist/tex/latex/aomart/aomart.cls index 8a54abfe1ec..fb7546467ee 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} -[2017/02/04 v1.17a Typesetting articles for the Annals of Mathematics] +[2017/04/12 v1.19 Typesetting articles for the Annals of Mathematics] \long\def\aom@size@warning#1{% \ClassWarning{aomart}{Size-changing option #1 will not be honored}}% @@ -58,6 +58,9 @@ \newif\if@aom@doiMMXVI \@aom@doiMMXVIfalse \DeclareOption{doi2016}{\@aom@doiMMXVItrue} +\newif\if@aom@oldkeywords +\@aom@oldkeywordsfalse +\DeclareOption{oldkeywords}{\@aom@oldkeywordstrue} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{amsart}} \InputIfFileExists{aomart.cfg}{% \ClassInfo{aomart}{% @@ -172,6 +175,7 @@ \@onlypreamble{\address} \@onlypreamble{\curraddr} \@onlypreamble{\urladdr} +\@onlypreamble{\orcid} \@onlypreamble{\givenname} \@onlypreamble{\fulladdress} \@onlypreamble{\surname} @@ -231,11 +235,15 @@ \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\keyword#1{\ifx\@keywords\@empty\gdef\@keywords{#1}\else \g@addto@macro\@keywords{, #1}\fi} \let\@subjects\@empty -\def\subject#1#2#3{\ifx\@subjects\@empty\gdef\@subjects{#1:#2:#3}\else - \g@addto@macro\@subjects{, #1:#2:#3}\fi} +\def\subject#1#2#3{\ifx\@subjects\@empty\gdef\@subjects{#3}\else + \g@addto@macro\@subjects{, #3}\fi} \def\formatdate#1{\@formatdate#1\@endformatdate} \def\@formatdate#1-#2-#3\@endformatdate{% \@tempcnta=#3\relax @@ -413,10 +421,16 @@ \ifpdf \hypersetup{pdfkeywords=\@keywords}% \fi + \if@aom@oldkeywords\else + \@footnotetext{Keywords: \@keywords}% + \fi } \def\@setsubjects{% \ifpdf \hypersetup{pdfsubject=\@subjects}% + \if@aom@oldkeywords\else + \@footnotetext{AMS Classification: \@subjects}% + \fi \fi } \def\@@and{\MakeLowercase{\@aom@and}} @@ -453,6 +467,10 @@ \@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}% \addresses \endgroup } -- cgit v1.2.3