0

Consider the following code:

\documentclass{scrbook}

\begin{document}

\frontmatter \tableofcontents

\mainmatter

\chapter{Introduction}

\part{A} \chapter{First} \chapter{Second} \chapter{Third}

\part{B} \chapter{First} \chapter{Second} \chapter{Third}

\appendix

\chapter{Appendix}

\end{document}

As expected, there is a lot of space between Introduction and Part I, as Introduction does not belong to Part I.

However, there is little space between Part II and the Appendix, even though Appendix does not belong to Part II.

Is it possible to make the space between Part II and Appendix as large as the space between Introduction and Part I?

I know I can do this manually Space between conclusion and appendices in ToC, but I need to guess the correct spacing.

enter image description here

Pygmalion
  • 6,387
  • 4
  • 34
  • 68

1 Answers1

1

Instead of an appendix chapter use a appendix part. I added blindtext, because I got (in other examples) strange results with lists of chapters. However:

\documentclass{scrbook}

\usepackage{blindtext}

\begin{document}

\frontmatter \tableofcontents

\mainmatter

\chapter{Introduction} \blindtext{} \part{A} \chapter{First} \blindtext{} \chapter{Second} \blindtext{} \chapter{Third} \blindtext{}

\part{B} \chapter{First} \blindtext{} \chapter{Second} \blindtext{} \chapter{Third} \blindtext{}

\appendix

\part{\appendixname} % \chapter{Appendix}

\blindtext{}

\blindtext{} \end{document}

pic of toc

Keks Dose
  • 30,892
  • I do not want Appendix part. This is just a sample problem, I have actually several chapters after Part II. – Pygmalion Feb 11 '24 at 21:30
  • 1
    @Pygmalion Readers can't come and ask you about the reasons for an inconsistent structure in your book. If you use parts, every chapter has to belong to a part. But this isn't an issue of LaTex. – Keks Dose Feb 13 '24 at 12:38
  • IMHO, frontmatter and appendices are common to all parts, so should not be contained by a particular part. I doubt this structure breaks some rule book styling rule, but if it does, I am prepared to change it and turn frontmatter and appendices into parts. – Pygmalion Feb 13 '24 at 13:00