BibTeX, biblatex and biberreferences misaligned

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
junjiezhang
Posts: 5
Joined: Mon Jul 13, 2020 4:47 pm

references misaligned

Post by junjiezhang »

Hi, My last few references were always misaligned with the previous ones, and I tried changing the name of the author of the last few references, if they started with an A, they could align with the previous ones, which was odd.
can someone help me ?? thanks !!
Attachments
latex referenence.PNG
latex referenence.PNG (144.38 KiB) Viewed 5375 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

references misaligned

Post by Stefan Kottwitz »

Welcome to the forum!

Can you post the content (or start) of the file mylit.bbl here, as code or as attachment?

Stefan
LaTeX.org admin
junjiezhang
Posts: 5
Joined: Mon Jul 13, 2020 4:47 pm

references misaligned

Post by junjiezhang »

Hi,
The attachment is mylit.bib, thanks for your quick reply.
Attachments
mylit.bib
(30.68 KiB) Downloaded 259 times
junjiezhang
Posts: 5
Joined: Mon Jul 13, 2020 4:47 pm

references misaligned

Post by junjiezhang »

Stefan Kottwitz wrote:Welcome to the forum!

Can you post the content (or start) of the file mylit.bbl here, as code or as attachment?

Stefan

Hi Stefan,

The attachment is mylit.bib, thanks for your quick reply.
Attachments
mylit.bib
(30.68 KiB) Downloaded 285 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

references misaligned

Post by Stefan Kottwitz »

Well, that's the .bib file and not the .bbl file. Can you send that?

Stefan
LaTeX.org admin
junjiezhang
Posts: 5
Joined: Mon Jul 13, 2020 4:47 pm

references misaligned

Post by junjiezhang »

Stefan Kottwitz wrote:Well, that's the .bib file and not the .bbl file. Can you send that?

Stefan
ah, sorry.
Attachments
output (1).bbl
(10.09 KiB) Downloaded 265 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

references misaligned

Post by Stefan Kottwitz »

In the .bbl file, I see two issues.

In line 69, there is an & symbol (ampersand) that is understood as alignment symbol in LaTeX:
Structural role extraction & mining in large graphs.
Write \& instead in your bibliography.

And, in line 269 there is an underscore _, that forces math mode since it's a math command (for a subscript):
\newblock {\em Nucleic Acids Research}, 33(suppl_1):D433--D437, 01 2005.
Write \_ for an underscore in text. That issue causes the misalignment.

Stefan
LaTeX.org admin
junjiezhang
Posts: 5
Joined: Mon Jul 13, 2020 4:47 pm

references misaligned

Post by junjiezhang »

Stefan Kottwitz wrote:In the .bbl file, I see two issues.

In line 69, there is an & symbol (ampersand) that is understood as alignment symbol in LaTeX:
Structural role extraction & mining in large graphs.
Write \& instead in your bibliography.

And, in line 269 there is an underscore _, that forces math mode since it's a math command (for a subscript):
\newblock {\em Nucleic Acids Research}, 33(suppl_1):D433--D437, 01 2005.
Write \_ for an underscore in text. That issue causes the misalignment.

Stefan
Thank you so much !!
Post Reply