# Inline citations with only author, title and year

I would like to put a few reference inside a beamer presentation. Adding a full fledge bibliography is certainly awkward but the output of the \fullcite command from the biblatex pacakge is too verbose.

I am looking for a command similar to \fullcite that would only insert author, title and year

Some sort of MWE would be:

\documentclass{beamer}
\usepackage[backend=bibtex, style=authoryear-comp]{biblatex}

\begin{document}
\begin{frame}
\XXXcite{Kennedy01}
\end{frame}

\end{document}


with biblio.bib containing

@Article{Kennedy01,
author =       {Kennedy, Marc C. and O'Hagan, Anthony},
title =        {Bayesian calibration of computer models},
journal =      {Journal of the royal statistical society: series b (statistical methodology)},
year =         2001,
volume =    63,
number =    3,
pages =     {425-464}}


and \XXXcite being the needed command similar to \fullcite.

I suppose that Where can I find collections of bibliography styles? could be used but I have only a very restricted understanding of the working of biblatex.

Probably not the most efficient way to do this (I'm new to biblatex), but it works

\documentclass{beamer}
\usepackage[backend=bibtex, style=authoryear-comp]{biblatex}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@Article{Kennedy01,
author =       {Kennedy, Marc C. and O'Hagan, Anthony},
title =        {Bayesian calibration of computer models},
journal =      {Journal of the royal statistical society: series b (statistical methodology)},
year =         2001,
volume =    63,
number =    3,
pages =     {425-464}}
\end{filecontents}

\newcommand{\customcite}[1]{\citeauthor{#1}, \citetitle{#1}, \citeyear{#1}}

\begin{document}
\begin{frame}
\customcite{Kennedy01}
\end{frame}

\end{document}

• How would one do this for placing citations as footnotes? (e.g. a replacement for \footcite)? – Abhishek Anand Dec 2 '13 at 20:35
• \newcommand{\customfootcite}[1]{\footnote{\citeauthor{#1}, \citetitle{#1}, \citeyear{#1}}} worked! Thanks. – Abhishek Anand Dec 2 '13 at 20:42

Probably the most straightforward way is to define a new citation command:

\DeclareCiteCommand{\customcite}
{\boolfalse{citetracker}%
\boolfalse{pagetracker}%
\usebibmacro{prenote}}
{\ifciteindex
{\indexnames{labelname}%
\indexfield{indextitle}}
{}%
\printnames{labelname}%
\setunit{\labelnamepunct}%
\printfield[citetitle]{labeltitle}%
\newunit
\printfield{year}}
{\multicitedelim}
{\usebibmacro{postnote}}


\documentclass{article}
\usepackage[backref=true]{biblatex}
\usepackage{hyperref}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@misc{B02,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
\end{filecontents}

\DeclareCiteCommand{\customcite}
{\boolfalse{citetracker}%
\boolfalse{pagetracker}%
\usebibmacro{prenote}}
{\ifciteindex
{\indexnames{labelname}%
\indexfield{indextitle}}
{}%
\printtext[bibhyperref]{%
\printnames{labelname}%
\setunit{\labelnamepunct}%
\printfield[citetitle]{labeltitle}%
\newunit
\printfield{year}%
}%
}
{\multicitedelim}
{\usebibmacro{postnote}}

\begin{document}

In this cite \customcite{A01} I do get a link now.

\printbibliography

\end{document}


Related questions: