[Tex/LaTex] Biblatex: nested citations with the \textcites command

biblatexcitingnesting

I'd like to type a citation within the text and another citation inside the parenthesis for the year, something like this:

The work of Author 1 (year; cited by Author 2, year)

For this, I've tried different options of the \textcite command but without results. Also I saw the solution posted here, which works for multiple citations within parenthesis but not for in-text citations.

Any suggestion?

Best Answer

Nested citation commands are not allowed, but one can simulate them (using the appropriate punctuation commands to ensure consistency with other citations):

\documentclass{article}

\usepackage[style=authoryear]{biblatex}

\renewcommand*{\nameyeardelim}{\addcomma\space}
\renewcommand*{\postnotedelim}{\addsemicolon\space}

\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}

\begin{document}

The work of \citeauthor{A01} \mkbibparens{\citeyear{A01}\postnotedelim cited by \cite{B02}}

\printbibliography

\end{document}

enter image description here