GeneralNumbering references after chapter

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
marbocam
Posts: 38
Joined: Thu Dec 19, 2024 11:14 am

Numbering references after chapter

Post by marbocam »

I'm using this code to show the references of each chapter in my contents and after the chapter.


\cleardoublepage
\phantomsection
\addcontentsline{toc}{section}{References}
\printbibliography[heading=subbibliography,keyword=chap3]


Is there a way to number it so that it looks like a \subsection?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Re: Numbering references after chapter

Post by Stefan Kottwitz »

Like this?

Code: Select all

\addcontentsline{toc}{subsection}{References}
\defbibheading{subbibliography}[\refname]{\subsection*{#1}}
Stefan
LaTeX.org admin
marbocam
Posts: 38
Joined: Thu Dec 19, 2024 11:14 am

Re: Numbering references after chapter

Post by marbocam »

That didn't work for me... It only did the formatting, but not the numbering..
Post Reply