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

  • Context: LaTeX 
  • Thread starter Thread starter brotherbobby
  • Start date Start date
  • Tags Tags
    Bibliography Latex
Click For Summary
SUMMARY

The issue of bibliography entries in LaTeX not appearing on a single line was resolved by addressing the layout of surrounding content. Specifically, a wrapped picture on the previous page was causing the bibliography to be cut off. The solution involved adding sufficient text beside the image to ensure proper wrapping, allowing the bibliography to display correctly. This highlights the importance of content layout in LaTeX document preparation.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of text wrapping and layout management in LaTeX
  • Knowledge of the \texttt{\newpage} command functionality
  • Experience with managing figures and tables in LaTeX
NEXT STEPS
  • Explore LaTeX figure placement options and the \texttt{wrapfig} package
  • Learn about LaTeX page layout and spacing adjustments
  • Investigate best practices for managing bibliographies in LaTeX
  • Study the impact of text flow on document formatting in LaTeX
USEFUL FOR

LaTeX users, document authors, and researchers looking to improve their typesetting skills and manage complex layouts effectively.

brotherbobby
Messages
756
Reaction score
170
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
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
31K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 8 ·
Replies
8
Views
12K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K