summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty')
-rw-r--r--Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty83
1 files changed, 42 insertions, 41 deletions
diff --git a/Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty b/Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty
index 486dd178992..d8d92e6a8e6 100644
--- a/Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty
+++ b/Master/texmf-dist/tex/latex/amsrefs/amsrefs.sty
@@ -6,41 +6,35 @@
%%
%% amsrefs.dtx (with options: `pkg')
%%
-%%% ====================================================================
-%%% @LaTeX-doc-source-file{
-%%% filename = "amsrefs.dtx",
-%%% version = "2.03",
-%%% date = "2007/10/22",
-%%% time = "10:22:13 EDT",
-%%% author = "Michael J Downes and David M. Jones",
-%%% address = "American Mathematical Society,
-%%% Publications Technical Group,
-%%% PO Box 6248,
-%%% Providence, RI 02940,
-%%% USA",
-%%% email = "tech-support@ams.org",
-%%% URL = "http://www.ams.org/",
-%%% abstract = "A LaTeX package that permits bibliography style
-%%% to be controlled completely from the LaTeX side
-%%% instead of being determined chiefly by the BibTeX
-%%% style file.",
-%%% copyright = "Copyright 2001, 2004, 2006, 2007 American
-%%% Mathematical Society.",
-%%% license = "Unlimited copying and redistribution of this file
-%%% are permitted as long as this file is not
-%%% modified. Modifications, and distribution of
-%%% modified versions, are permitted, but only if
-%%% the resulting file is renamed.",
-%%% checksum = "57935 8186 25806 247374",
-%%% docstring = "The checksum field, produced by Robert Solovay's
-%%% checksum utility, gives CRC-16 checksum, lines,
-%%% words, and characters.",
-%%% }
-%%% ====================================================================
-%%%
+%% Copyright 2001, 2004, 2006, 2007, 2010 American Mathematical Society.
+%%
+%% American Mathematical Society
+%% Technical Support
+%% Publications Technical Group
+%% 201 Charles Street
+%% Providence, RI 02904
+%% USA
+%% tel: (401) 455-4080
+%% (800) 321-4267 (USA and Canada only)
+%% fax: (401) 331-3842
+%% email: tech-support@ams.org
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is the American Mathematical
+%% Society.
+%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{amsrefs}[2007/10/22 v2.03]
+\ProvidesPackage{amsrefs}[2010/08/17 v2.09]
\def\amsrefs@warning@nl{\PackageWarningNoLine{amsrefs}}
\@ifpackagewith{amsrefs}{beta}{%
\amsrefs@warning@nl{The beta option is obsolete}%
@@ -531,10 +525,13 @@
}{%
\@endbiblist
}
-\newcommand\@biblist[1][]{%
- \stepcounter{bib@env}
+\newcommand{\biblistfont}{%
\normalfont
\footnotesize
+}
+\newcommand\@biblist[1][]{%
+ \stepcounter{bib@env}
+ \biblistfont
\labelsep .5em\relax
\list{\BibLabel}{%
\restore@labelwidth
@@ -593,7 +590,9 @@
}
\def\CurrentBib{??}
\newcommand{\BibLabel}{%
- [\hyper@anchorstart{cite.\CurrentBib}\relax\thebib\hyper@anchorend]%
+ \hfill
+ \Hy@raisedlink{\hyper@anchorstart{cite.\CurrentBib}\hyper@anchorend}%
+ [\thebib]%
}
\newcommand{\resetbiblist}[1]{%
\settowidth\labelwidth{\def\thebib{#1}\BibLabel}%
@@ -1692,19 +1691,21 @@
\space\SentenceSpace$\uparrow$\csname br@#1\endcsname
}
\let\PrintBackRefs\@gobble
-\newcommand{\shade@cite}{\overshadebox{shaderef-gray}}
+\newcommand{\shade@cite}{\printref}
+\def\format@cite#1{\shade@cite{\citeform{#1}}}
\def\ar@hyperlink#1{%
- \hyper@@link [cite]{}{cite.\extr@cite#1}{\shade@cite{#1}}%
+ \hyper@@link[cite]{}{cite.\extr@cite#1}{\format@cite{#1}}%
}
\def\ar@SK@cite#1{\@bsphack\@xp\SK@\@xp\SK@@ref\@xp{\extr@cite#1}\@esphack}
\AtBeginDocument{%
\@ifpackageloaded{shaderef}{}{%
- \let\shade@cite\@empty
+ \let\shade@cite\@firstofone
}%
\@ifpackageloaded{hyperref}{}{%
- \let\ar@hyperlink\shade@cite
+ \def\ar@hyperlink{\format@cite}%
\let\hyper@anchorstart\@gobble
\let\hyper@anchorend\relax
+ \let\Hy@raisedlink\@firstofone
}%
\@ifpackageloaded{showkeys}{%
\@ifpackagewith{showkeys}{notcite}{%
@@ -2887,7 +2888,7 @@
\def\@citeleft{\ifx\citesel\citesel@object\else\citeleft\fi}%
\def\citepunct{; }
\def\BibLabel{%
- \hyper@anchorstart{cite.\CurrentBib}\relax\hyper@anchorend
+ \Hy@raisedlink{\hyper@anchorstart{cite.\CurrentBib}\relax\hyper@anchorend}%
}
\let\process@citelist\process@citelist@unsorted
\DeclareRobustCommand{\ycite}[1]{%