diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/hyper/scontrib/harvard.hyp')
-rw-r--r-- | Master/texmf-dist/doc/latex/hyper/scontrib/harvard.hyp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/hyper/scontrib/harvard.hyp b/Master/texmf-dist/doc/latex/hyper/scontrib/harvard.hyp new file mode 100644 index 00000000000..53fd4fc98c3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hyper/scontrib/harvard.hyp @@ -0,0 +1,21 @@ +%% harvardfull.hyp - Amendments to harvard bibliography style Version 2.0.5 +%% to be used together with the hyper package +%% Author: Renate Schmidt (schmidt@mpi-sb.mpg.de) +%% Copyright: Renate Schmidt, May 1995 +\NeedsTeXFormat{LaTeX2e}[1994/12/01] +\ProvidesFile{harvard.hyp}[95/05/15] + +%% The following defines anchors not just for the year but also for the +%% abbr-citation, the full-citation and the name. +\renewcommand{\harvarditem}[4][\null]{% + \hyper@setcurrent% + \item[\blindhyperanchor{\@currenthyper}]% + \if@filesw{ \def\protect##1{\string ##1\space}% + \ifthenelse{\equal{#1}{\null}} + {\def\next{{#4}{\hyperreference{\@currenthyper}{#2}}{\hyperreference{\@currenthyper}{#2}}{\hyperreference{\@currenthyper}{#3}}}} + {\def\next{{#4}{\hyperreference{\@currenthyper}{#2}}{\hyperreference{\@currenthyper}{#1}}{\hyperreference{\@currenthyper}{#3}}}} + \immediate\write\@auxout{\string\harvardcite\next}% + }\fi% + \protect\hspace*{-\labelwidth}\protect\hspace*{-\labelsep}\ignorespaces% + } + |