### 11.1. `\chapter`

Although this command nominally requires an argument, the definition here seems to require zero arguments. However, it uses the `\secdef` command which looks for a “`*`” following the command name and then processes the argument.

nmtthesis2015.sty
```%
% - - -   \ c h a p t e r
%
\renewcommand{\chapter}%
{% Start a new chapter or appendix
```

There is no explicit command that starts the body section of the document, when the page numbering starts over with Arabic numeral 1. The Boolean switch `inbody` is used to control this event; see Section 8.4, “Page numbering”.

nmtthesis2015.sty
```  \clearpage
\ifthenelse{\boolean{inbody}}%
{}%  Not the first \chapter
{% First \chapter
\pagenumbering{arabic}%
\setboolean{inbody}{true}%
}% First \chapter
```

The rest of the processing is handled in Section 13.7, “`\internal@chapter`, including the call to the `\secdef` command.

nmtthesis2015.sty
```  \internal@chapter
}% End \chapter
```