Hi there,
I am using the masters-doctoral-thesis template and find it really helpful. Though, I have three issues where I would like (but do not manage) to change the template.
In particular, I would like to
(1) Add one appendix after each chapter and display it as a separate item “Appendix” in the table of contents without numbering it (similar to how the bibliography is generally displayed in the TOC).
Will I have to call the appendix in the main file or in the chapter? If I call it in the chapter with \appendix \section{Appendix}, it figures like a general (and numbered) chapter in the TOC.
(2) If possible, I would like to add a bibliography for each chapter, which displays only those references that are used within that specific chapter. (I am using bibtex and wonder whether this is possible.)
I have tried calling the bibliography at the end of each chapter, which prints a bibliography where I like it. Unfortunately it always prints all references used throughout all of my chapters and not only those references cited in the respective chapter.
(3) Is there a way to change the part of the header that cites the Chapter title? My titles are quite long and I would prefer to get only a part of my chapter title printed in the header.
Any help is very much appreciated.
Thank you!
Theses, Books, Title pages ⇒ Appendix and Bibliography by Chapter & changing header
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Appendix and Bibliography by Chapter & changing header
1. Don't use
2 . This was just covered in another forum thread
You just have to change the def of the subheading to the following:
3.
This will also set the shorter version (in square brackets) into the table of contents. Why? Table of contents and the headers are for orientation, the whole title isn't that important there.
By the way, completely wrong subforum
\appendix
, better use \addsec{Appendix}
.2 . This was just covered in another forum thread
You just have to change the def of the subheading to the following:
Code: Select all
\defbibheading{subchap}[\bibname]{%
\addsec{#1}}
\chapter[Wombats]{Wombats are so cool, cuddly and cute}
This will also set the shorter version (in square brackets) into the table of contents. Why? Table of contents and the headers are for orientation, the whole title isn't that important there.
By the way, completely wrong subforum

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Appendix and Bibliography by Chapter & changing header
Hi Johannes,
Thanks a lot for the quick reply (and moving to the right subforum)
(1) and (3) work really well. Thanks for that
Point (2) unfortunately does not
This is in short what I do now, but it still prints twice the exact same bibliography for both chapters.
Thanks a lot for the quick reply (and moving to the right subforum)
(1) and (3) work really well. Thanks for that
Point (2) unfortunately does not
This is in short what I do now, but it still prints twice the exact same bibliography for both chapters.
Code: Select all
\documentclass[11pt,english,onehalfspacing, nolistspacing, headsepline,]{MastersDoctoralThesis}
\usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex}
\makeatletter % It seems I need these three lines otherwise my bibliography will not compile
\def\blx@maxline{77}
\makeatother
\addbibresource{references.bib}
\defbibheading{subchap}[\bibname]{%
\addsec{#1}}
\begin{document}
\include{Chapters/Introduction}
\printbibliography[heading=subchap]
\include{Chapters/Chapter1}
\printbibliography[heading=subchap]
\end{document}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Appendix and Bibliography by Chapter & changing header
Please look at the other thread again, there is an additional option while loading biblatex.
I haven't tested your example, no
The blx@maxline stuff was/is a bug in biblatex. It will go away (for sure) if you are using the
I haven't tested your example, no
\cite
s in it. Better to put the printbibliography
within the chapter file. Though it really shouldn't matter much.The blx@maxline stuff was/is a bug in biblatex. It will go away (for sure) if you are using the
biber
backend. You would need to reconfigure your editor to use biber, but it may be worth our while. http://tex.stackexchange.com/questions/ ... -citationsThe smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Appendix and Bibliography by Chapter & changing header
Using the additional option refsection=chapter does not work for some reason.
In the end I might need to use biber indeed - though I have problems to bring biber to life.
Thanks a lot for your help! That is very much appreciated.
In the end I might need to use biber indeed - though I have problems to bring biber to life.
Thanks a lot for your help! That is very much appreciated.