[Tex/LaTex] \AtEveryBibitem{\clearfield{Title}} in beamer

beamerbiblatex

In my beamer presentation, I want to cite the reference without title. So, I tried:

\documentclass{beamer}
\usepackage[
  backend=bibtex8,
  defernumbers=true,
  sorting=none,
  firstinits=true,
  uniquename=init,
  uniquelist=false,
  refsegment=section,
  citestyle=numeric
]{biblatex}
\addbibresource{mini.bib}
\AtEveryBibitem{\clearfield{Title}}
\begin{document}
\section{Start}
\begin{frame}
  first cite\footfullcite{Julie2006}
  %\printbibliography
\end{frame}
\section{2nd}
\begin{frame}
  Second cite\footfullcite{gyof}
\end{frame}
\end{document}

with the mini.bib :

@article{gyof,
  Author={BLJ},
  Title={Some Title},
  Journal={joural1},
  volume={15},
  pages={1337},
  Year={1985}
}
@article{Julie2006,
  Author={JBS},
  Title={Some Other Title},
  Journal={journal2},
  volume={74},
  pages={144411},
  Year={2006}
}

with \AtEveryBibitem{\clearfield{Title}} I was expecting no title will be produced, but thats not the case:
the output

Is there any incompatibility between clearfield and footfullcite? Or I am just missing something?

Best Answer

Since \fullfootcite (and \fuulcite) are still technically cite commands, we need to use \AtEveryCitekey to hook into and not \AtEveryBibitem, even though they copy the behaviour of the bibliography driver.

So the solution is to use

\AtEveryCitekey{\clearfield{title}}

Discussions about whether it is a good idea to drop the title have been had elsewhere on this site, so I will just remark that omitting the title might work for @articles, but looks odd - at best; at worst it will just be plain confusing and inhibit the reader's ability to locate the work (think of a very productive author that managed to get several books published by the same publisher in one year) - with other entry types, so something along the lines of

\AtEveryCitekey{%
  \ifentrytype{article}
    {\clearfield{title}}
    {}}

might be better suited.

You might also want to get rid of the "in:" as in Suppress “In:” biblatex.

MWE

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[backend=biber]{biblatex}
\usepackage{hyperref}
\addbibresource{biblatex-examples.bib}

\renewbibmacro{in:}{%
  \ifentrytype{article}
    {}
    {\printtext{\bibstring{in}\intitlepunct}}}

\AtEveryCitekey{%
  \ifentrytype{article}
    {\clearfield{title}}
    {}}

\begin{document}
\fullcite{sigfridsson}

\fullcite{moore}

\fullcite{wilde}

\printbibliography
\end{document}

enter image description here

Related Question