Debian Codegraph @

texmf-dist/doc/latex/hyper/scontrib/harvard.hyp

raw
1 %% harvardfull.hyp - Amendments to harvard bibliography style Version 2.0.5
2 %% to be used together with the hyper package
3 %% Author: Renate Schmidt ([email protected])
4 %% Copyright: Renate Schmidt, May 1995
5 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
6 \ProvidesFile{harvard.hyp}[95/05/15]
7
8 %% The following defines anchors not just for the year but also for the
9 %% abbr-citation, the full-citation and the name.
10 \renewcommand{\harvarditem}[4][\null]{%
11 \hyper@setcurrent%
12 \item[\blindhyperanchor{\@currenthyper}]%
13 \if@filesw{ \def\protect##1{\string ##1\space}%
14 \ifthenelse{\equal{#1}{\null}}
15 {\def\next{{#4}{\hyperreference{\@currenthyper}{#2}}{\hyperreference{\@currenthyper}{#2}}{\hyperreference{\@currenthyper}{#3}}}}
16 {\def\next{{#4}{\hyperreference{\@currenthyper}{#2}}{\hyperreference{\@currenthyper}{#1}}{\hyperreference{\@currenthyper}{#3}}}}
17 \immediate\write\@auxout{\string\harvardcite\next}%
18 }\fi%
19 \protect\hspace*{-\labelwidth}\protect\hspace*{-\labelsep}\ignorespaces%
20 }
21