10 votes
Accepted

AGSM bibliography style sometimes doesn't abbreviate to "et al." for duplicate author+year

You've come across an unusual -- and admittedly rather severely under-documented -- feature (not a bug...) of the agsm bibliography style. Suppose two bib items labelled, say, AA and BB each have one ...
Mico's user avatar
  • 502k
8 votes
Accepted

How to use harvard style reference?

Please note that "harvard style" denotes a specific formatting style for citation call-outs, viz., author-year style citation call-outs. Harvard-style citation call-outs can be either 'text style' -- ...
Mico's user avatar
  • 502k
8 votes

How to change 'et al' to italic font in citation call-outs, with 'agsm' bibliography style

I suggest you proceed as follows: Find the file agsm.bst in your TeX distribution. Make a copy of the file and call the copy, say, agsmemph.bst. (Don't edit an original file of your TeX distribution ...
Mico's user avatar
  • 502k
8 votes
Accepted

Why isn't \let\bf\relax working for bibliography?

Your patching of \thebibliography is wrong. First you patch \renewcommand\thebibliography{\let\bf\relax\oldthebibliography} but then in the next line you do \renewcommand\thebibliography{\let\em\...
Henri Menke's user avatar
7 votes

Why isn't \let\bf\relax working for bibliography?

Just do both redefinitions together \newcommand{\oldthebibliography}{} \let\oldthebibliography\thebibliography \renewcommand\thebibliography{\let\bf\relax\let\em\relax\oldthebibliography} I ...
egreg's user avatar
  • 1.1m
6 votes
Accepted

Change amount of hanging indentation in reference list

The natbib package provides the length parameter \bibhang. If you want it to be half an inch, issue the instruction \setlength\bibhang{0.5in} in the preamble, after loading the natbib package. A ...
Mico's user avatar
  • 502k
5 votes
Accepted

Natbib agsm - comma and ampersand

Not sure where the problem is: \begin{filecontents*}{\jobname.bib} @book{test, author={First, A. and Second, B.}, title={Title}, publisher={Publisher}, year=2017, } \end{filecontents*} \...
egreg's user avatar
  • 1.1m
5 votes

A variation on authoryear (aka "harvard") citation call-out style

\documentclass{article} \usepackage[backend=biber,style=authoryear]{biblatex} \addbibresource{biblatex-examples.bib} \DeclareFieldFormat{postnote}{#1} \DeclareFieldFormat{multipostnote}{#1} \...
Johannes_B's user avatar
  • 24.2k
5 votes

Change amount of hanging indentation in reference list

You are using the natbib package, see its manual The indentation is under natbib controlled by \bibhang, thus \setlength\bibhang{3cm} works just fine
daleif's user avatar
  • 54k
4 votes

Why does changing the bibliography style to "agsm" randomly bold the journal volume numbers?

It does change because this is simply what that particular style does in the BibTeX layer. You can see easily what happens if you look into the derived .bbl: \begin{thebibliography}{xx} \harvarditem{...
Ruben's user avatar
  • 13.4k
4 votes

Textual citations in case of "thebibliography" environment

You can use natbib along with a manual bibliography. See section "2.2. The Syntax of the thebibliography" in the natbib documentation. Here an example: \documentclass{article} \usepackage{natbib} \...
Ulrike Fischer's user avatar
4 votes
Accepted

\cite command prints both 'et al' and all the authors names

You need to load the natbib package when using the bibliography style elsarticle-num-names. Separately, you shouldn't employ the @article entry type for this entry as it isn't published in a journal. ...
Mico's user avatar
  • 502k
4 votes
Accepted

Cite same author and no date multiple times - how to remove brackets around the "a" from for example (Johansson n.d [a])?

Well, there were some things to be done to achieve what you want. The lines of code that @samcarter mentioned seemed to try to override the underlying mechanism for labeldate. I assumed here you ...
gusbrs's user avatar
  • 13.6k
4 votes
Accepted

add prefix to a harvard-style citation call-out, as in "(e.g. Abe et al., 1999)"

The harvard citation management package provides the \citeaffixed macro. This macro would appear to provide a ready-made solution for your formatting query. E.g., assuming that \cite{Abe99} produces (...
Mico's user avatar
  • 502k
3 votes
Accepted

Undefined control sequence \citeasnoun

The following basic citation commands are defined in natbib: \citet{jon90,jam91} ⇒ Jones et al. (1990); James et al. (1991) \citep{jon90,jam91} ⇒ (Jones et al., 1990; James et al. 1991) \citep{jon90,...
Alan Munn's user avatar
  • 217k
3 votes

problem with harvard referencing style

Use a bibliographystyle that better suits your needs. Thousands are available. chicago.bst: apalike.bst: \documentclass{article} \begin{filecontents}{\jobname.bib} @book{thri, author = {...
Johannes_B's user avatar
  • 24.2k
3 votes
Accepted

Problem citing an article with author's last name with only 2 letters

It's not a bug, it's a feature! The bibliography style jphysicsB.bst avoids abbreviating two different lists of names to the same short form (as in "X, Y, A" and "X, Y, B" do not both get shortened ...
moewe's user avatar
  • 175k
3 votes
Accepted

How to prevent Harvard style (agsm) referencing from causing bibliography URLs to spill across two columns?

There seem to be several issues. Since you're using the IEEEtran document class, using the IEEEtran bibliography style along with the natbib package should be used exclusively in conjunction with the ...
Mico's user avatar
  • 502k
2 votes

Using natbib with agsm

I think the following will do what you want: \usepackage[comma,colon]{natbib} based on this reference sheet
user123818's user avatar
2 votes

Why does changing the bibliography style to "agsm" randomly bold the journal volume numbers?

You can quite easily modify the bst file. Find the file agsm.bst in your TeX system Copy it in the same folder as your .tex document, with the name agsm-nobf.bst Open the new file with any text ...
egreg's user avatar
  • 1.1m
2 votes

Harvard citation in LyX gives "author?" or "year?", using bibDesk

Bibtex, the bibliography processor invoked by LyX, can't use utf8 - you'll have to save as ascii (latex ascii). It's always a good idea to check Document>LaTeX log>Log type Bibtex for errors. You ...
PhilipPirrip's user avatar
  • 1,443
2 votes

Undefined control sequence \citeasnoun

Load both the natbib and the har2nat packages. The latter "translates" macros defined in harvard.sty to expressions understood by natbib. For instance, the file har2nat.sty contains the instruction \...
Mico's user avatar
  • 502k
2 votes
Accepted

Square-bracketed numeric-style citation call-outs with round parentheses around years with "dcu" bibliography style

Edit: test.tex: \documentclass{article} \usepackage[numbers]{natbib} \bibliographystyle{dcu} \bibpunct{[}{]}{;}{n}{}{,} %%%% % Add these two lines: %%%% \def\harvardyearleft{(} \def\...
koleygr's user avatar
  • 20k
2 votes
Accepted

Natbib agsm - Remove comma between last name and first name & swap last and first name

I suggest you proceed as follows: Find the file agsm.bst in your TeX distribution. Make a copy of this file and call the copy, say, myagsm.bst. (Don't edit an original, unrenamed file from the the ...
Mico's user avatar
  • 502k
2 votes
Accepted

modify the 'agsm' bibliography style in two ways

I suggest you proceed as follows. Locate the file agsm.bst in your TeX distribution. Make a copy of this file and name the copy, say, agsm-mod.bst. (Do not edit an original file of the TeX ...
Mico's user avatar
  • 502k
2 votes

harvard bibliography, improper alphabetic constant

natbib does not like the format of the years in \harvarditem{Auth}{{2001}{\em a}}{paper1} Either manually change them to \harvarditem{Auth}{2001a}{paper1} or switch from natbib to harvard. After ...
moewe's user avatar
  • 175k
2 votes

harvard bibliography, improper alphabetic constant

First off, the bbl file seems to have some errors. I assume they crept in when somebody (you?) applied some changes by hand to the contents of the bbl file. (For sure, they would not appear to have ...
Mico's user avatar
  • 502k
2 votes
Accepted

How to use \cite correctly? - \cite results in "?"

If you want to use harvard, you also have to specify a compatible bibliography style. Here I use agsm which seems to be the most generic one. Also, @article is not the right type for the item and @...
egreg's user avatar
  • 1.1m
2 votes

An Issue about the single quote in bibliography using 'natbib' with 'agsm'

I figured it out. Find the agsm.bst file. Copy it to myagsm.bst file. Open the file myagsm.bst, change { "`" swap$ * "'" * } in the Function {quote} to { "``" swap$ * "''" * } In my file, that ...
TYuan's user avatar
  • 43
2 votes

add prefix to a harvard-style citation call-out, as in "(e.g. Abe et al., 1999)"

Had there not been the pertinent macro \citeaffixed (see the accepted answer by @Mico), then a fallback would have been (e.~g.\ \citename{Abe99}, \citeyear*{Abe99}) See the comment below for yet ...
Joachim W's user avatar
  • 762

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