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'm using the standard book class. If I write

\documentclass{book}

\begin{document}

\frontmatter
\tableofcontents

\mainmatter
\chapter{foo}
\section{Donald}

\backmatter
\chapter{bar}
\section{Mickey}

\end{document}

I expect to have chapter bar numbered as appendix A and section Mickey as A.1. Instead chapter bar is not numbered and section Mickey is 1.2, following section Donald. If I insert the appendix command to obtain

\documentclass{book}

\begin{document}

\frontmatter
\tableofcontents

\mainmatter
\chapter{foo}
\section{Donald}

\backmatter
\appendix
\chapter{bar}
\section{Mickey}

\end{document}

then chapter bar is unnumbered and section Mickey is numbered as .1.

What am I doing wrong?

share|improve this question
add comment

2 Answers 2

up vote 20 down vote accepted

Simply remove the \backmatter in your second version. The \backmatter should only be the bibliography and index (and similar things) at the end, which are not numbered.

share|improve this answer
add comment

Try putting \backmatter after your appendices?

share|improve this answer
add comment

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.