Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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!

share|improve this question
    
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
show 1 more comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.