3

How can I do a full citation, but suppress only the author while keeping a complete entry in my .bib file and keep a full complete citation in the rest of the document and in the bibliography?

I use MiKTeX with XeLaTeX on a Windows machine with biblatex and Biber.

  • 1
    Welcome to TeX.SX! I'm sure there was a question like this a while ago, let me find it. (Your problem should be quite easy to solve, bear with me.) – moewe Sep 6 '15 at 11:14
  • 1
    What bibliography/citation style do you use? – moewe Sep 6 '15 at 11:15
  • I've deleted the xetex and miktex tags, since I'am pretty sure, this has nothing to do with xe(la)tex or miktex – user31729 Sep 6 '15 at 11:20
  • OK, I gave up on my search to find that duplicate I promised you. Maybe someone else can locate it. In the meantime, try my solution below. It should work for almost all styles. – moewe Sep 6 '15 at 11:27
  • @moewe I use: \documentclass[11pt,paper=a5,DIV=calc,pagesize=auto,final,german]{scrartcl} \usepackage[backend=biber,style=footnote-dw,idemtracker=false,nopublisher=false,isbn=false,doi=false,maxbibnames=99]{biblatex} – tbsvttr Sep 7 '15 at 12:35
4

Try

\DeclareCiteCommand{\nonamefullcite}
  {\usebibmacro{prenote}}
  {\usedriver
     {\renewbibmacro*{author}{}%
      \renewbibmacro*{editor}{}%
      \renewbibmacro*{editor+others}{}%
      \renewbibmacro*{translator}{}%
      \renewbibmacro*{translator+others}{}}
     {\thefield{entrytype}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

Where we simply empty the name printing macros temporarily, so they don't do anything.

MWE

\documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=authortitle]{biblatex} 
\usepackage{filecontents}

\DeclareCiteCommand{\nonamefullcite}
  {\usebibmacro{prenote}}
  {\usedriver
     {\renewbibmacro*{author}{}%
      \renewbibmacro*{editor}{}%
      \renewbibmacro*{editor+others}{}%
      \renewbibmacro*{translator}{}%
      \renewbibmacro*{translator+others}{}}
     {\thefield{entrytype}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\addbibresource{biblatex-examples.bib} 
\begin{document}
\nonamefullcite{sigfridsson}

\nonamefullcite{nussbaum}

\nonamefullcite{jaffe}

\printbibliography
\end{document}

enter image description here

  • If you use this with authoryear and friends, you probably want something done about the year, one solution would be adding \renewbibmacro*{date}{\printdate}% \renewbibmacro*{issue+date}{% \printtext[parens]{% \printfield{issue}% \setunit*{\addspace}% \printdate}% \newunit} (modulo line break) after \renewbibmacro*{translator+others}{}. – moewe Sep 6 '15 at 11:32
  • +1. You may want to rename the macro \halffullcite to something like \almostfullcite. ("Halfful", in English, might create associations with the saying "the glass is half full"...) – Mico Sep 6 '15 at 11:54
  • 1
    @Mico Funnily enough that is exactly what went through my head after I had named the macro. I have changed the name to the slightly more descriptive \nonamefullcite. – moewe Sep 6 '15 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.