Quantcast
Channel: Use non-breaking space after name initials with biblatex macros - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 2

Use non-breaking space after name initials with biblatex macros

$
0
0

I want to enforce biber/biblatex to place non-breaking spaces between initials and last names of authors. Example:

\documentclass{article}\usepackage[backend=biber,natbib=true]{biblatex}\newcommand*{\person}[2]{\citename{#1}[#2]{author}}\DeclareNameFormat{firstinits-last}{%  \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}%  \usebibmacro{name:andothers}}\DeclareNameAlias{sci}{firstinits-last}\usepackage{filecontents}\begin{filecontents}{\jobname.bib}@misc{latour,    AUTHOR      = {Latour, Bruno},    OPTIONS     = {dataonly=true}}\end{filecontents}\addbibresource{\jobname.bib}\begin{document}Foo bar foo bar foo bar foo bar foo bar foo bar foo bar foo bar foo bar. \person{latour}{sci} says about the ``new object'' that emerges\ldots\end{document}

This produces a line break between B. and Latour:

enter image description here

I have looked at this question, but the suggested code doesn't have any effect here:

\renewcommand*{\mkbibnamefirst}[1]{{\let~\,#1}}\renewcommand*{\mkbibnamefirst}[1]{{\iffirstinits{\let~\,}{}#1}}

How would I make B. Latour in this example be rendered as B.~Latour (normal non-breaking space)?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images