# Tag Info

19

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 ...

17

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 ...

12

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 apsr....

11

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.) While it's true that the user guide to the hyperref package notes that the harvard package is "supported", the next sentence in the same paragraph of the user guide states ...

11

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 ...

9


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 ...

6

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.

6

With natbib many aspects can be easily configured: you need to set citesep (separation between two citations in the same place) and aysep (separation between author and year in a citation): \documentclass{article} \usepackage{natbib} \setcitestyle{citesep={;}, aysep={,}} \begin{document} \citep{Goossens:1994:LCb} \citep{Knuth:1986:MB,Lamport:1994:LDP} \...

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

If you let biblatex handle pagination on its own, what you want is very easy. Postnotes containing numbers (and a few other special symbols) are automatically recognised as page (ranges) and formatted as such by biblatex. So it is a good idea to drop the page prefix entirely when citing, as in \parencite[24]{worman} and \parencite[cf.][17--19]{geer} ...

5


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

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 ...

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

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} {} {\setunit{\addcomma\space}\printfield[noformat]{origyear}...

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 ...

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

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 ...

4

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 ...

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

try doing the following: Put the following in before the \begin{document}: \usepackage{natbib} \bibliographystyle{abbrvnat} \setcitestyle{authoryear,open={(},close={)}} And then... Use: \citep{key} to cite into parenthesis, like --> (Sandwith et al., 2006) OR Use: \citet{key} to cite in text, like --> Sandwith et al. (2006)

4

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}

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

In addition to considering the harvard citation management package, as already suggested by @egreg in his answer, you may want to look into using the har2nat and natbib packages. As the package's name suggests, the har2nat package "translates" the commands provided by the harvard package (and used by the bibliography styles that come with the harvard package,...

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