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.

To have author names be listed as e.g. Doe, J.D. in the references (i.e. no space between initials). I use in my .bbx file:

\ExecuteBibliographyOptions
  {
    firstinits = true,
    terseinits = false
}

But the result is Doe, J. D. with spaces between the initials.
I tried adding \renewcommand\bibinitdelim{\nospace} to the .bbx file but that gives an error.

Question: any way to suppress the space between author's name initials (with or without calling terseinits = false)?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

\nospace is (at least in the LaTeX core and biblatex) undefined. Use an empty argument in the redefinition of \bibinitdelim instead.

\documentclass{article}

\usepackage[style=authoryear,firstinits=true,terseinits=false]{biblatex}

\renewcommand*{\bibinitdelim}{}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Doe, John D.},
  year = {2001},
  title = {How to remove the space between initials},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

enter image description here

share|improve this answer
3  
I'd warmly suggest the alternative \renewcommand*{\bibinitdelim}{\,} –  egreg Nov 9 '12 at 14:34
    
@egreg I'd, too. –  lockstep Nov 9 '12 at 14:37
    
hmm, that doesn't seem to work for me. (while \renewcommand*{\bibinitdelim}{} works like a charm). –  Roey Angel Nov 9 '12 at 14:46
    
@RoeyAngel \, adds a non-breakable thin space. –  lockstep Nov 9 '12 at 14:47
    
oh that explains. But in any case that's not what my journal asks (and unfortunately I'm not in a position to make them change this). –  Roey Angel Nov 9 '12 at 15:01

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.