# [texhax] chapter command

Enrico Ghiorzi enrico.ghiorzi at gmail.com
Fri Mar 3 01:30:40 CET 2017

```Elaborating on David’s reply, inbetween the end of the last chapter and the beginning of the appendix is the right place to use the \backmatter command:

\chapter{last chap title}
zzzz

\backmatter

\appendix
\chapter{first appendix title}
zzzz

This post has extensive details on the topic: <http://tex.stackexchange.com/questions/20538/what-is-the-right-order-when-using-frontmatter-tableofcontents-mainmatter <http://tex.stackexchange.com/questions/20538/what-is-the-right-order-when-using-frontmatter-tableofcontents-mainmatter>>

Best,
Enrico

> On 2 Mar 2017, at 21:41, David Carlisle <d.p.carlisle at gmail.com> wrote:
>
> On 2 March 2017 at 17:34, Inge Svein Helland <ingeh at math.uio.no> wrote:
>> I am writing a book, and I'm using the \chapter command. My question is: How
>> do I end the last chapter, before the Appendix?
>>
>>
>> Thank you for any help.
>>
>>
>> Inge Helland
>>
>
> not all classes do it the same way but in book you can just use
>
> \chapter{last chap title}
> zzzz
>
> \appendix
> \chapter{first appendix title}
> zzzz
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/