BibTeX, biblatex and biber ⇒ Reference alignment
-
- Posts: 20
- Joined: Wed Dec 22, 2010 10:21 pm
Reference alignment
I'm facing a bug in reference alignment. Reference greater than number 9 are misaligned. Attached pdf document, tex file. Please help.
- Attachments
-
- sample.tex
- (4.44 KiB) Downloaded 602 times
-
- sample.pdf
- (83.74 KiB) Downloaded 965 times
Last edited by john_latex on Fri Dec 24, 2010 11:08 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Reference alignment
Not a bug. The argument for the thebibliography environment defines how much space should be reserved for the labels. If you have 1-9 references, put a 1 digit number there, if you have 10-99 references, put a 2 digit number there, etc.
That is, now you have
Replace this with e.g.
and the alignment will be correct.
That is, now you have
Code: Select all
\begin{thebibliography}{1}
Code: Select all
\begin{thebibliography}{99}
-
- Posts: 20
- Joined: Wed Dec 22, 2010 10:21 pm
Re: Reference alignment
Thanks torbjorn t. It worked. But, the numbers are left aligned. Can it be right aligned? Please suggest.
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Re: Reference alignment
Do you mean aligned so that the right bracket of the numbers are directly above one another? That is how it is by default for me. Anyway, I have no idea how to change the alignment of those numbers, so you would have to wait for someone else to reply.
Merry christmas!
Merry christmas!
-
- Posts: 20
- Joined: Wed Dec 22, 2010 10:21 pm
Re: Reference alignment
@torbjorn t. - I apologize for late replay.
Have a good year ahead. Happy New Year 2011!
Have a good year ahead. Happy New Year 2011!