summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/har2nat/har2nat.tex
blob: aa6109f10a9fe72c3fe80ed4230c348a30c42af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
\documentclass[DIV=8, pagesize=auto]{scrartcl}

\usepackage{fixltx2e}
\usepackage{etex}
\usepackage{xspace}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{microtype}
\usepackage[unicode=true]{hyperref}

\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
\newcommand*{\pkg}[1]{\textsf{#1}}
\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
\makeatletter
\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
\makeatother

\addtokomafont{title}{\rmfamily}

\title{The \pkg{har2nat} package\thanks{This manual corresponds to \pkg{har2nat}~v1.0, dated~2005/12/01.}}
\author{Bas Straathof\\Eindhoven University of Technology, The Netherlands\\\mail{bas.straathof@gmail.com}}
\date{2005/12/01}


\begin{document}

\maketitle

\noindent
This small package allows a \LaTeX\ document containing the citation commands
provided by the \pkg{Harvard} package (Peter Williams and Thorsten Schnier)
to be compiled using the \pkg{natbib} package (Patrick W. Daly). Migration from
\pkg{harvard} to \pkg{natbib} thus can be achieved simply by replacing
%
\begin{verbatim}
\usepackage{harvard}
\end{verbatim}
%
with
%
\begin{verbatim}
\usepackage{natbib}
\usepackage{har2nat}
\end{verbatim}


\minisec{Important:}

\pkg{har2nat} must not be loaded before the \pkg{natbib} package as it redefines
the \pkg{natbib} commands \cmd{\cite} and \cmd{\citeyear}.\@ All other \pkg{natbib} commands remain
unchanged and can be used alongside the \pkg{Harvard} commands.

\end{document}