Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I thought it'll be kind of an easy task to add the bibliography to the appendix. However, after spending hours on it trying different solutions even some suggestions from this forum here I kinda of gave up and post my code here to ask for help. The problem with the code I use is that the bibliography is put on a separate page under Bibliography and not under B References... Here is my code snippet:

\documentclass[10pt,DIV=12,a4paper,numbers=noenddot]{scrreprt}

\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{appendix}

\addto\captionsenglish{\renewcommand{\bibname}{References}}

\begin{document}

\tableofcontents %% Adds table of content

\chapter{Chapter 1}

\chapter{Chapter 2}


\begin{appendices}

\chapter{Supplementary Information}

    \section{Tables}

    \section{Figures}

\chapter{References}

    \bibliography{Document/Bibliography/bibliography}{}

        \bibliographystyle{abbrv}

\end{appendices}

\end{document}
share|improve this question

1 Answer 1

You can use a redefinition of \bib@heading to use \chapter instead of \chapter* (now there's no need to use a separate \chapter{References}, and the bibliography will go to the ToC). To add the word "Appendix" before each ToC entry for an appendix, you can use the titletoc package option for appendix:

\documentclass[10pt,DIV=12,a4paper,numbers=noenddot]{scrreprt}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[titletoc]{appendix}

\addto\captionsenglish{\renewcommand{\bibname}{References}}
\makeatletter
\renewcommand*\bib@heading{%
  \chapter{\bibname}%
  \@mkboth{\MakeMarkcase{\bibname}}{\MakeMarkcase{\bibname}}}%
\makeatother

\begin{document}

\tableofcontents %% Adds table of content

\chapter{Chapter 1}
\chapter{Chapter 2}

\begin{appendices}
\chapter{Supplementary Information}
\section{Tables}
\section{Figures}
\bibliographystyle{abbrv}
\bibliography{biblio}
\end{appendices}

\end{document}

Here's an image of the resulting ToC:

enter image description here

share|improve this answer
    
Ah that is great. thanks a lot so far. Is it also somehow possible to get back the word Appendix in the table of contents? So that it is: Appendix A Supplementary Information and Appendix B References?? –  Josh May 18 '12 at 14:32
    
@Josh sure; please see my updated answer. On a side note, I noticed that you haven't accepted any of the answers to your questions; please accept this one and review your other questions accepting those answers you consider to be the best ones. In case of doubt, please see How do you accept an answer?. –  Gonzalo Medina May 18 '12 at 22:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.