I'm using the apa-good.bst
file to typeset my bibliography in APA style. I need to include something like "Last visited…" (using the urldate
variable) when I cite a webpage but I don't know how I can do this. Can anyone help me?
[Tex/LaTex] Last visited URL in apa style
apa-stylebibliographiesurls
Related Solutions
With your combination of (a) document class (isuthesis
), (b) bibliography style (apa
), and (c) citation management pacakge (natbib
), I'm afraid I can't figure out how to provide a complete solution to your query: Loading natbib
with the option numbers
and using \citet
instead of \cite
does provide numerical labels for the entries in the bibliography, but it also generates citation call-outs of the form "Kumar [1]" rather than "Kumar (1991)". I'm afraid I wasn't able to figure out how to show the year label in the citation callouts while showing numerical labels in the bibliography.
\documentclass[12pt]{isuthesis}
\usepackage{filecontents}
\begin{filecontents}{mybib.bib}
@article{Hierar,
author = {Kumar, A.},
doi = {10.1109/12.83661},
journal = {IEEE Transactions on Computers},
number = {9},
pages = {996--1004},
posted-at = {2011-08-14 19:55:36},
priority = {2},
title = {Hierarchical quorum consensus: A new algorithm
for managing replicated data},
url = {http://dx.doi.org/10.1109/12.83661},
volume = {40},
year = {1991},
}
@ARTICLE{majority,
author = {R. H. Thomas},
title = {A majority consensus approach to concurrency
control for multiple copy databases \dots},
journal = {ACM Transactions on Database Systems},
year = {1979},
volume = {4},
pages = {180-209},
owner = {sony},
timestamp = {2011.08.14},
}
\end{filecontents}
\usepackage[numbers]{natbib}
\bibliographystyle{apa}
\usepackage[hypertexnames=false,linktocpage=true]{hyperref}
\hypersetup{colorlinks=true,allcolors=blue,
bookmarksnumbered=true,pdfview=FitB}
\begin{document}
\citet{majority}
\citet{Hierar}
\bibliography{mybib}
\end{document}
I can't help but make a few comments. The main issue, in my mind, is the following: Given that it appears that you want to use authoryear-style citation call-outs, why would you (or some adviser?) want to deliberately clutter up the bibliography, by providing numerical labels that serve no discernible purpose -- other than, possibly, to reveal easily how many pieces you've cited in total by looking at the final entry in the bibliography? But then, who even cares about wanting to count easily how many pieces were referenced?
Instead of getting too worked up over adding pointless numerical labels to the bib entries, I'd spend some time cleaning up and correcting the information actually contained in the bib file. If you compare your original input with the cleaned-up entries used in the example above, I think you'll find a few differences.
Since biblatex-apa
aims to comply exactly with the slightly complicated APA guidelines, the "standard" options maxnames
and friends do not work (as expected, if at all) with biblatex-apa
.
To include an arbitrary number of authors (and editors) in the bibliography is possible though with the option apamaxprtauth
, which defaults to 7, see §3.1 Package options, p. 5 of the biblatex-apa
documentation.
In this case we just set it to 999
and everything works fine.
MWE
\documentclass[a4paper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[swedish]{babel}
\usepackage{csquotes}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{ipcc_tech_2013,
author = {T.F. Stocker and D. Qin and G.-K. Plattner and L.V. Alexander and S.K. Allen and N.L. Bindoff and F.-M. Bréon and J.A. Church and U. Cubasch and S. Emori and P. Forster and P. Friedlingstein and N. Gillett and J.M. Gregory and D.L. Hartmann and E. Jansen and B. Kirtman and R. Knutti and K. Krishna Kumar and P. Lemke and J. Marotzke and V. Masson-Delmotte and G.A. Meehl and I.I. Mokhov and S. Piao and V. Ramaswamy and D. Randall and M. Rhein and M. Rojas and C. Sabine and D. Shindell and L.D. Talley and D.G. Vaughan and S.-P. Xie},
year = {2013},
title = {{Technical Summary. I Climate Change 2013: The Physical Science Basis. Contribution of Working Group I to the Fifth Assessment Report of the Intergovernmental Panel on Climate Change}},
editor = {T.F. Stocker and D. Qin and G.-K. Plattner and M. Tignor and S.K. Allen and J. Boschung and A. Nauels and Y. Xia and V. Bex and P.M. Midgley},
publisher = {Cambridge University Press},
address = {Cambridge, United Kingdom and New York, NY, USA},
}}
\end{filecontents*}
\usepackage[
backend=biber,
date=short,
sorting=nyt,
style=apa,
apamaxprtauth=999,
]{biblatex}
\addbibresource{\jobname.bib}
\DeclareLanguageMapping{swedish}{swedish-apa}
\begin{document}
A citation: \cite{ipcc_tech_2013}
\printbibliography
\end{document}
Best Answer
Your referenced bibliography style isn't available at CTAN. So I guess You are using the following file:
ucbthesis -- LaTeX template for typesetting UCB thesis -- apa-good.bst
The style support the following entries:
In relation to my previous answer
URL of cited web site in bibliography
You can simple add to the field
note
: