# Reduce bibliography to one line with dots and reference numbers [closed]

I would like my references to look like

• [ 1 ] Foo et al. 2008, Nature, 100, 200 • [ 2 ] Bar & Baz et al. 2010, Science, 300, 400 • [ 3 ] Einstein, 1905, New Scientist, 5, 6

and so on.

To do that I am using the following code kindly suggested by Mico:

\usepackage[sort&compress,numbers]{natbib}
\let\olditem\item
\renewenvironment{thebibliography}[1]{%
\par\noindent
\raggedright
\textsc{\textbf{References}}
\let\par\relax\let\newblock\relax
\renewcommand{\item}[1][]{\textbullet~\olditem}
% \inparaitem[{[}1{]}]}{\endinparaitem}
\inparaenum}{\noindent\hspace*{\fill}\endinparaenum}


with a bibtex style unsrtnat.

However, this code adds annoying spaces between the dot and the numeric reference. Moreover this space varies arbitrarily as shown below:

Do you know any way to remove the spaces? Thanks very much!

## closed as off-topic by Bobyandbob, Mensch, egreg, Troy, Henri MenkeDec 5 '17 at 4:58

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• Welcome to TeX.SE! – Mico Jun 9 '16 at 9:58
• would it be okay to have an "annoying space" before rather than after the bullet? (i'm thinking of putting a fixed space between bullet and text, but letting the separation between entries be more flexible.) – barbara beeton Jun 9 '16 at 13:59
• Can you create a minimal woring example that recreates the behaviour? – Johannes_B Jul 30 '17 at 9:12
• I'm voting to close this question as off-topic because a minimal working example is still missing. – Bobyandbob Dec 4 '17 at 20:57