# Tag Info

15

Ad 1: \renewcommand*{\bibinitdelim}{} works for me. EDIT: Note that \bibinitdelim requires Biber instead of BibTeX. As this command was added in biblatex 1.3, there's a chance that it works with your distribution (try the backend=biber option); nevertheless consider to upgrade to the current versions of biblatex and Biber. Ad 2: Use the package option ...

13

The Harvard style is basically an author-year style; there are various versions of the general style. You have two routes that you can use: natbib The standard way to do bibliographies with author-year citations is to use the natbib package and any one of the many bibliography styles available for it. A basic Harvard style is the agsm style. Other ...

11

that is hardcoded in the bst file, Copy it to myapj.bst and replace FUNCTION {bbl.and} { "and"} with FUNCTION {bbl.and} { "\&"} and use in your document \bibliographystyle{myapj.bst}. The file myapj.bst can be saved in the documents directory or in your local bibtex/bst path, if available. As an alternative use another harvard style like ...

10

The hyperref package is known for not being entirely compatible with many citation manager packages, with the main exception of natbib. (I.e., hyperref is fully compatible with natbib.) It is true that the user guide to the hyperref package notes that the harvard package is "supported"; however, the very next sentence in the same paragraph of the hyperref ...

9

There are six styles provided by harvard which are compatible with natbib. The command \harvardurl only format the style of the url. The output of the url is defined in the used bst file. As an example of one of the six styles I use the file agsm.bst to demonstrate the behavior. The file agsm.bst has the following code: FUNCTION {write.url} { URL ...

9

The final effect of \newline, when used in horizontal mode (which is the case here) is to issue \nobreak\hfil\break Since \nobreak and \break are \penalty10000 and \penalty-10000 respectively, you should be able to remove the three items by \renewcommand{\harvardurl}[1]{\unpenalty\unskip\unpenalty} At least this works in the example you gave. How ...

8

The Harvard style covers a wide range of choices of exactly how to do things. Using the natbib package has already been mentioned, while you could also consider biblatex.

7

This is the standard with biblatex’s style alphabetic, as long as you have one author. With multiple authors, this style takes the first letter of every author – up to three, as a default. If there are more than three authors, it takes the first three letters of the first name, then a + and the year, e.g. Kemper 2009 > [Kem09] Goossens, Mittelbach ...

7

There are almost as many flavours of author-year bibliography and citation style as there are of Christianity. Depending on what you need, you should just be able to use \autocite, \parencite, or \textcite rather than \cite. Just to give a flavour: In 1988 C was totally awesome \parencite{KandR}, while according to \textcite{CUEDCplusplus} C++ was even ...

6

What should I do to show a comma between name and year in citation? A: Load the natbib package with the option comma -- \usepackage[comma]{natbib} -- and use the command \citep to cite the piece in question. The second question, which bibliography style to use to get the formatting the way you say you want it, is quite a bit harder to answer. As shown ...

6

make yourself a copy of agsm.bst, and call it agsm-nq.bst (in the same directory as your document). edit agsm-nq.bst, and search for the line with "FUNCTION {article}" the start of the function is: FUNCTION {article} { output.bibitem list.label.output " \harvardyearleft " list.year * "\harvardyearright " * output.nonnull author "author" item.check ...

5

The package you want is here: CTAN/harvard Instructions for installing packages are here: CTAN, packages, and online help It depends on your tex distribution. If you are using MiKTex, or another distribution with a package manager you just need to call the bib style as per usual and the package manager will handle installation.

5

the original poster actually solved the problem him/herself, with some help, but we try not to leave questions unanswered. so here goes. the appearance of \citep in the original question suggested that the author-year style was wanted. although some other bib styles support this, the most likely is natbib. natbib has "additional" requirements for its ...

5

The dcu bibliography style cannot be used “alone”, but it must be supplemented by the call to the harvard package: \documentclass[12pt]{article} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \usepackage{harvard} \begin{document} \nocite{*} \bibliography{Docs/latex/books.bib} \bibliographystyle{dcu} \end{document} You may be willing to look ...

5

If you like what biblatex-apa does and just want to change last name, initials first name. (year). to last name, initials first name, year. add the following lines to your preamble. \newbibmacro*{labelyear+extrayear}{% \iffieldundef{labelyear} {\iffieldundef{origyear} {} ...

5

An option as been mentioned: \usepackage{harvard} You can then use it like this: \citeasnoun[p.42]{knuth} writes that TeX is great... In \citepossesive[p.43]{knuth} book we can also see something else. Which would become: Knuth (1901, p.42) writes that TeX is great... In Knuth's (1901, p.43) book we can also see something else.

5

EDIT: The OP uses TeX Live 2009 which was installed by synaptic. In the wiki of ubuntu community you can read the following note: As of October 2011 the texlive package that ships with Ubuntu (TeX Live 2009) is lagging more than two years behind the current TeX Live release (TeX Live 2011). If you don't have big space constraints and want the ...

5

I can't answer your question directly, but I can suggest a workaround that is just about fail-safe: Instead of loading the harvard bibliography citation manager, load both the natbib and har2nat packages. Natbib is known to work very well with hyperref, and the har2nat package "translates" all harvard-type citation commands into equivalent natbib-type ...

4

The harvard citation management package does two things rather nicely. First, it provides several authoryear-style citation commands, including \citeasnoun and \possessivecite, that aren't provided by the core LaTeX system. Second, the harvard package provides several predefined bibliography styles. These are, in alphabetical order: agsm, aspr, dcu, jmr, ...

4

\documentclass{article} \usepackage{harvard} \citationmode{abbr} \citationstyle{dcu} \bibliographystyle{xdcu} \newcommand\HARVARDAND{\harvardand} \begin{document} A \citeasnoun{Campbell(1996)} B \cite{Hamilton(1994)} \bibliography{tst} \end{document} xdcu.bst is a copy of dcu.bst with "u" change.case\$ added in some likely looking places (I ...

4


4

Your bibliography file entry should be simply @InBook{Renewal, author = {Breuer, L. and Baum, D.}, title = {An Introduction to Queueing Theory and Matrix-Analytic Methods}, chapter = 6, publisher = {Springer}, year = 2005, } All prefixes ALT and OPT should be removed. They are inserted by bibtex-mode in emacs and can be removed in one fell swoop ...

4

The "chapter" keyword is hardwired in the bibliography style file. If you want to change it, assuming you're using \bibliographystyle{agsm} then make a copy of agsm.bst that you find on your system and call it, say, xagsm.bst, keeping it next to your main document. Edit the copy finding where it has the string "chapter" (quotes included) and change it ...

4

Here's a way (code courtesy of Alan Munn). \begin{filecontents}{\jobname.bib} @book{Labov1972, Address = {Philadelphia}, Author = {William Labov}, Publisher = {University of Pennsylvania Press}, Title = {Sociolinguistic Patterns}, Year = {1972}} @book{Chomsky1957, Address = {The Hague}, Author = {Noam Chomsky}, Publisher = ...

3

The harvard package loads the html package, if it exists, which loads hyperref. From harvard.sty: \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{harvard} \RequirePackage{ifthen} \IfFileExists{html.sty}{\RequirePackage{html} ... Possible solutions: Instead of loading hyperref with options yourself, you could use \hypersetup. This is recommended. In this and ...

3

The problem is similar to the one raised in the question Why do hyperref and harvard not work together properly? The biggest problem is that harvard.sty is quite old and it's unclear what html.sty it refers to. Currently TeX Live doesn't have an html.sty file, but you probably have one as part of latex2html (as stated in the ...

3

Seamus appears to be correct. If you're not using hyperref, just add this to your preamble: \usepackage{backref} (Probably this should go after the harvard-related stuff.) If you are using hyperref, then just pass the pagebackref option to it somehow; either through package options, or using \hypersetup. The hyperref manual specifically states that ...

3

The harvard package defines a command \harvardand which, depending on the style, is set to '&'. This can be changed to 'and' with: \renewcommand*{\harvardand}{and}

3

Find the file agsm.bst and make a copy, say, myagsm.bst. Next, open the new file in a text editor of your choice and search for the following line: { volume embolden field.or.null (It's on l. 357 in my copy of the file.) Change this line to { volume field.or.null i.e., tell BibTeX not to render the volume number in bold. Third, look for the line ...

3

I'm not sure if I fully understand the problem you're looking to solve. Part of the issue may be that the term "harvard" is both a synonym for a certain style of citing pieces -- the "author-year citation style" -- as well as a specific LaTeX package that consists of a main style file called, you guessed it, harvard.sty, and more than a half dozen specific ...

Only top voted, non community-wiki answers of a minimum length are eligible