I want to cite articles as full reference, but only in the text. So far, everything works in the MWE below, but there is still the title of the article which I want to suppress.
One way I found to do this was by adding \DeclareFieldFormat[article]{title}{}
; but that cancels the title and leaves two commas (,,
) where the title has been.
Another suggestion was to use \AtEveryBibitem{\clearlist{title}}
, but that doesn't seem to work at all.
Does anyone know how to get rid of the title? Such that the citations become
I want to cite Author et al. (2050), Journal A, 50, 63–90 as well as Author (2013), Journal B, 50, 63–90
Here is a minimum working example:
\documentclass{scrartcl}
%%%%%%%%%%%%%%%%%%%%%%% THE REFERENCES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{entry1,
author = {Author, A. and Buthor, B. and Cusor, C.},
title = {Title A},
journal = {Journal A},
volume = {50},
year = {2050},
pages = {63--90},
}
@article{entry2,
author = {Author, A.},
title = {Title of Article B},
journal = {Journal B},
volume = {50},
year = {2013},
pages = {63--90},
}
\end{filecontents}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% BIBLIOGRAPHY STYLE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[style=authoryear,maxnames=1,backend=bibtex,doi=false,isbn=false,url=false]{biblatex}
\addbibresource{\jobname.bib}
\DeclareFieldFormat[article]{volume}{\mkbibbold{#1}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
\DeclareFieldFormat{journaltitle}{\mkbibemph{#1},} % italic journal title
\DeclareFieldFormat{pages}{#1}
%\DeclareFieldFormat[article]{title}{} % remove title
\renewbibmacro{in:}{} % remove "in"
\renewcommand{\mkbibnamefirst}[1]{} % remove first name
\renewcommand{\newunitpunct}{, }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% BEGIN THE DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
I want to cite
\fullcite{entry1}
as well as
\fullcite{entry2}
\end{document}
\AtEveryBibitem{\clearfield{title}}
.title
is afield
not alist
. But it is not a good idea to not display thetitle
, I think (see the comments to this question).\DeclareFieldFormat[article]{title}{}
is not really something one should do, asbiblatex
still thinks it prints the title even though it did in fact not do that.\DeclareBibliographyDriver{article}{\printnames{author} \newunit \printfield{year} \newunit \printfield{journaltitle} \newunit \printfield{volume} \newunit \printfield{pages} \finentry}
\fullcite
with title and\printbibliography
without? If you want\fullcite
to ignore the title, go with\AtEveryCitekey{\clearfield{title}}
. Please do not redefine the driver in such a minimal way.\printbibliography
at all(\fullcite{entry1})
. Do you know how to get rid of that?