diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/aomart/aomart.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/aomart/aomart.dtx | 83 |
1 files changed, 65 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/aomart/aomart.dtx b/Master/texmf-dist/source/latex/aomart/aomart.dtx index 29d2c8e44db..3bfbf3390ab 100644 --- a/Master/texmf-dist/source/latex/aomart/aomart.dtx +++ b/Master/texmf-dist/source/latex/aomart/aomart.dtx @@ -1,7 +1,7 @@ % \iffalse -% $Id: aomart.dtx,v 1.74 2017/12/14 04:17:05 boris Exp $ +% $Id: aomart.dtx,v 1.77 2020/08/09 22:26:46 boris Exp $ % -% Copyright 2010-2017, Princeton University (Mathematics Department) +% Copyright 2010-2020, Princeton University (Mathematics Department) % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3 of this license or (at your option) any @@ -23,7 +23,7 @@ % public domain. % % \fi -% \CheckSum{1474} +% \CheckSum{1532} % % %% \CharacterTable @@ -66,7 +66,7 @@ % \GetFileInfo{aomart.dtx} % \newcommand{\progname}[1]{\textsf{#1}} % \title{\LaTeX{} Class for The \emph{Annals of -% Mathematics}\thanks{\copyright 2010, Princeton University +% Mathematics}\thanks{\copyright 2010--2020, Princeton University % (Mathematics Department)}} % \author{Boris Veytsman\thanks{% % \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}}, @@ -260,6 +260,9 @@ % \progname{amsart}). % % +% \DescribeOption{printscheme}% +% Normally the scheme for MSC numbers is not printed. If the option +% |printscheme| is chosen, however, it is printed explicitly. % % %\subsection{Top Matter} @@ -412,9 +415,8 @@ % \subject{primary}{msc2000}{20E45} % \subject{secondary}{msc2000}{20F65} % \end{verbatim} -% % -% \DescribeMacro{\formatdate} +% \DescribeMacro{\formatdate}% % The macro |\formatdate| is used to format the dates in the % commands. Its argument is the date in the format |YYYY-MM-DD|, for % example @@ -779,7 +781,7 @@ \ProvidesFile{aomart.dtx} %</gobble> %<class>\ProvidesClass{aomart} -[2017/12/13 v1.21 Typesetting articles for the Annals of Mathematics] +[2020/08/09 v1.24 Typesetting articles for the Annals of Mathematics] % \end{macrocode} % % @@ -878,7 +880,15 @@ % % \end{macro} % -% +% \begin{macro}{\if@aom@printscheme} +% \changes{v1.24}{2020/08/09}{Added optional printing of scheme} +% \begin{macrocode} +\newif\if@aom@printscheme +\@aom@printschemefalse +\DeclareOption{printscheme}{\@aom@printschemetrue} +% \end{macrocode} +% +% \end{macro} % % All other options are passed to \progname{amsart}: % \begin{macrocode} @@ -912,13 +922,15 @@ % \changes{v0.5}{2010/10/24}{Made Roman font the default URL font} % \changes{v0.10}{2010/12/20}{Screen mode triggers special URL % settings} -% \changes{v1.1}{2010/12/31}{In manuscript mode the links are always blue} +% \changes{v1.1}{2010/12/31}{In manuscript mode the links are always +% blue} +% \changes{v1.22}{2018/05/21}{In screen mode we no longer crop pages} % \begin{macrocode} \RequirePackage{fancyhdr, lastpage, ifpdf} \RequirePackage[breaklinks,colorlinks]{hyperref} \if@aom@screen@mode \hypersetup{linkcolor=blue,citecolor=blue, - urlcolor=blue, pdfpagescrop={110 705 500 80}}% + urlcolor=blue}% \else\if@aom@manuscript@mode \hypersetup{linkcolor=blue,citecolor=blue, urlcolor=blue}% @@ -978,13 +990,40 @@ % %\subsection{Fonts} %\label{sec:fonts} -% +% % \changes{v0.8}{2010/1/16}{Added yhmath} -% We use \progname{yhmath} for wide symbols: +% We use \progname{yhmath} for large symbols: % \begin{macrocode} \RequirePackage{yhmath} % \end{macrocode} % +% \changes{v1.23}{2018/12/25}{Made ymath large symbols default} +% Since version 1.2 ymath no longer makes its large symbols default. +% We override this +% \begin{macrocode} +\DeclareSymbolFont{largesymbols}{OMX}{yhex}{m}{n} +% \end{macrocode} +% +% \begin{macro}{\widehat} +% \begin{macro}{\widetilde} +% \changes{v1.23}{2018/12/25}{We are taking wide hat and wide tilde +% from amsfonts} +% The way \cs{widehat} and \cs{widetilde} are implemented in ymath is +% buggy, see +% \url{https://www.reddit.com/r/LaTeX/comments/2j7mtn/usepackageamsmath_vs_usepackageyhmath_and_the/}. We use AMS definitions instead +% \begin{macrocode} +\xdef\widehat#1{\noexpand\@mathmeasure\z@\textstyle{#1}% + \noexpand\ifdim\noexpand\wd\z@>\tw@ em% + \mathaccent"0\hexnumber@\symAMSb 5B{#1}% + \noexpand\else\mathaccent"0362{#1}\noexpand\fi} +\xdef\widetilde#1{\noexpand\@mathmeasure\z@\textstyle{#1}% + \noexpand\ifdim\noexpand\wd\z@>\tw@ em% + \mathaccent"0\hexnumber@\symAMSb 5D{#1}% + \noexpand\else\mathaccent"0365{#1}\noexpand\fi} +% \end{macrocode} +% +% \end{macro} +% \end{macro} % % \changes{v0.3}{2010/09/26}{Added package mdputu} % \changes{v0.4}{2010/09/28}{Switched to upright digits in italics @@ -1363,16 +1402,24 @@ % % \begin{macro}{\subject} % \changes{v1.18}{2017/02/15}{Drop scheme and primary/secondary} -% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects separated} -% Subjects: +% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects +% separated} +% \changes{v1.24}{2020/08/09}{Added scheme} +% Subjects. % \begin{macrocode} \let\@primarysubjects\@empty \let\@secondarysubjects\@empty +\let\@primaryscheme\@empty +\let\@secondaryschme\@empty \def\subject#1#2#3{% \expandafter\ifx\csname @#1subjects\endcsname\@empty\relax \expandafter\gdef\csname @#1subjects\endcsname{#3}% \else \expandafter\g@addto@macro\csname @#1subjects\endcsname{, #3}% + \fi + \if@aom@printscheme + \expandafter\g@addto@macro\csname @#1subjects\endcsname{% + ~(#2)}% \fi} % \end{macrocode} % @@ -1831,20 +1878,20 @@ \def\@setsubjects{% \let\@subjects\@empty \ifx\@primarysubjects\@empty\else - \edef\@subjects{Primary: \@primarysubjects}% + \edef\@subjects{Primary:~\@primarysubjects}% \fi \ifx\@secondarysubjects\@empty\else \ifx\@primarysubjects\@empty - \edef\@subjects{Secondary: \@secondarysubjects}% + \edef\@subjects{Secondary:~\@secondarysubjects}% \else - \edef\@subjects{\@subjects; Secondary: \@secondarysubjects}% + \edef\@subjects{\@subjects; Secondary:~\@secondarysubjects}% \fi \fi \ifpdf \hypersetup{pdfsubject=\@subjects}% \fi \if@aom@oldkeywords\else - \@footnotetext{AMS Classification: \@subjects.}% + \@footnotetext{AMS Classification:~\@subjects.}% \fi } % \end{macrocode} |