3

I cite elements from my bibfile using \citet{key}. The reference appears as "Name1, and Name2 (year)" in text where year is a link leading to the bibliography. Now, I want to include an 's after the authors name, e.g.

Using Name1, and Name2's (2019) formula, I compute ...

Any ideas of I could adjust the \citet command?


I use biblatex as follows.

\usepackage[style=ext-authoryear-comp,
            backend=biber,
            natbib=true,
            uniquename=false,
            uniquelist=false,
            giveninits=false,
            dashed=false,
            backref=false,
            maxbibnames=99,
            maxcitenames=3,
            isbn=false,
            doi=false]{biblatex}
1

1 Answer 1

9

A cheap way to produce citations like these is

\citeauthor{sigfridsson}'s \parencite*{sigfridsson}

this should work out of the box for most styles.

If you'd like to see a solution with a dedicated command, we can modernise Audrey's answer to Author name of \textcite as possessive to create a new \posscite command that automatically inserts "'s" at the end of the names. Again, this solution is pretty style independent.

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=ext-authoryear-comp, backend=biber,]{biblatex}

\DeclareNameWrapperFormat{labelname:poss}{#1's}

\newrobustcmd*{\posscitealias}{%
  \AtNextCite{%
    \DeclareNameWrapperAlias{labelname}{labelname:poss}}}

\newrobustcmd*{\posscite}{%
  \posscitealias
  \textcite}

\newrobustcmd*{\Posscite}{\bibsentence\posscite}

\newrobustcmd*{\posscites}{%
  \posscitealias
  \textcites}

\addbibresource{biblatex-examples.bib}

\begin{document}
\posscite{sigfridsson}
\printbibliography
\end{document}

Sigfridsson and Ryde’s (1998)

Several alternatives where you give the possessive marker manually are discussed in Adding a third option for inserting possessive to \textcite. If you are interested in one of those solutions, they could be modified for your use case as well.


If you want to attach the "'s" to the name at all times and not the "et al." the code gets a bit longer, because we can no longer use name wrappers to inject the "'s".

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=ext-authoryear-comp, backend=biber,]{biblatex}

\DeclareNameFormat{labelname:poss}{%
  \ifcase\value{uniquename}%
    \usebibmacro{name:family}
      {\namepartfamily}
      {\namepartgiven}
      {\namepartprefix}
      {\namepartsuffix}%
  \or
    \ifuseprefix
      {\usebibmacro{name:given-family}
        {\namepartfamily}
        {\namepartgiveni}
        {\namepartprefix}
        {\namepartsuffixi}}
      {\usebibmacro{name:given-family}
        {\namepartfamily}
        {\namepartgiveni}
        {\namepartprefixi}
        {\namepartsuffixi}}%
  \or
    \usebibmacro{name:given-family}
      {\namepartfamily}
      {\namepartgiven}
      {\namepartprefix}
      {\namepartsuffix}%
  \fi
  \ifnumequal{\value{listcount}}{\value{liststop}}
    {'s}
    {}%
  \usebibmacro{name:andothers}}

\newrobustcmd*{\posscitealias}{%
  \AtNextCite{%
    \DeclareNameAlias{labelname}{labelname:poss}}}

\newrobustcmd*{\posscite}{%
  \posscitealias
  \textcite}

\newrobustcmd*{\Posscite}{\bibsentence\posscite}

\newrobustcmd*{\posscites}{%
  \posscitealias
  \textcites}

\addbibresource{biblatex-examples.bib}

\begin{document}
\posscite{sigfridsson}

\posscite{aksin}

\printbibliography
\end{document}
3
  • Your solution has worked perfectly thus far. Thank you very much!! I just noticed when there are too many authors and I cite them with "Sigfridsson et al. (1998)", I obtain "Sigfridsson et al.'s (1998)" using \posscite. Would there be a way of adapting this to get "Sigfridsson's et al. (1998)" in the case of multiple authors (depending on maxcitenames of the biblatex package). Should I ask a new question here or is it just a small adjustment that you could include in your answer perhaps? Thank you very much in advance!
    – Alex
    Apr 29, 2020 at 11:58
  • 1
    @Alex I was so happy to be able to use name wrappers and now that. See the edit.
    – moewe
    Apr 29, 2020 at 18:36
  • You did a terrific job. Thank you so much! I'm extremely grateful! and sorry for causing so much work! It's very much appreciated though :)
    – Alex
    Apr 29, 2020 at 19:43

You must log in to answer this question.

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