4

For days I’ve been messing around now with the otherwise great biblatex package but, alas, I am overwhelmed by all the technical mumbo-jumbo in its documentation. The thing I want to do is (hopefully) quite simple:

I want a citation with page-number and parentheses such as this one

``Some quote'' \citep[185]{author:book}

to look like this:

“Some Quote” (Author 2001: 185)

I tried a number of citestyles but I never come even close to that, it always looks something like this:

“Some Quote” (Author, 2001, 185)

Sorry for the probably dumb question but this menial detail is costing me a lot of nerves :(

migrated from stackoverflow.com Sep 23 '13 at 20:48

This question came from our site for professional and enthusiast programmers.

  • 1
    Do you mean \renewcommand*{\postnotedelim}{\addcolon\space} and the \textcite and \parencite commands (assuming some sort of 'authordate' style)? – jon Sep 23 '13 at 21:01
  • Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Sep 23 '13 at 22:08
5

If you prefer to stick with biblatex, this is an easy modification (although it is true that the biblatex manual can be overwhelming at first [and second] glance).

Try this:

\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[style=authoryear, backend=biber, natbib]{biblatex}
\addbibresource{biblatex-examples.bib}% ships with biblatex

\renewcommand*{\postnotedelim}{\addcolon\addspace}
\renewcommand*{\nameyeardelim}{\addspace}

\begin{document}

% note: the 'natbib' option gives you access to natbib-like commands
``Some quote'' \citep[185]{doody}.
According to   \citet[33]{aristotle:anima}, \ldots.

% compare these:
``Some quote'' \parencite[185]{doody}.
According to   \textcite[33]{aristotle:anima}, \ldots.

% and \autocite
``Some quote'' \autocite[185]{doody}.
According to   Aristotle \autocite*[33]{aristotle:anima}, \ldots.

\printbibliography
\end{document}

Note, if you are going to use biblatex, I recommend you also make use of csquotes, which was developed by the same package author.

  • Thanks! I think your MWE would benefit from loading standard biblatex and not biblatex-chicago (the latter does not support the standard way of loading bibliography and cite styles) though. – moewe Sep 24 '13 at 18:23
  • @moewe -- Oops! Good point! (Result of uncareful cutting and pasting....) – jon Sep 24 '13 at 18:28
  • Wonderful and simple! I’d love to upvote your answer but I don’t have a big enough reputation around here, so I hope you get to read this comment. And I’ve already been using csquote. Thanks! – Phil Strahl Oct 6 '13 at 18:05
  • @PhilStrahl -- No worries. I'm glad it was helpful! – jon Oct 7 '13 at 1:04

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.