Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question
1  
Try \AtEveryBibitem{\clearfield{title}}. title is a field not a list. But it is not a good idea to not display the title, I think (see the comments to this question). \DeclareFieldFormat[article]{title}{} is not really something one should do, as biblatex still thinks it prints the title even though it did in fact not do that. –  moewe Nov 1 '13 at 19:38
    
@moewe No, that doesn't work, but I just found a solution. It seems one needs to redefine the "Driver", i.e. \DeclareBibliographyDriver{article}{\printnames{author} \newunit \printfield{year} \newunit \printfield{journaltitle} \newunit \printfield{volume} \newunit \printfield{pages} \finentry} –  John Smith Nov 1 '13 at 19:42
    
Weird it works for me... Just to reiterate: You want to use \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. –  moewe Nov 1 '13 at 19:46
    
@moewe hm strange, now it seems to work as you wrote. Not sure what I did wrong before. And I want to only cite the articles in the text, but with full reference and not have \printbibliography at all –  John Smith Nov 1 '13 at 19:48
    
@moewe: there seems to be some extra space before the citations, particularly visible if I do (\fullcite{entry1}). Do you know how to get rid of that? –  John Smith Nov 1 '13 at 19:56

1 Answer 1

One really should not suppress fields via \DeclareFieldFormat{title}{}, as biblatex will still think it printed the title field, though it really did not do that. This will result in superfluous and spurious spaces and punctuation.

If you want to get rid of the title information in a citation, go with

\AtEveryCitekey{\clearfield{title}}

to delete the information in the bibliography, it is

\AtEveryBibitem{\clearfield{title}}

Similarly, \renewcommand{\mkbibnamefirst}[1]{} is not the best idea to suppress first names, you might try

\DeclareNameFormat{first-last}{%
  \usebibmacro{name:last}{#1}{#3}{#5}{#7}%
  \usebibma‌​cro{name:andother‌​s}}

here (see also Biblatex: Last name only in \footcite for other solutions).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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