I'm trying to get rid of the space between volume and number, and it actually worked with this:
\documentclass[12pt, oneside]{article}
\usepackage[backend = biber, bibencoding=utf8, style=authoryear-comp, uniquename=false]{biblatex}
\addbibresource{bibliography.bib}
\renewbibmacro*{volume+number+eid}{
\printfield{volume}
\printfield{number}
\setunit{\addcomma\space}
\printfield{eid}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
\DeclareFieldFormat[article]{pages}{#1}
\printbibliography
\usepackage{filecontents}
\begin{filecontents}{bibliography.bib}
@Article{Ratcliff,
author = {R. Ratcliff and G. McKoon},
title = {The diffusion decision model: Theory and data for two-choice decision tasks},
journal = {Neural Computing and Applications},
year = {2008},
volume = {20},
number = {4},
pages = {873-922},
}
\end{filecontents}
I don't know what happened, but it doesn't work anymore. Any ideas?
\printfield{volume}%, i.e. adding a%. – Torbjørn T. Apr 24 '17 at 12:13%after\printfield{number}and\setunit{\addcomma\space}. – moewe Apr 24 '17 at 14:37%and I don't know what has changed. I also had to add%to\renewbibmacro*{volume+number+eid}{– Cathy Apr 25 '17 at 11:44%becausebiblatexis really good at cleaning up punctuation mess. But there comes a point wherebiblatexcan't do anything any more. Indeed you also should have a%in the very first line. Cf. my comments in http://golatex.de/spacing-zwischen-volume-und-number-t19054.html – moewe Apr 26 '17 at 05:14