summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/aomart
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 19:32:51 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 19:32:51 +0000
commit9da978a0f7f3a7a4a43656242ba48b3c209b9a26 (patch)
treeb52df8e4e5cd4a85aad2f9d1f83bd986b4f53a3a /Master/texmf-dist/tex/latex/aomart
parent37def44d2d953c874d2c87a0167b1cec4bf620b2 (diff)
aomart 1.9, 2011/06/13
git-svn-id: svn://tug.org/texlive/trunk@23349 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/aomart')
-rw-r--r--Master/texmf-dist/tex/latex/aomart/aomart.cls20
1 files changed, 15 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/aomart/aomart.cls b/Master/texmf-dist/tex/latex/aomart/aomart.cls
index 44a58100229..35d5123e737 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}
-[2011/03/08 v1.7 Typesetting articles for the Annals of Mathematics]
+[2011/06/21 v1.10 Typesetting articles for the Annals of Mathematics]
\long\def\aom@size@warning#1{%
\ClassWarning{aomart}{Size-changing option #1 will not be
honored}}%
@@ -52,6 +52,9 @@
\newif\if@aom@screen@mode
\@aom@screen@modefalse
\DeclareOption{screen}{\@aom@screen@modetrue}
+\newif\if@aom@olddoi
+\@aom@olddoifalse
+\DeclareOption{olddoi}{\@aom@olddoitrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{amsart}}
\InputIfFileExists{aomart.cfg}{%
\ClassInfo{aomart}{%
@@ -73,6 +76,12 @@
urlcolor=black}%
\fi\fi
\urlstyle{rm}
+\def\@aom@by{By}
+\def\@aom@and{and}
+\AtBeginDocument{\@ifpackageloaded{babel}{%
+ \addto\captionsfrench{\def\@aom@by{Par}\def\@aom@and{et}}%
+ \addto\captionsgerman{\def\@aom@by{Von}\def\@aom@and{und}}%
+ \addto\captionsenglish{\def\@aom@by{By}\def\@aom@and{and}}}{}}
\RequirePackage{yhmath}
\IfFileExists{cmtiup.sty}{%
\RequirePackage{cmtiup}}{%
@@ -269,13 +278,13 @@
\centering\footnotesize \@topsep30\p@\relax
\advance\@topsep by -\baselineskip
\item\relax
- \def\@@and{{\upshape and}}
+ \def\@@and{{\upshape \@aom@and}}
\author@andify\authors
\ifpdf
\hypersetup{pdfauthor=\authors}%
\fi
\def\\{\protect\linebreak}%
- \small By \scshape\authors%
+ \small \@aom@by{} \scshape\authors%
\ifx\@empty\contribs
\else
,\penalty-3 \space \@setcontribs
@@ -308,7 +317,7 @@
\hypersetup{pdfsubject=\@subjects}%
\fi
}
-\def\@@and{\MakeLowercase{and}}
+\def\@@and{\MakeLowercase{\@aom@and}}
\def\enddoc@text{%
\ifx\@empty\@translators \else\@settranslators\fi
\ifx\@empty\@received \else\@setreceived\fi
@@ -390,7 +399,8 @@
\popQED\endtrivlist\@endpefalse
}
\def\repeatedauthors#1{\bysame}
-\def\doi#1{\href{http://dx.doi.org/#1}{doi: \path{#1}}}
+\def\doi#1{\if@aom@olddoi\href{http://dx.doi.org/#1}{doi: \path{#1}}%
+\else\url{http://dx.doi.org/#1}\fi}
\def\mr#1{\href{http://www.ams.org/mathscinet-getitem?mr=#1}{MR~\path{#1}}}
\def\zbl#1{\href{http://www.zentralblatt-math.org/zmath/en/search/?q=an:#1}{Zbl~\path{#1}}}
\def\arxiv#1{\href{http://www.arxiv.org/abs/#1}{arXiv~\path{#1}}}