| 1 |
\documentclass[DIV=8, pagesize=auto]{scrartcl} |
| 2 |
|
| 3 |
\usepackage{fixltx2e} |
| 4 |
\usepackage{etex} |
| 5 |
\usepackage{xspace} |
| 6 |
\usepackage{lmodern} |
| 7 |
\usepackage[T1]{fontenc} |
| 8 |
\usepackage{textcomp} |
| 9 |
\usepackage{microtype} |
| 10 |
\usepackage[unicode=true]{hyperref} |
| 11 |
|
| 12 |
\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} |
| 13 |
\newcommand*{\pkg}[1]{\textsf{#1}} |
| 14 |
\newcommand*{\cs}[1]{\texttt{\textbackslash#1}} |
| 15 |
\makeatletter |
| 16 |
\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} |
| 17 |
\makeatother |
| 18 |
|
| 19 |
\addtokomafont{title}{\rmfamily} |
| 20 |
|
| 21 |
\title{The \pkg{har2nat} package\thanks{This manual corresponds to \pkg{har2nat}~v1.0, dated~2005/12/01.}} |
| 22 |
\author{Bas Straathof\\Eindhoven University of Technology, The Netherlands\\\mail{[email protected]}} |
| 23 |
\date{2005/12/01} |
| 24 |
|
| 25 |
|
| 26 |
\begin{document} |
| 27 |
|
| 28 |
\maketitle |
| 29 |
|
| 30 |
\noindent |
| 31 |
This small package allows a \LaTeX\ document containing the citation commands |
| 32 |
provided by the \pkg{Harvard} package (Peter Williams and Thorsten Schnier) |
| 33 |
to be compiled using the \pkg{natbib} package (Patrick W. Daly). Migration from |
| 34 |
\pkg{harvard} to \pkg{natbib} thus can be achieved simply by replacing |
| 35 |
% |
| 36 |
\begin{verbatim} |
| 37 |
\usepackage{harvard} |
| 38 |
\end{verbatim} |
| 39 |
% |
| 40 |
with |
| 41 |
% |
| 42 |
\begin{verbatim} |
| 43 |
\usepackage{natbib} |
| 44 |
\usepackage{har2nat} |
| 45 |
\end{verbatim} |
| 46 |
|
| 47 |
|
| 48 |
\minisec{Important:} |
| 49 |
|
| 50 |
\pkg{har2nat} must not be loaded before the \pkg{natbib} package as it redefines |
| 51 |
the \pkg{natbib} commands \cmd{\cite} and \cmd{\citeyear}.\@ All other \pkg{natbib} commands remain |
| 52 |
unchanged and can be used alongside the \pkg{Harvard} commands. |
| 53 |
|
| 54 |
\end{document} |