From bf80491ac71811c63bae7131da3e651348c48d8e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 11 Jan 2011 23:20:15 +0000 Subject: aomart 1.3 (11jan11) git-svn-id: svn://tug.org/texlive/trunk@21033 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/aomart/aomart.dtx | 58 ++++++++++++++++++------ 1 file changed, 44 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/source/latex/aomart') diff --git a/Master/texmf-dist/source/latex/aomart/aomart.dtx b/Master/texmf-dist/source/latex/aomart/aomart.dtx index b2c94d1bc46..33cced806c3 100644 --- a/Master/texmf-dist/source/latex/aomart/aomart.dtx +++ b/Master/texmf-dist/source/latex/aomart/aomart.dtx @@ -1,5 +1,5 @@ % \iffalse -% $Id: aomart.dtx,v 1.41 2011-01-02 22:20:16 boris Exp $ +% $Id: aomart.dtx,v 1.43 2011-01-07 18:37:03 boris Exp $ % % Copyright 2010, The Annals of Mathematics. % This work may be distributed and/or modified under the @@ -23,7 +23,7 @@ % public domain. % % \fi -% \CheckSum{988} +% \CheckSum{1011} % % %% \CharacterTable @@ -91,6 +91,7 @@ % \changes{v0.10}{2010/12/20}{Bibliography styles update} % \changes{v0.10}{2010/12/20}{Documentation update} % \changes{v1.0}{2010/12/21}{Top matter macros are now only in preamble} +% \changes{v1.2}{2011/01/05}{Bibliography styles update} % % \clearpage % @@ -433,6 +434,11 @@ % any reason wrong. % % +% \DescribeMacro{\oldsubsections} +% Starting with version~1.2 we decreased the vertical spacing before +% |\subsection|. The command |\oldsubsections| restores the ``old'' +% values. +% %\subsection{Additional Macros} %\label{sec:add_guide} % @@ -593,6 +599,8 @@ % \item[doi:] DOI number for the article. % \item[jfmnumber:] JFM number for the article. % \item[arxiv:] ArXiv reference for the ArXiv manuscript. +% \item[url:] If the reference is available online, the corresponding +% url. % \item[venue:] (for \texttt{conference} entries) the place where the % conference took place. % \end{description} @@ -656,7 +664,7 @@ \ProvidesFile{aomart.dtx} % %\ProvidesClass{aomart} -[2010/12/31 v1.1 Typesetting articles for the Annals of Mathematics] +[2011/01/07 v1.3 Typesetting articles for the Annals of Mathematics] % \end{macrocode} % % @@ -968,7 +976,9 @@ % \end{macrocode} % % \changes{v0.3}{2010/09/26}{Addec DOI number in headers} -% \changes{v0.9}{2010/12/04}{Changed font for the folio on the first page} +% \changes{v0.9}{2010/12/04}{Changed font for the folio on the first +% page} +% \changes{v1.3}{2011/01/07}{Corrected bug with doinumber} % The first page has the special headers. The style |firstpage| is % invoked by \progname{amsart}; here we just redefine it. % \begin{macrocode} @@ -984,7 +994,8 @@ (\currentyear), \start@page--\end@page\\ \ifx\@doinumber\@empty\else - \doi{\@doinumber}\fi}% + \edef\@doinumber{\@doinumber}% + \expandafter\doi\expandafter{\@doinumber}\fi}% \cfoot{\footnotesize\thepage}}% % \end{macrocode} % @@ -1419,6 +1430,7 @@ % \changes{v0.5}{2010/10/24}{Deleted the word URL} % \changes{v0.5}{2010/10/24}{E-mail is now in Roman font} % \changes{v0.9}{2010/12/04}{Deleted spurious space in urladdress} +% \changes{v1.2}{2011/01/05}{Changed font for current address} % The difference between our definition and the one in % \progname{amsart} is that we want the e-mail and URL to be clickable % \begin{macrocode} @@ -1434,8 +1446,8 @@ {\scshape\ignorespaces##2}\par\endgroup}% \def\curraddr##1##2{\begingroup \@ifnotempty{##2}{\nobreak\indent\curraddrname - \@ifnotempty{##1}{, \ignorespaces##1\unskip}\hskip0.2em:\space - ##2\par}\endgroup}% + \@ifnotempty{##1}{, \ignorespaces\scshape##1\unskip}\hskip0.2em:\space + \scshape##2\par}\endgroup}% \def\email##1##2{\begingroup \@ifnotempty{##2}{\nobreak\indent\emailaddrname \@ifnotempty{##1}{, \ignorespaces##1\unskip}\hskip0.2em:\space @@ -1475,14 +1487,27 @@ % % \begin{macro}{\subsection} % \changes{v0.5}{2010/10/24}{Redefined macro} +% \changes{v1.2}{2011/01/05}{Decreased vertical spacing} % We want our sections to be indented and italic: % \begin{macrocode} \def\subsection{\@startsection{subsection}{2}% - {\parindent}{.5\linespacing\@plus.7\linespacing}{-.5em}% + {\parindent}{.5\linespacing\@plus.3\linespacing}{-.5em}% {\normalfont\itshape}} % \end{macrocode} % \end{macro} % +% \begin{macro}{\oldsubsections} +% \changes{v1.2}{2011/01/05}{Introduced macro} +% This macro restores the values for |\subsection| spacing prior to +% v1.1. +% \begin{macrocode} +\def\oldsubsections{% +\gdef\subsection{\@startsection{subsection}{2}% + {\parindent}{.5\linespacing\@plus.7\linespacing}{-.5em}% + {\normalfont\itshape}}} +% \end{macrocode} +% +% \end{macro} % % %\subsection{Figures and Tables} @@ -1596,27 +1621,32 @@ % % % \begin{macro}{\doi} +% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} % Typesetting doi\dots % \begin{macrocode} -\def\doi#1{\href{http://dx.doi.org/#1}{doi: #1}} +\def\doi#1{\href{http://dx.doi.org/#1}{doi: \path{#1}}} % \end{macrocode} % \end{macro} % % \begin{macro}{\mr} % \changes{v0.3}{2010/09/27}{Added macro} +% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} % \begin{macro}{\zbl} % \changes{v0.3}{2010/09/27}{Added macro} % \changes{v0.6}{2010/10/03}{Changed capitalization} +% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} % \begin{macro}{\arxiv} % \changes{v0.3}{2010/09/27}{Added macro} +% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} % \begin{macro}{\jfm} % \changes{v0.10}{2010/12/18}{Added macro} -% These commands are from the style by Silvio Levy +% \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} +% Typesetting urls % \begin{macrocode} -\def\mr#1{\href{http://www.ams.org/mathscinet-getitem?mr=#1}{MR~#1}} -\def\zbl#1{\href{http://www.zentralblatt-math.org/zmath/en/search/?q=an:#1}{Zbl~#1}} -\def\arxiv#1{\href{http://www.arxiv.org/abs/#1}{arXiV~#1}} -\def\jfm#1{\href{http://www.emis.de/cgi-bin/JFM-item?#1}{JFM~#1}} +\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}}} +\def\jfm#1{\href{http://www.emis.de/cgi-bin/JFM-item?#1}{JFM~\path{#1}}} % \end{macrocode} % % \end{macro} -- cgit v1.2.3