10
votes
1answer
209 views

\AtBeginChapter?

Are there any hooks that work like \AtBeginDocument for chapters, sections, etc.? Something like \AtBeginChapter? I would like to have the following code: \AtBeginChapter{% ...
5
votes
1answer
171 views

Is it possible to add hooks to the three main logical divisions in memoir?

I want to prepare a style based on memoir that executes code immediately before and after frontmatter, mainmatter, and backmatter (§6.1, pg.71). Without hooks, I have to insert the code in the Latex ...