# How to correctly align bibitems

I am using the thebibliography environment. In addition I use custom labels, which are different in length. How do I align my bibitems correctly, so that all bib entries vertically start at the maximum width of the longest label? Pretty much I want the 'normal' biblatex behavior, but with the thebibliography environment. I can't use biblatex in this case.

• In the mandatory argument for thebibliography use a string having the same width as the widest label; for example, if your widest label is, say AZ908, then use \begin{thebibliography}{AZ908}... ...\end{thebibliography}. – Gonzalo Medina May 15 '14 at 3:56
• Awesome! I thought the description was often times somewhat confusing what that mandatory argument is. Some people said it's the number of resources. If you write an answer post I can accept it. – CluelessNewbie May 15 '14 at 7:21
• If one is not allowed to use bibtex (e.g. because of the rules of the journal) one could start constructing the bibliography with bibtex and then, at the end, copy the content of the generated *.bbl file into the document. In this way one avoids sorting and formatting by hand. – JF Meier May 15 '14 at 11:27
• @CluelessNewbie I added an answer below. – Gonzalo Medina May 15 '14 at 12:33

In the mandatory argument for thebibliography use a string having the same width as the widest label; for example, if your widest label is, say AZ908, then use
\begin{thebibliography}{AZ908}
`