summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/aomart
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-04-12 20:04:49 +0000
committerKarl Berry <karl@freefriends.org>2021-04-12 20:04:49 +0000
commit8291b997365ae1d722de13105044fa5074fb9240 (patch)
tree66b823a42abf55a874e4bfcc104677cc42dbef18 /Master/texmf-dist/source/latex/aomart
parent1b46f20416a9e8cc55188c0b4ad13cc91ace5aed (diff)
aomart (12apr21)
git-svn-id: svn://tug.org/texlive/trunk@58855 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/aomart')
-rw-r--r--Master/texmf-dist/source/latex/aomart/aomart.dtx58
1 files changed, 41 insertions, 17 deletions
diff --git a/Master/texmf-dist/source/latex/aomart/aomart.dtx b/Master/texmf-dist/source/latex/aomart/aomart.dtx
index 3bfbf3390ab..f5e7e0d0252 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.77 2020/08/09 22:26:46 boris Exp $
+% $Id: aomart.dtx,v 1.78 2021/04/11 00:14:37 boris Exp $
%
-% Copyright 2010-2020, Princeton University (Mathematics Department)
+% Copyright 2010-2021, 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{1532}
+% \CheckSum{1536}
%
%
%% \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--2020, Princeton University
+% Mathematics}\thanks{\copyright 2010--2021, Princeton University
% (Mathematics Department)}}
% \author{Boris Veytsman\thanks{%
% \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}},
@@ -574,10 +574,11 @@
% \end{verbatim}
%
%
-% \DescribeMacro{\fullref}
-% \DescribeMacro{\pfullref}
-% \DescribeMacro{\bfullref}
-% \DescribeMacro{\eqfullref}
+% \DescribeMacro{\fullref}%
+% \DescribeMacro{\pfullref}%
+% \DescribeMacro{\bfullref}%
+% \DescribeMacro{\eqfullref}%
+% \DescribeMacro{\fullpageref}%
% A set of macros is used to make more convenient clickable references
% in the online versions of papers. The
% package~\progname{hyperref}~\cite{Rahtz06:Hyperref}
@@ -600,6 +601,19 @@
% \begin{verbatim}
% ...see \eqfullref{equation}{eq:alpha}...
% \end{verbatim}
+% The similar command |\fullpageref| is used to make the word
+% ``page'' clickable, for example,
+% \begin{verbatim}
+% ...see \eqfullref{equation}{eq:alpha} on
+% \fullpageref{eq:alpha}...
+% \end{verbatim}
+% By default the command adds the word ``page'' to the text. You can
+% override this choice using the optiomal parameter, e.g.
+% \begin{verbatim}
+% \fullpageref[The page]{eq:alpha} starts the discussion of...
+% \end{verbatim}
+%
+%
%
% The \progname{Perl} script \path{fullref.pl} can be used to convert
% change all references to the |\fullref| commands. It works in the
@@ -607,14 +621,15 @@
% \begin{verbatim}
% perl fullref.pl original.pl > result.pl
% \end{verbatim}
-% The script converts all instances of combinations ``|word \ref{reference}|''
-% and ``|word~\ref{reference}|''
-% to ``|\fullref{word}{reference}|, and similarly for
-% parenthesized references or |\eqref| commands. To prevent the
-% converting, just put |\ref{reference}| or |\eqref{reference}| inside
-% braces. The ``word'' here must not start with a backslash
-% (i.e. must not be a macro itself). This prevents disastrous results
-% for phrases like ``|see~\ref{a}, \ref{b}|''.
+% The script converts all instances of combinations
+% ``|word \ref{reference}|'', ``|word~\ref{reference}|'' and
+% ``|word~\pageref{reference}|'' to ``|\fullref{word}{reference}|, and
+% similarly for parenthesized references, |\eqref| commands, and page
+% references. To prevent the converting, just put |\ref{reference}|
+% or |\eqref{reference}| inside braces. The ``word'' here must not
+% start with a backslash (i.e. must not be a macro itself). This
+% prevents disastrous results for phrases like
+% ``|see~\ref{a}, \ref{b}|''.
%
%
% The distribution includes two sample files, \path{aomsample.tex} and
@@ -781,7 +796,7 @@
\ProvidesFile{aomart.dtx}
%</gobble>
%<class>\ProvidesClass{aomart}
-[2020/08/09 v1.24 Typesetting articles for the Annals of Mathematics]
+[2021/04/10 v1.25 Typesetting articles for the Annals of Mathematics]
% \end{macrocode}
%
%
@@ -2322,6 +2337,15 @@
\newcommand{\eqfullref}[2]{\hyperref[#2]{#1~\textup{\tagform@{\ref*{#2}}}}}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\fullpageref}
+% \changes{v1.25}{2021/04/10}{Added macro}
+% A wide link for page reference. Note that the word ``page'' can
+% be omitted
+% \begin{macrocode}
+\newcommand{\fullpageref}[2][page]{\hyperref[#2]{#1~\pageref*{#2}}}
+% \end{macrocode}
+% \end{macro}
+%
%
% \begin{macro}{\eqnarray}
% \changes{v0.9}{2010/12/04}{Redefined standard macro}