4

I am really struggling to find a way to modify biblatex authoryear so that it comes out in this modified Harvard style. In case any solution can be helpful to others in the future, this is the style Sage Journals request.

What I want: (author, year: page).Biblatex author year normally produces something like this: (author year, page). By page, I mean the page in the cited document with the referenced material.

Here is a sample bibtex reference and how I would like it to apprear:

    @book{Varshney:2003tn,
    author = {Varshney, Ashutosh},
    title = {{Ethnic Conflict and Civic Life}},
    publisher = {Yale University Press},
    year = {2003},
    series = {Hindus and Muslims in India},
    isbn = {9780300100136},
    language = {English},
    date-modified = {2012-12-14T03:45:28GMT}}

In-text citation:

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua (Varshney, 2003: 83-85).

Bibliography Entry:

    Varshney, Ashutosh. (2003) *Ethnic Conflict and Civic Life: Hindus and Muslims in India*. Yale University Press.

Any help is much appreciated!

EDIT: Included an example!

6
  • Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. – Guido Jan 7 '13 at 11:31
  • 1
    Is the pagenos, the page number of the citation (and it would not make sense for a book), or the page number where the material specific to the citation appears. If this is the case, then you can use \cite[pagnos]{citekey}. – Guido Jan 7 '13 at 11:34
  • Thanks for the replies. I mean the page number of content being referenced (sorry for the confusion). – Michael Davidson Jan 7 '13 at 16:24
  • I've added an example which will hopefully make it clear. – Michael Davidson Jan 7 '13 at 16:25
  • 1
    Could you explain how this differs from what you currently get with your preferred bib style? – Seamus Jan 7 '13 at 16:32
3

In general, see Guidelines for customizing biblatex styles. In your specific example, don't capitalize "english" in the .bib file.

\documentclass{article}

\usepackage[english]{babel}

\usepackage[style=authoryear,isbn=false]{biblatex}

\renewcommand*{\nameyeardelim}{\addcomma\space}
\renewcommand*{\postnotedelim}{\addcolon\space}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}

\usepackage{xpatch}
\xpretobibmacro{date+extrayear}{\addperiod\space}{}{}
\xapptobibmacro{date+extrayear}{\nopunct}{}{}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
    @book{Varshney:2003tn,
    author = {Varshney, Ashutosh},
    title = {{Ethnic Conflict and Civic Life}},
    publisher = {Yale University Press},
    year = {2003},
    series = {Hindus and Muslims in India},
    isbn = {9780300100136},
    language = {english},
    date-modified = {2012-12-14T03:45:28GMT},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

Some text \autocite[83--85]{Varshney:2003tn}.

\printbibliography

\end{document}

enter image description here

Note: I didn't tinker with the formatting of the series field; in your "Bibliographic Entry" snippet, "Hindus and Muslims in India" (italic, colon prepended) resembles a subtitle rather than a series title.

1
  • Thank you! This is great and I think I am beginning to understand how to edit the biblatex formatting. – Michael Davidson Jan 7 '13 at 18:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.
https://tex.stackexchange.com/questions/89705/modify-biblatex-so-citations-appear-as-author-year-pagenos
tex.stackexchange.com
crawl=CC-MAIN-2021-10
163226
application/http; msgtype=response
sha1:QQOONIWHZ76BSSUEHWYQAQQD2MTIA3OX
<urn:uuid:8fecdeb5-96fb-4555-8369-1f31b208069b>
2021-02-26T01:18:40Z
151.101.193.69
text/html
sha1:LE5MTKIRSNP3YSZUYYV4AFW7UQ3555HO
<urn:uuid:5a063990-37d9-44bf-9ad0-42b85dc2d76d>
https://tex.stackexchange.com/questions/89705/modify-biblatex-so-citations-appear-as-author-year-pagenos
response
<urn:uuid:67397992-db1a-4242-94f5-eaea478f2217>
isPartOf: CC-MAIN-2021-10
publisher: Common Crawl
description: Wide crawl of the web for February/March 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-128.ec2.internal
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/