8

I use biblatex with the cite-style authoryear for footnotes, which results in

Chang et al. 2005, p. 1116.

Faculty guidelines require

Chang et al. (2005), p. 1116.

though.

Which files need to be modified to achieve this? I could only find questions about the inline-citations or the bibliography so far.

My biblatex options are:

\usepackage[bibstyle=authoryear, autocite=footnote, dashed=false, firstinits=true,
    citestyle=authoryear-icomp]{biblatex}
\let\cite\autocite

I then cite via ~\cite[1116]{chang05x}.

6

You could define a \foottextcite macro based on \textcite (i.e., with braces).

EDIT: The example now uses style=authoryear-icomp.

EDIT 2: Added code for new option autocite=foottext which maps \autocite to \foottextcite.

\documentclass{article}

\usepackage[style=authoryear-icomp]{biblatex}

% The following is based on \textcite
\DeclareCiteCommand{\foottextcite}[\mkbibfootnote]% [\mkbibfootnote] added
  {\usebibmacro{cite:init}}
  {\usebibmacro{citeindex}%
   \usebibmacro{textcite}}
  {}
  {\usebibmacro{textcite:postnote}}

\DeclareMultiCiteCommand{\foottextcites}[\mkbibfootnote]{\foottextcite}{\multicitedelim}
\DeclareAutoCiteCommand{foottext}[l]{\foottextcite}{\foottextcites}
\ExecuteBibliographyOptions{autocite=foottext}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\textheight=120pt% only for the example

\begin{document}

Some text \autocite{A01,B02}.

\printbibliography

\end{document}

enter image description here

EDIT 3: For the sake of completeness, here's the \foottextcite definition suitable for authoryear:

% The following is based on \textcite
\DeclareCiteCommand{\foottextcite}[\mkbibfootnote]% [\mkbibfootnote] added
  {\boolfalse{cbx:parens}}
  {\usebibmacro{citeindex}%
   \usebibmacro{textcite}}
  {\ifbool{cbx:parens}
     {\bibcloseparen\global\boolfalse{cbx:parens}}
     {}%
   \multicitedelim}
  {\usebibmacro{textcite:postnote}}
  • 1
    This does not work with authoryear-icomp (the citestyle that @Daniel used). It gives, e.g., “Knuth (1986a); b.” – domwass Jan 3 '12 at 10:39
  • @domwass: I was only looking at the question title which said citestyle=authoryear. – lockstep Jan 3 '12 at 10:41
  • Thank you for this great reply, lockstep. I'll work through this now. It might be superior to the other option, because I could still use the icomp-version of authoryear. – dhst Jan 3 '12 at 16:10
  • When trying this approach using authoryear-icomp, \autocite[88]{A01} leads to "Author, A. (2001, p. 88).". Using this answer by @lockstep formats it as desired: "Author, A. (2001), p.88." However, \textcite[88]{A01} will now put brackets around the year, too. "Author ([2001], p.88)". Is there any way to solve this? – lactea Mar 12 '16 at 12:46
  • Issue posted as a separate question. – lactea Mar 13 '16 at 13:49
6

You can use \textcite for in text citations complete with parentheses. If this is your preferred citation, then you can make this the default behaviour of the \cite command like so:

\let\cite\textcite
  • 2
    This answer is actually inapplicable. It's not clear from the question, but I think the OP is looking for footnote citations with parentheses. Still, for anyone else, this might be useful. – Seamus Jan 3 '12 at 10:37
  • Thanks for pointing that out, but I indeed require footnote-citation. The problem seems solved though. – dhst Jan 3 '12 at 16:07

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.