##\rm{\LaTeX}## bibliography not coming in one line

  • Context: LaTeX 
  • Thread starter Thread starter brotherbobby
  • Start date Start date
  • Tags Tags
    Bibliography Latex
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
brotherbobby
Messages
807
Reaction score
178
TL;DR
I am writing a paper where I have only a few references, The (first) reference is coming in two separate lines rather than in one line. What's the problem?
I paste the code below and the output.
[CODE title="\LaTeX Code" highlight="3-8"]\pagebreak

\begin{thebibliography}{}
\bibitem{RH}
Resnisk, R., Halliday, D.
\textit{Fundamentals of Physics}.
Wiley (2019)
\end{thebibliography}[/CODE]

1719032005080.png


I have tried to write the whole reference in the same line to no avail.

Thanks a lot.
 
Physics news on Phys.org
UPDATE : The problem has been solved. But the strangeness of ##\rm{\LaTeX}## doesn't cease to surprise.

I had a wrapped picture in the earlier page whose adjoining text was not enough. The picture frame went "below" the text. You would think the command ##\texttt{\newpage}## would start everything afresh, wouldn't you?

But no. Because of that picture on the earlier page, the reference on the next page was "cutting off" at the picture frame as I showed before.

The way out is to add more text beside the picture to have it "wrapped" entirely.

I copy and paste the two situations below.

(I) Picture left "hanging" due to insufficient text. Affecting text below.

1719033232403.png




(II) If enough text is provided to completely wrap the image, text later flows well.

1719033330556.png