Debian Codegraph @

texmf-dist/doc/latex/harvard/harvard.tex

raw
1 % Copyright 1994 Peter Williams.
2 %
3 % This work may be distributed and/or modified under the
4 % conditions of the LaTeX Project Public License, either version 1.3
5 % of this license or (at your option) any later version.
6 % The latest version of this license is in
7 % http://www.latex-project.org/lppl.txt
8 % and version 1.3 or later is part of all distributions of LaTeX
9 % version 2005/12/01 or later.
10 %
11 % This work has the LPPL maintenance status `maintained'.
12 %
13 % The Current Maintainers of this work are Peter Williams and Thorsten Schnier.
14 %
15 % This work consists of all files listed in manifest.txt.
16 %
17 % Licence and copyright notice added on behalf of Peter Williams and Thorsten Schnier
18 % by Clea F. Rees 2009/01/30.
19 \begin{filecontents}{bibtexlogo.sty}
20 \def\lowBibTeX{{\reset@font\rmfamily B\kern-.05em%
21 \raise.0ex\hbox{\scshape i\kern-.025em b}\kern-.08em%
22 T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
23 \def\BibTeX{\protect\lowBibTeX}
24 \end{filecontents}
25 \documentclass[a4paper]{article}
26 \usepackage{harvard}
27 \usepackage{bibtexlogo}
28
29 \newcommand{\comname}[1]{{\bf $\backslash$#1}}
30 \newcommand{\keyword}[1]{{\bf #1}}
31 \newcommand{\varname}[1]{{\em #1}}
32 \newcommand{\harvard}{{\sf harvard}}
33 \newcommand{\Harvard}{{\sf Harvard}}
34
35 \title{The \Harvard\ Family of Bibliography Styles}
36 \author{Peter Williams \\ ([email protected]) \and
37 Thorsten Schnier \\ ([email protected])}
38
39 \hyphenation{cite-as-noun poss-ess-ive-cite cit-at-ion-mode cite-year
40 cite-name bib-lio-gr-aphy-sty-le cit-at-ion-sty-le har-vard-par-en-this
41 har-vard-year-par-en-this har-vard-item bib-item har-vard-and use-pack-age}
42
43 \begin{document}
44 \bibliographystyle{agsm}
45 \maketitle
46 \tableofcontents
47
48 \section{Introduction}
49
50 This document describes the \harvard\ family of bibliographic styles which
51 are provided in addition to those described in \citeasnoun{latex} and \citeasnoun{btxdoc}.
52 This style is primarily intended for use with the \BibTeX\ bibliographic
53 database management system.
54 However, provision is also made for hand coding of bibliographies.
55
56 \section{Citations}
57
58 \subsection{Complete Citations}
59
60 There are two primary forms of citation in the \harvard\ style dependent
61 upon whether the reference is used as a noun or parenthetically.
62 Additionally, where there are more than two authors, all authors are listed in
63 the first citation and in subsequent citations just the first author's name
64 followed by `et al.' is used.
65 The following example from \citeasnoun{agsm}\ illustrates these points.
66 \begin{quote}
67 The major improvement concerns the structure of the interview
68 (Ulrich~\& Trumbo~1965, p.~112) \ldots .
69 Later reports (Carlson, Thayer, Mayfield~\& Peterson 1971) record greatly
70 increased interviewer reliability for structured interviews.
71 Wright (1969, p.~408) comments that `undoubtedly interviewer skill is
72 directly related to the validity, quantity and quality of the interview output',
73 and this would suggest some sort of interviewer training is called for.
74 Rowe (1960), for example, found that trained interviewers are better able to
75 evaluate applicants with some measure of reliability.
76 In addition Wexley, Sanders~\& Yukl (1973) showed that by extensive interviewer
77 training all significant contrast effects could be eliminated.
78 The results of the 1971 study (Carlson et al. 1971) are still relevant, but
79 efforts to~\ldots.
80 \end{quote}
81
82 To facilitate using a citation as a noun a new command
83 \comname{citeasnoun} has been created which has the same syntax as the
84 \comname{cite} command except that multiple citations are {\em not}
85 permitted.
86 The effect of this command is that
87 \begin{verbatim}
88 As \citeasnoun{btxdoc} and \citeasnoun[Annex~B]{latex} describe \ldots
89 \end{verbatim}
90 produces
91 \begin{quote}
92 As \citeasnoun{btxdoc} and \citeasnoun[Annex~B]{latex} describe \ldots
93 \end{quote}
94 whereas
95 \begin{verbatim}
96 The \BibTeX\ \cite{btxdoc} and \LaTeX\ \cite[Annex~B]{latex} manuals \ldots
97 \end{verbatim}
98 produces
99 \begin{quote}
100 The \BibTeX\ \cite{btxdoc} and \LaTeX\ \cite[Annex~B]{latex} manuals \ldots
101 \end{quote}
102 A second new command \comname{possessivecite} is provided for those
103 instances where it is desired to use the citation as a possessive noun phrase.
104 This is a variation on the \comname{citeasnoun} command and
105 multiple citations are not permitted.
106 As an example of its use
107 \begin{verbatim}
108 \possessivecite{latex} description of this feature is \ldots
109 \end{verbatim}
110 produces
111 \begin{quote}
112 \possessivecite{latex} description of this feature is \ldots
113 \end{quote}
114 A third new command \comname{citeaffixed} allows text to be affixed
115 inside the beginning of the parenthesis of a parenthetical citation.
116 This command is like the the \comname{cite} command except that it
117 takes a second argument -- the text to be affixed after the opening
118 parenthesis.
119 For example
120 \begin{verbatim}
121 \BibTeX\ manuals \citeaffixed{latex,btxdoc}{e.g.} describe \ldots
122 \end{verbatim}
123 produces
124 \begin{quote}
125 \BibTeX\ manuals \citeaffixed{latex,btxdoc}{e.g.} describe \ldots
126 \end{quote}
127
128 \subsection{Citation Modes}
129
130 By default,
131 where appropriate, citations are abbreviated automatically after the first
132 reference when bibliographies are produced by \BibTeX.
133 Provision is also made for this feature to be accessed during manual coding.
134 This feature may be overridden by using the \comname{citationmode}
135 command which takes \keyword{full}, \keyword{abbr} or \keyword{default} as its single
136 argument.
137 The command \comname{citationmode\{full\}} makes the system use
138 full citations, \comname{citationmode\{abbr\}} makes the system use
139 abbreviated citations and \comname{citationmode\{default\}} causes
140 the default behaviour of using full citations for the first instance and
141 abbreviated citations thereafter.
142
143 Alternatively, the citation mode may be selected as an
144 \keyword{full}, \keyword{abbr} or \keyword{default}
145 option to the
146 \comname{usepackage} command that invokes the \harvard\ package.
147 Use of the \keyword{default} option is redundant in that, if no citation
148 mode option is used, that mode will be selected automatically.
149
150 \subsection{Partial Citations}
151
152 In addition to the primary forms of citation, the citation commands
153 \comname{citeyear} and \comname{citename} are provided as building blocks
154 for more complex citations that authors may (from time to time) require.
155 \comname{citeyear} behaves like the
156 \comname{cite} command except that only the year portion of the
157 citation label is used.
158 For example,
159 \begin{verbatim}
160 \citeyear{btxdoc,latex}
161 \end{verbatim}
162 produces \citeyear{btxdoc,latex}.
163 The parenthesis around the year list may be omitted by modifying the command
164 name with a single asterisk (e.g. \verb+\citeyear*{btxdoc}+).
165 \comname{citename} behaves like the
166 \comname{citeasnoun} command except that only the author name(s)
167 portion of the citation label is used.
168 For example,
169 \begin{verbatim}
170 \citename{btxdoc}
171 \end{verbatim}
172 produces
173 \begin{quote}
174 \citename{btxdoc}.
175 \end{quote}
176 The use of these commands does not trigger the use of abbreviated citations for
177 subsequent \comname{citeasnoun} and \comname{cite}
178 references.
179
180 \subsection{Exceptions for Individual Citations}
181
182 Occasions arise where an author wishes to override the default behaviour for
183 an individual citation (e.g. she may wish the citation to use the full list
184 of authors where the default would use the abbreviated form).
185 All commands that introduce authors' names into a document (i.e.
186 \comname{cite}, \comname{citeasnoun}, \comname{citeaffixed},
187 \comname{possesivcite} and \comname{citename}) may be modified with the
188 addition of a single asterisk in order to force them to use the full
189 list of authors names and by a double asterisk to force them to use the
190 abbreviated form.
191
192 \section{Styles}
193 \subsection{Bibliography Styles}
194 There are six bibliography styles currently available within the
195 \harvard\ family, \keyword{agsm} (used in this document) which is based on
196 \citeasnoun[pp.~95--98]{agsm}, \keyword{dcu}
197 which is based upon the conventions in use in the Design Computing Unit,
198 Department of Architectural and Design Science, University of Sydney,
199 \keyword{jmr} for the Journal of Management Research,
200 \keyword{jphysicsB} for the Journal of Physics B,
201 \keyword{kluwer} which aspires to conform to the requirements of Kluwer Academic
202 Publishers and \keyword{nederlands} which conforms to Dutch conventions.
203 They are invoked by the \comname{bibliographystyle} as described in
204 \citeasnoun[p.~74]{latex} and effect the layout of the entries in the bibliography.
205
206 Provided there is no name clash with other \harvard\ options the
207 bibliography style may be selected by passing it as an option to the
208 \comname{usepackage} command that invokes the \harvard\ package.
209
210 \subsection{Citation Styles}
211 There are two citation styles currently available within the \harvard\
212 family, \keyword{agsm} (used in this document) and \keyword{dcu} which for the previous
213 example would produce:
214 \begin{quote}\citationstyle{dcu}
215 The \BibTeX\ \cite{btxdoc} and \LaTeX\ \cite[Annex~B]{latex} manuals \ldots
216 \end{quote}
217 and for multiple citations such as
218 \begin{verbatim}
219 The original documentation \cite{btxdoc,latex} say \ldots
220 \end{verbatim}
221 the \keyword{agsm} citation style produces
222 \begin{quote}\citationstyle{agsm}
223 The original documentation \cite{btxdoc,latex} say \ldots
224 \end{quote}
225 and the \keyword{dcu} citation style produces
226 \begin{quote}\citationstyle{dcu}
227 The original documentation \cite{btxdoc,latex} say \ldots
228 \end{quote}
229 The default citation style is \keyword{agsm} and both styles have no effect on the
230 appearance of the \comname{citeasnoun} citation format.
231
232 These styles are invoked by the \comname{citationstyle} command,
233 for example:
234 \begin{verbatim}
235 \citationstyle{agsm}.
236 \end{verbatim}
237 Because these styles affect the format of parenthetical citations, this command
238 should appear before any \comname{cite} commands.
239 Additionally the
240 citation style may be selected by passing an option to the
241 \comname{usepackage} command that invokes the \harvard\ package.
242 In order to avoid name clashes with the \keyword{agsm} and \keyword{dcu}
243 bibliography styles the options \keyword{agsmcite} and \keyword{dcucite} are
244 used with the \comname{usepackage} command in order to select \keyword{agsm}
245 and \keyword{dcu} citation modes respectively.
246
247 \subsection{Parenthesis Style}
248 The type of parenthesis used in citations may be set using the
249 \comname{harvardparenthesis}
250 command which takes one argument.
251 The argument to this command must be one of
252 \keyword{round}, \keyword{curly}, \keyword{angle}, \keyword{square} or
253 \keyword{none}.
254 The default value is \keyword{round}.
255 If it is a requirement that different parenthesis types are required for
256 parenthetical cites that for the year portion for a \comname{citeasnoun}
257 citation then the command \comname{harvardyearparenthesis} may be
258 used to set the year parenthesis seperately.
259 This command must be issued after any \comname{harvardparenthesis} command
260 as that command sets both parenthetical and year parenthesis.
261 If the bibliographic style chosen is \keyword{agsm} or \keyword{dcu} then the parenthesis
262 style chosen using \comname{harvardyearparenthesis} is used with the
263 year portion of the entries in the bibliographic listing.
264 The options \keyword{round}, \keyword{curly}, \keyword{angle}, \keyword{square}
265 and \keyword{none} may also be used with the the \comname{usepackage} command
266 that invokes the \harvard\ package.
267
268 Authors of style files for use with the \harvard\ family who wish to make
269 use of this feature should use the strings \verb+" \harvardleft "+ and
270 \verb+" \harvardright "+ instead of the respective parenthesis characters where
271 they wish them to be effected by the selection made with
272 \comname{harvardparenthesis}.
273
274 \subsection{Conjunction Style}
275 In the previous examples for the \keyword{agsm} bibliographic
276 style a ``\&'' character is used to signify conjunction between a pair of names
277 or between the last two names of a list of names.
278 Similarly the word ``and'' is used for the \keyword{dcu} style.
279 With these two styles this convention may be overwritten by using
280 \comname{renewcommand} to redefine the command
281 \comname{harvardand}.
282 This should be done after the \comname{citationstyle} command
283 (if used) as this
284 command resets it to the default for the style selected.
285
286 \section{World Wide Web (WWW) References}
287
288 The \keyword{agsm}, \keyword{dcu}, \keyword{jmr}, \keyword{jphysicsB} and
289 \keyword{kluwer} bibliographic styles support a new bibliographic entry
290 field \keyword{URL} for specifying the \keyword{URL} of documents that are
291 available via the World Wide Web.
292 An example of this is the reference to \possessivecite{latex2htmldoc}
293 documentation for his \LaTeX 2{\sc html} package in the file
294 \verb+harvard.bib+ that is enclosed with the source for this document.
295 When processed by \LaTeX 2{\sc html} documents using the \harvard\ bibliographic
296 package will have hypertext links created from the citation within the text
297 to the reference list.
298 If an entry in the reference list has an \keyword{URL} field then a
299 hypertext link to the document will be created using the data in that field.
300
301 \section{Doing It By Hand}
302 Hand coding is accomplished much the same as described in \citeasnoun[p.~73]{latex}
303 except that the new command \comname{harvarditem} is used in place
304 of \comname{bibitem}.
305 The syntax of this command is
306 \begin{quote}
307 \comname{harvarditem} [\varname{abbr-citation}]\{\varname{full-citation}\}\{\varname{citation-year}\}\{\varname{cite-key}\}
308 \end{quote}
309 where
310 \begin{description}
311 \item[\varname{abbr-citation}] is the (optional) abbreviated citation
312 (minus the year) to be used in the text
313 subsequent to the first mention of a particular reference,
314 \item[\varname{full-citation}] is the full citation (minus the year)
315 to be used in the text
316 on the first mention of a particular reference,
317 \item[\varname{citation-year}] the year portion of the citation including any
318 suffices required to disambiguate citations, and
319 \item[\varname{cite-key}] is the key used in the \comname{cite} and
320 \comname{citeasnoun} commands.
321 \end{description}
322
323 \section{Acknowledgement}
324 The motivation for this style came from Fay Sudweeks of the Design Computing
325 Unit who also originated the formats for the \keyword{dcu} style and proofread
326 their implementation.
327
328 The \keyword{nederlands} bibliographic style was implemented by Werenfried Spit
329 ([email protected]).
330
331 The idea for \comname{citeyear} came from Renate Schmidt
332 ([email protected]).
333
334 The solution to the mysterious \comname{enddocument} problem came
335 from Berwin A. Turlach ([email protected]) as did the identification
336 of a subtle problem with sorting entries in the reference list.
337 \bibliography{harvard}
338 \end{document}