BibTeX, biblatex and biber ⇒ citations out of alignment with main body text
citations out of alignment with main body text
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: citations out of alignment with main body text
Re: citations out of alignment with main body text
@unpublished{test,
author="author one and author two",
month="",
note="",
title="title of the citation",
year="2000"
}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
citations out of alignment with main body text
Your problem meanwhile is incomprehensible for me (see attachment).
Code: Select all
\begin{filecontents*}{\jobname.bib}
@unpublished{test,
author="author one and author two",
month="",
note="",
title="title of the citation",
year="2000"
}
\end{filecontents*}
\documentclass[12pt,a4paper]{book}
\usepackage[round]{natbib}
\begin{document}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, \citep{test}
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi
ut aliquip ex ea commodo consequat.
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}
- Attachments
-
- tmp.pdf
- The above code compiled with PDFLaTeX.
- (24.93 KiB) Downloaded 231 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: citations out of alignment with main body text
- Attachments
-
- alignmenterror.png (134.14 KiB) Viewed 3750 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
citations out of alignment with main body text
But this misbehaviour is not produced by the code you provided. So you better work out a minimal working example (MWE) that exactly reproduces the effect and makes it comprehensible to others [1]. Otherwise I'm pessimistic about specific help for your problem. In the picture it seems that the citation is some kind of link. But your example definitely does not show this.ther wrote:The alignment error can be seen in the image attached.
[1] View topic: Avoidable mistakes
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10