If I cite a bibliography item with an additional argument, for example \cite[p.~6]{bib_item}
, it can happen that there is a line break before the automatically inserted argument, such as:
text text text [4,
p. 6]
or
text text text [5, pp. 11-
13]
Is there a way to prevent this?
Best Answer
Assuming you're not using any packages redefining
\cite
& friends, here's a solution. (Andrey Vihrov's comments about\mbox
es and\sloppy
still apply.)EDIT: Replaced
\penalty\@m\
with~
in the definition of\@cite
.