how to have the bibliography being included as a subsubsection or subsection?

1,961 views
Skip to first unread message

christian_yale

unread,
Feb 10, 2010, 2:36:42 PM2/10/10
to LaTeX Users Group
hi there,
\bibliography{mybibFile}, puts the bibliography being cited in a
document, and include them as a section, normally called "references",
or literature cited if I defined \renewcommand{\refname}{Literature
cited}

my question, is how can I add the bibliography but not as a section,
but as a subsection or subsubsection?, or better, without any name of
section at all [but not just declaring empty the name because that
would mess up the table of contents, and headers, etc].

what i want is to have a bibliography by specific sections, which i am
able to do, as follows

%%%%Main File%%%%%%
\usepackage[sectionbib]{chapterbib}
\begin{document}
\include{Chapter1}
\include{Chapter2}
\end{document}

%%%Example Chapter1%%%%
\chapter{This is the chapter 1}
hola amigos

\addcontentsline{toc}{section}{Bibliography} %Bibliography to toc
\bibliography{mybibFile} %adding the bibliography

%%%Howto Compile:%%%%%%%
latex Main.tex (this will show warning, don't panic >.<)
bibtex Chapter1
bibtex Chapter2
latex Main.tex (2 times)


BUT the problem is that the bibliography appears as a section, that is
in the same hierarchy level than the main section, and i do not want
that, i want it as a subsection, or as a subsubsection


can you guys help me, please?

christian_yale

unread,
Feb 10, 2010, 3:43:30 PM2/10/10
to LaTeX Users Group
I have been tryng to figure out the answer to this problem for a
while, but today I found it!!!

the answer is explained here http://www.flakery.org/search/show/568

and I just need to define

\renewcommand{\bibsection}{\subsection*{References}}

or
\renewcommand{\bibsection}{\subsubsection*{References}}

it is important to point out, that if \bibsection is defined, I need
to call the package 'chapterbib' as follows not including the option
'sectionbib':
\usepackage{chapterbib}

and not as is bellow

\usepackage[sectionbib]{chapterbib}


that is all!!!

Carlos Anderson

unread,
Jun 12, 2013, 10:16:24 PM6/12/13
to latexus...@googlegroups.com, csel...@gmail.com
Thank you for providing the answer!

Reply all
Reply to author
Forward
0 new messages