Using the basic bibliography environment, when I have

Beeblbrox, Zaphod, Galactic University Press
etc. etc.`

For some reason it prints the key in the document. So in the final document bibliography I end up with

key01 Galactic University Press etc. etc.

How can I prevent that key01 from ending up in the final document? I believe I'm following the instructions for the bibliography and cite usage on the Latex wiki to a t.

Also I'm ending up with a "[?]" where the citation is supposed to be. It's not working how it the latex wiki seems to say it should work for some reason.


Without a minimal example one can only guess, but the thebibliography environment needs a mandatory argument that determines the width of the widest label.



Some text \cite{key01}.

\begin{thebibliography}{9}% 2nd arg is the width of the widest label.
Beeblebrox, Zaphod, Galactic University Press
etc. etc.`


BTW, you misspelled "Beeblebrox". ;-)


From a study of your code snippet, it appears you may have inadvertently left off the mandatory argument of the \begin{thebibliography}{xx}, where xx is the width of the widest label. E.g., if you have up to 9 references, you should specify 9; if you have up to 99 references, you should specify 99, etc.

About the [?] in the body of your text: I assume it was generated with a command such as \cite{key01}, or something similar. My advice would be to make sure to run LaTeX twice on the document each time you change (or add and/or delete) any citations.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.