I am writing a book, and dividing the book's chapters into separate .tex files. I would like to do the same for my appendices, but when I try to do so I get an error message. First, here is my preamble file:




And now, here is the 'main' file: prayerbook:






When I omit the commands \frontmatter, \mainmatter, etc; I do not get the error message which is the following:

Undefined control sequence

at the line with the command.


The scrreprt class (like the report class) does not feature \frontmatter, \mainmatter, and \backmatter. If you want to use these commands (be aware that they tinker with page and chapter numbering!), switch to the scrbook (or book) class. To mimic scrreprt/report's headers and page breaking, add the oneside and openany class options.

  • How do I get the appendices to have their own titles? I.e., at the moment, the current appendix has the 'title' of the last chapter still there... – Michael Dykes Jul 18 '13 at 11:08
  • @MichaelDykes Please ask a new question and add a minimal working example (MWE) that illustrates your problem. – lockstep Jul 18 '13 at 11:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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