Dear all,
I created my own bibliography style with "latex makebst", but I still want to "compress" it, to save some space.
Basically, I don't want the blank row between one entry and the following: do you have any idea how to do so?
Thank you.
Cheers, Mattia.
General ⇒ how to modify the entries of the bibliography
NEW: TikZ book now 40% off at Amazon.com for a short time.

how to modify the entries of the bibliography
I don't know if the fact that having defined your own style has varied the usual space between items in the bibliography. Anyway, the bibliography is typeset thanks to the thebibliography environment, as you can see in the bbl file. This environment is essentially a list, similar to enumerate, which is opened by the internal command \thebibliography and closed by \endthebibliography. A trick could consist in changing \thebibliography to delete the extra space added between entries in a list:
Put this code in the preamble and try it.
Code: Select all
\makeatletter
\let\thebibliographyOLD\thebibliography
\renewcommand{\thebibliography}[1]{\thebibliographyOLD{#1}\setlength{\itemsep}{0pt}}
\makeatother
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: how to modify the entries of the bibliography
Hi Juanjo,
good trick!
I just want to note that \makeatletter and \makeatother are unnecessary in this case.
Stefan
good trick!
I just want to note that \makeatletter and \makeatother are unnecessary in this case.
Stefan
LaTeX.org admin
Re: how to modify the entries of the bibliography
It worked, thank you very much!
Cheers,
MAttia.
Cheers,
MAttia.