summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-13 21:31:41 +0000
committerKarl Berry <karl@freefriends.org>2020-08-13 21:31:41 +0000
commitb49945b30a6ab91e2a224bfe64f5a1f10016416d (patch)
tree3a3e3da0ef5619168ca5d1f3fff7a9d5f9df3ab7 /Master/texmf-dist/source/latex
parent1e8dd364b60217632c6c999d2d5afcb6867203c6 (diff)
aomart (13aug20)
git-svn-id: svn://tug.org/texlive/trunk@56102 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/aomart/Makefile69
-rw-r--r--Master/texmf-dist/source/latex/aomart/aomart.dtx83
2 files changed, 134 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/aomart/Makefile b/Master/texmf-dist/source/latex/aomart/Makefile
new file mode 100644
index 00000000000..a32946042f1
--- /dev/null
+++ b/Master/texmf-dist/source/latex/aomart/Makefile
@@ -0,0 +1,69 @@
+#
+# Makefile for aomart package
+#
+# This file is in public domain
+#
+# $Id: Makefile,v 1.7 2017/12/14 03:25:19 boris Exp $
+#
+
+PACKAGE=aomart
+
+SAMPLES = \
+ aomsample.tex\
+ aomsample1.tex \
+ aomfrench.tex
+
+PDF = $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf}
+
+all: ${PDF}
+
+
+%.pdf: %.dtx $(PACKAGE).cls
+ pdflatex $<
+ - bibtex $*
+ pdflatex $<
+ - makeindex -s gind.ist -o $*.ind $*.idx
+ - makeindex -s gglo.ist -o $*.gls $*.glo
+ pdflatex $<
+ while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
+ do pdflatex $<; done
+
+
+%.cls: %.ins %.dtx
+ pdflatex $<
+
+%.pdf: %.tex $(PACKAGE).cls
+ pdflatex $<
+ - bibtex $*
+ pdflatex $<
+ while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
+ do pdflatex $<; done
+
+aomsample1.tex: fullref.pl aomsample.tex
+ perl fullref.pl aomsample.tex > aomsample1.tex
+
+
+.PRECIOUS: $(PACKAGE).cfg $(PACKAGE).cls
+
+
+clean:
+ $(RM) $(PACKAGE).cls *.log *.aux \
+ *.cfg *.glo *.idx *.toc \
+ *.ilg *.ind *.out *.lof \
+ *.lot *.bbl *.blg *.gls \
+ *.dvi *.ps *.thm *.tgz *.zip *.rpi
+
+distclean: clean
+ $(RM) $(PDF) aomsample1.tex
+
+#
+# Archive for the distribution. Includes typeset documentation
+#
+archive: all clean
+ COPYFILE_DISABLE=1 \
+ tar -C .. -czvf ../$(PACKAGE).tgz --exclude '*~' \
+ --exclude '*.tgz' --exclude '*.zip' --exclude CVS $(PACKAGE)
+ mv ../$(PACKAGE).tgz .
+
+zip: all clean
+ zip -r $(PACKAGE).zip * -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*'
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}