# LaTeX-Beamer with Bibliography and Newblock

Tomorrow morning I will give a presentation on publish/subscribe (read the abstract and the invitation – you are welcome to drop in!). To prepare the presentation I used the LaTeX Beamer Class. The package is great, but the command \newblock which I use in the bibliography does not work and constantly produces the error http://latex-beamer.sourceforge.net/. This is due to the fact that the \newblock is not defined in the Beamer Class. The solution is to define it yourself by adding the following line of code after the \begin{document} command:
\def\newblock{\hskip .11em plus .33em minus .07em}

With this simple line everything is fine and the bibliography works.

## 18 thoughts on “LaTeX-Beamer with Bibliography and Newblock”

1. celine

Thanks!!!

celine

2. Sohini

Excellent post. How did you figure this out?!!!
Thanks a lot!!!
Sohini

3. Peter Larsen

You are genious. Don’t tell you figured that out the night before the presentation… have to send you some cryptonite then ðŸ˜‰
thanks mate

4. gloep

Aaaah thanks!
That saves a hellva lot of frustration…

5. Reuben Mathew

Yes. I just found this solution. However, it seems to work with just this before the \bibliography line. So…

\def\newblock{}
\bibliography{…

What do the bits in the curly brackets do for \def\newblock{}?

6. Edwin

This entry still saves the day. Thanks!

7. Vemi

After one hour of searching… Thank you very much!!!

8. Thank you very much!

9. Paul

You are genious. That saves my day!

10. Tof

Thank you!

11. Totally rad. Thanks for this!

12. thanks….genius!

13. peter

whoa. lifesaver. thanks ðŸ˜‰

14. Thijs

That did it. Thanks!

15. bluekitty

you are the best!!!!

16. visitor

Thank you so much for your help. It worked perfect!!

17. visitor

This line of code is still saving the day over 5 years later. Thank you!

18. Emile

Great! Thank you for such a specific and useful information.

This site uses Akismet to reduce spam. Learn how your comment data is processed.