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

In summary, the issue of a LaTeX bibliography not appearing in one line is often caused by long entries that exceed the text width or improper formatting. Solutions include adjusting the bibliography style, using shorter reference keys, or customizing the layout settings. Additionally, using packages like `natbib` or `biblatex` can help manage the formatting and line breaks more effectively, ensuring that the bibliography displays correctly.
  • #1
brotherbobby
702
163
TL;DR Summary
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.
\LaTeX Code:
\pagebreak

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

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
  • #2
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
 

Similar threads

Replies
7
Views
29K
Replies
3
Views
3K
Replies
11
Views
5K
Replies
8
Views
11K
Replies
2
Views
3K
Replies
4
Views
5K
Replies
7
Views
3K
Replies
3
Views
3K
Replies
3
Views
936
Back
Top