Hi all !
I've got a quite long bibliography and I would like to add a capital letter before each alphabetical group (I use natbib package with apalike style).
I know how to do it for an index :
But I don't know how to do it for bibliography, or even if it's possible or not.
Does anyone have an idea ?
Thanks a lot !
BibTeX, biblatex and biber ⇒ Capital Letter for each alphabetical Group in Bibliography
Capital Letter for each alphabetical Group in Bibliography
Last edited by localghost on Thu Aug 04, 2011 5:41 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Capital Letter for each alphabetical Group in Bibliography
You'd have to edit the .bst file to make it do that. If you're asking the question, it's unlikely you're going to want to do that (BAFFL makes Perl look like a beautiful language that you'd actually want to use!). The easiest way is to produce the bibliography, then edit the .bbl file and add your headings manually...MrGLoOP wrote:Hi all !
I've got a quite long bibliography and I would like to add a capital letter before each alphabetical group (I use natbib package with apalike style).
I know how to do it for an index : But I don't know how to do it for bibliography, or even if it's possible or not.
Does anyone have an idea ?
Thanks a lot !
Capital Letter for each alphabetical Group in Bibliography
Thanks !
I was searching for a new style or option but I didn't think about a manual solution !
So for those who are interested in, this is what I've done: in my *.bbl file, I've inserted a fake reference before each new alphabetical group.
It seems that it's the minimal information requested by natbib to generate these fake entries. The \newblock + new line is not necesseary but looks better for me.
Of course, this have to be done when you're sure to have all your references inserted because each time you'll run bibtex you will loose this tweak.
But even if it's not the cleanest solution this way works for me and the final result is OK.
I was searching for a new style or option but I didn't think about a manual solution !
So for those who are interested in, this is what I've done: in my *.bbl file, I've inserted a fake reference before each new alphabetical group.
Code: Select all
\bibitem[A, 2011]{A}
\newblock
{\Huge A}
...
\bibitem[B, 2011]{B}
\newblock
{\Huge B}
Of course, this have to be done when you're sure to have all your references inserted because each time you'll run bibtex you will loose this tweak.
But even if it's not the cleanest solution this way works for me and the final result is OK.