Document ClassesBibliography in Beamer LaTeX

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
User avatar
renno
Posts: 54
Joined: Thu Jun 07, 2007 7:16 pm

Bibliography in Beamer LaTeX

Post by renno »

Hi all,

I wanted to include a list of publications at the end of my presentation. The problem is that the "bibliography entry title" and "bibliography title journal" are starting at a new paragraph. How would I get the whole "bibitem" to appear on the same running line.

I tried to find the "\newblock" command to try to modify it but without luck. Actually, is the new paragraph due to the "\newblock" command or to the "bibliography entry title" and "bibliography entry journal" templates?

Your help is greatly appreciated.
If there is no way, we will make one...
Hanibal

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Bibliography in Beamer LaTeX

Post by Juanjo »

The definition of the thebibliography environment and \newblock command is given in beamerbaselocalstructure.sty. Here one sees that \newblock is defined as \beamer@newblock, which, in turn, is defined in terms of several beamer templates, specially bibliography entry article, bibliography entry title, bibliography entry location and bibliography entry note. These templates are set by the inner theme loaded. I've checked that, for these matters, all of them rely on the default one (see beamerinnerthemedefault.sty). The bibliography entry templates are defined as follows:

Code: Select all

Code, edit and compile here:
\defbeamertemplate*{bibliography entry article}{default}{}
\defbeamertemplate*{bibliography entry title}{default}{\par}
\defbeamertemplate*{bibliography entry location}{default}{\par}
\defbeamertemplate*{bibliography entry note}{default}{\par}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The \par command causes the line breaks you see in the bibliography. So, it suffices to redefine these templates. Write this in the preamble:

Code: Select all

Code, edit and compile here:
\setbeamertemplate{bibliography entry title}{}
\setbeamertemplate{bibliography entry location}{}
\setbeamertemplate{bibliography entry note}{}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
That's all.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
User avatar
renno
Posts: 54
Joined: Thu Jun 07, 2007 7:16 pm

Re: Bibliobraphy in Beamer LaTeX

Post by renno »

Dear Juanjo,

Thank you very much. This is great and saves some space too.

Take care.
If there is no way, we will make one...
Hanibal
Adrien
Posts: 5
Joined: Wed Jun 23, 2010 8:59 pm

Bibliography in Beamer LaTeX

Post by Adrien »

Hi Juanjo,

I'm pursue on the subject:
I would like to delete the "bibliography entry title", I think it is put in
"./beamerbaselocalstructure.sty" but I don't find an easy way.

Do you have a solution ?
Thanks,
Adrien
Juanjo wrote:The definition of the thebibliography environment and \newblock command is given in beamerbaselocalstructure.sty. Here one sees that \newblock is defined as \beamer@newblock, which, in turn, is defined in terms of several beamer templates, specially bibliography entry article, bibliography entry title, bibliography entry location and bibliography entry note. These templates are set by the inner theme loaded. I've checked that, for these matters, all of them rely on the default one (see beamerinnerthemedefault.sty). The bibliography entry templates are defined as follows:

Code: Select all

Code, edit and compile here:
\defbeamertemplate*{bibliography entry article}{default}{}
\defbeamertemplate*{bibliography entry title}{default}{\par}
\defbeamertemplate*{bibliography entry location}{default}{\par}
\defbeamertemplate*{bibliography entry note}{default}{\par}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The \par command causes the line breaks you see in the bibliography. So, it suffices to redefine these templates. Write this in the preamble:

Code: Select all

Code, edit and compile here:
\setbeamertemplate{bibliography entry title}{}
\setbeamertemplate{bibliography entry location}{}
\setbeamertemplate{bibliography entry note}{}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
That's all.
Adrien
Posts: 5
Joined: Wed Jun 23, 2010 8:59 pm

Re: Bibliography in Beamer LaTeX

Post by Adrien »

I find a solution.

To delete the title, you need to modify the .bst file and delete the creation of the title in the .bbl file.

Hope it would be useful,
Adrien
Post Reply