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' -- ...
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 ...
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\...
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 ...
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 ...
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*}
\...
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}
\...
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
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{...
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}
\...
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 ...
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 (...
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 ...
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 = {...
3
votes
Customising @inbook or @incollection bibliography entry?
In both cases in which you currently employ the @inbook entry type, you really ought to be employing the @incollection entry type. Moreover, as was already noted by @moewe in his comments, you should ...
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 ...
2
votes
Using natbib with agsm
I think the following will do what you want:
\usepackage[comma,colon]{natbib}
based on this reference sheet
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\...
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 ...
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 ...
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 ...
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 ...
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 ...
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 @...
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 ...
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 ...
2
votes
Two periods between the last author name and year
I think I find a way to sort it out.
FUNCTION {output.nonnull}
{ 's :=
output.state mid.sentence =
{ add.period$ " " * write$ } % <- change this line
{ output.state after.block =
...
2
votes
Is there an easy way of removing quotation marks from bibliography when using agsm (harvard style)?
As evil workaround you can set the category codes of the quotes to 9 (=ignore) just before the bibliographystyle. Note that this is evil and a workaround.
MWE:
\documentclass{article}
\usepackage{...
2
votes
Accepted
A simple way to use Harvard referencing in my article
Have a look here.
In short, you want to use natbib (which you do) with \bibliographystyle{agsm}, and remove the \setcitestyle{authoryear,round,aysep={}}.
\bibliographystyle{agsm} does everything you ...
2
votes
Accepted
Full firstnames in agsm bibliography style
I would like to suggest that you proceed as follows:
Find the file agsm.bst in your TeX distribution, make a copy of the file, and call the copy (say) agsm-ffn.bst. ("ffn" is short for &...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
harvard-style × 191bibliographies × 68
natbib × 67
bibtex × 60
citing × 55
biblatex × 36
lyx × 6
biber × 5
hyperref × 4
cross-referencing × 4
custom-bib × 4
formatting × 3
overleaf × 3
punctuation × 3
urls × 3
elsarticle × 3
babel × 2
italic × 2
back-referencing × 2
german × 2
chicago-style × 2
bibliographystyle × 2
bst × 2
macros × 1
spacing × 1