I would like to use the \textcite
style: "Author (year, pages)" in the \footcite
as well. I could do \footnote{\textcite}
, but I was wondering if it would be possible to change the \footcite
to work in the \textcite
format, or better, using \autocite
(so I can switch between in-line and footnote).
EDIT
This a working example:
\documentclass[a4paper,12pt]{article}
\usepackage[hyperref=true,natbib=true,style=authortitle,
citestyle=authoryear,sorting=nyt,
autocite=footnote,
%autocite=inline,
%citestyle=authoryear-ibid, %% Eventually will use this
backend=biber]{biblatex}
\listfiles
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Smith96,
author = {Amith, Adam},
year = {1996},
title = {Economy},
publisher = {My company}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
This is a textcite \textcite[96]{Smith96} and this is the textcite in a footnote\footnote{\textcite[128]{Smith96}}.
This is a footcite \footcite[300-320]{Smith96} and this an autocite \autocite[98-34]{Smith96}
\printbibliography
\end{document}
The result with standard autocite=inline:
The result with autocite=footnote:
I would like footnote and autocite in the same format as textcite: Author (year, pages)
Thank you!
Best Answer
I'm using something similar to what you're looking for. You may have a look at that as well, but first, here's what you're looking for:
What I did was take the definition of
\textcite
, and from the one of\footcite
add to it the[\mkbibfootnote]
bit. Have a look at the manual, it's all there. I named it\footcite
, so the result is a command that (I hope) does everything\textcite
does, except it does it in a footnote. Can we use that withautocite
as well? Sure, I guess all it would take is a look at what routines are trigged by\autocite
(withautocite=footnote
) and change them so they use the new\footcite
.That said, I think those parentheses are somewhat useless (unless you really have actual text around the citation).