diff options
author | Karl Berry <karl@freefriends.org> | 2017-12-18 22:33:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-12-18 22:33:25 +0000 |
commit | bdcf20b378a4042c8ee2e4a5e9fb9aee2542642c (patch) | |
tree | 90045484e27f303f70610eecc80ba146d1bcb421 /Master/texmf-dist/tex | |
parent | d0cadcf187a8a8b0875f054420842015d33211cb (diff) |
aomart (17dec17)
git-svn-id: svn://tug.org/texlive/trunk@46091 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/aomart/aomart.cls | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/aomart/aomart.cls b/Master/texmf-dist/tex/latex/aomart/aomart.cls index 8e302ff6f69..a9324141a25 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/05/09 v1.20 Typesetting articles for the Annals of Mathematics] +[2017/12/13 v1.21 Typesetting articles for the Annals of Mathematics] \long\def\aom@size@warning#1{% \ClassWarning{aomart}{Size-changing option #1 will not be honored}}% @@ -281,14 +281,25 @@ \else\def\end@page{#1}\fi} \def\pagespan#1#2{\startpage{#1}\endpage{#2}} \pagespan{1}{} +\def\g@addto@abstract#1{\g@addto@macro{\@aom@abstract}{#1}} \long\def\@aom@abstract{} \long\def\@getabstract#1{% - \long\gdef\@aom@abstract{#1}% + \bgroup + \ifx\languagename\undefined + \def\languagename{english}% + \fi + \g@addto@abstract{<begin abstract }% + \expandafter\g@addto@abstract\expandafter{\languagename>}% + \g@addto@macro\@aom@abstract{#1}% + \g@addto@abstract{<end abstract }% + \expandafter\g@addto@abstract\expandafter{\languagename>}% + \egroup \ifx\maketitle\relax \ClassWarning{aomart}{Abstract should precede \protect\maketitle\space in AMS derived classes}% \fi \global\setbox\abstractbox=\vtop\bgroup% + \box\abstractbox \vglue1pc% {\centering\normalfont\normalsize\bfseries\abstractname\par\vglue1pc}% \list{}{\labelwidth\z@% @@ -330,7 +341,10 @@ \else \def\@tempc##1##2##3##4##5{##2}% \edef\@tempa{\expandafter\@tempc\r@LastPage}% - \fi + \fi + \ifx\languagename\undefined + \def\languagename{english}% + \fi \protected@write\@mainrpi{}% {\@percentchar authors=\authors}% \protected@write\@mainrpi{}% @@ -370,6 +384,8 @@ {\@percentchar keywords=\@keywords}% \protected@write\@mainrpi{}% {\@percentchar abstract=\@aom@abstract}% + \protected@write\@mainrpi{}% + {\@percentchar articlelanguage=\languagename}% \closeout\@mainrpi \fi \egroup} |