[Tex/LaTex] Appendix does not have a proper title when using \appendix

appendiceschapterssectioning

When compiling the following, for the appendix title, I get the title of the last chapter. First, the preamble:

\documentclass[fontsize=12pt]{scrbook}
\usepackage{lipsum}
\usepackage{tabularx}
\usepackage{xcolor,fix-cm}

\usepackage{lmodern}
\usepackage[left=1.50cm,
 right=1.50cm,
 top=1.95cm,
 bottom=2.50cm]{geometry}

\usepackage{amssymb}
\usepackage{framed}
\usepackage{indentfirst}
\usepackage{changes}
\usepackage[pagestyles]{titlesec}

Then the main prayerbook file:

\input{preamble}

\begin{document}

\frontmatter
\include{toc}

\mainmatter
\include{chapter7}

\backmatter
\include{appendix7}
\end{document}

And now for a MWE of the chapters, and appenix7:

For Chapter 7:

\chapter{Mealtime Prayers}
\section*{Prayers before Breakfast}
All--holy Trinity: Have mercy on us. Lord: cleanse us from our sins.  Master: Pardon our transgressions. Holy One: Visit and heal our infirmities, for Thy Name's sake.\\

etc etc 

And for Appendix 7:

\appendix{Apolytikia and Kontakia from the Menaion}
\section*{The Month of September}

Upon compiling, the Appendix does not look like an Appendix, i.e. essentially has no title (as a 'chapter' title header) but rather has the title: "Apolytikia and Kontakia from the Menaion" left-justified and in the same font size as the main text. Thanks for any help you all can provide.

Best Answer

\appendix isn't a sectioning command it just changes the behaviour of \chapter so you want \appendix once then \chapter for each appendix.

\backmatter should come after all appendices. Different document classes have different ways of accomplishing it, but in essence, \backmatter causes the "chapter name" (Chapter or Appendix) and number to be omitted.

Related Question