summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/aomart/aomart.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-04-13 03:00:56 +0000
committerNorbert Preining <norbert@preining.info>2021-04-13 03:00:56 +0000
commit32940266507ccd0c4ba129c61e8932734370e283 (patch)
treeb26a8b13953b035ea6e12d2d46ad0488c9636d06 /macros/latex/contrib/aomart/aomart.dtx
parent72c29070e5c574da1a734cb90214754b2f3aa698 (diff)
CTAN sync 202104130300
Diffstat (limited to 'macros/latex/contrib/aomart/aomart.dtx')
-rw-r--r--macros/latex/contrib/aomart/aomart.dtx58
1 files changed, 41 insertions, 17 deletions
diff --git a/macros/latex/contrib/aomart/aomart.dtx b/macros/latex/contrib/aomart/aomart.dtx
index 3bfbf3390a..f5e7e0d025 100644
--- a/macros/latex/contrib/aomart/aomart.dtx
+++ b/macros/latex/contrib/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}