3

I am currently usign the numeric style in biblatex. This gives me the obvious result of [22] when I call \cite{Someone}. I would like to stick to the numeric style but also include the last name in the citation, for example something along the lines of: [(Someone)22] or (Someone)[22]. My question is two fold:

  1. Is this citation style in any way common? I would probably distance myself from it if it is too far from current standards.
  2. How would I implement this? I assume the trick lies somewhere in \DeclareCiteCommand, but I don't know where to start.
Markus
  • 1,365

1 Answers1

5

We can define a new citation command (analogous to BibLaTeX citing style)

\DeclareCiteCommand{\morecite}[\mkbibbrackets]
  {\usebibmacro{prenote}}%
  {\usebibmacro{citeindex}%
   \printnames{labelname}%
   \setunit{\addcomma\space}
   \usebibmacro{cite}}
  {\multicitedelim}%
  {\usebibmacro{postnote}}

If you insist, you can replace the normal \cite

\DeclareCiteCommand{\cite}[\mkbibbrackets]
  {\usebibmacro{prenote}}%
  {\usebibmacro{citeindex}%
   \printnames{labelname}%
   \setunit{\addcomma\space}
   \usebibmacro{cite}}
  {\multicitedelim}%
  {\usebibmacro{postnote}}

MWE

\documentclass[a4paper,american]{article}
\usepackage{babel}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{csquotes}
\usepackage[style=numeric,backend=biber]{biblatex}
\usepackage{hyperref}

\DeclareCiteCommand{\morecite}[\mkbibbrackets]
  {\usebibmacro{prenote}}%
  {\usebibmacro{citeindex}%
   \printnames{labelname}%
   \setunit{\addcomma\space}
   \usebibmacro{cite}}
  {\multicitedelim}%
  {\usebibmacro{postnote}}

\addbibresource{biblatex-examples.bib}

\begin{document}
\morecite{westfahl:space} and \morecite{westfahl:frontier}, \morecite{cicero,wilde}.

\printbibliography
\end{document} 

enter image description here

moewe
  • 175,683
  • 2
    +1 ... though the output shows why this is a bad style: it loses half the benefit of numeric citations (their unobtrusiveness) and the reader is likely to confuse the label number for a page reference! – Paul Stanley Mar 14 '14 at 16:35
  • Yes, I agree. It's not as clear as I hoped. Not sure if I should keep this style. – Markus Mar 14 '14 at 21:24