3

In biblatex, if I have (A, B and C, 2014), I can change that to (A, B & C, 2014) using

\renewcommand{\finalnamedelim}{ \& }

Now I would like to preserve the original 'and' only in the command \citeauthor (instead of having "&" there as well). Is that possible?

1
  • 1
    Please add a minimal working example (MWE). As Peter Gill keeps saying, solving problems can be fun but setting them up isn't! An MWE will also provide us with important information about how you are configuring your references and help to ensure that answers address your question rather than a different one.
    – cfr
    Oct 10, 2014 at 23:09

1 Answer 1

4

You can adapt the solution proposed in this answer https://tex.stackexchange.com/a/203350/16895.

We create a toggle and set it to true just before executing the loop code of the cite command for \citeauthor, and set the toggle false after the name has been printed.

\newtoggle{citeauthor}

\DeclareCiteCommand{\citeauthor}
  {\boolfalse{citetracker}%
   \boolfalse{pagetracker}%
   \usebibmacro{prenote}}
  {\toggletrue{citeauthor}%
    \ifciteindex
     {\indexnames{labelname}}
     {}%
   \printnames{labelname}%
   \togglefalse{citeauthor}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

enter image description here

2
  • This is great! Would you mind telling me where you found the definition of \citeauthor? I couldn't find it in authoryear.cbx in my distribution's directory.
    – Xiphias
    Oct 11, 2014 at 8:18
  • 1
    It is in biblatex.def. It contains common commands, macros and hooks.
    – Guido
    Oct 11, 2014 at 10:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .