Next / Previous / Contents / NM Tech homepage

12.3. The chapterappendices environment

Per-chapter appendices.

nmtthesis2015.sty
%
% - - -   \ c h a p t e r a p p e n d i c e s
%
\newenvironment{chapterappendices}%
{% chapterappendices prologue

The section counter is reset to zero, and the section numbering style is changed to uppercase letters. The epilogue changes section numbering back to Arabic, in case there are any more sections.

nmtthesis2015.sty
  \par
  \setcounter{section}{0}
  \renewcommand{\thesection}%
  {%
    \thechapter.\Alph{section}%
  }% End \thesection
}% chapterappendices prologue
{% chapterappendices epilogue
  \setcounter{section}{0}
  \renewcommand{\thesection}{\thechapter.\arabic{section}}%
}% chapterappendices epilogue