I use the new environment SoftwareBreak, created at Creating independently-numbered Chapter-level structures.

Would you know how to make minitoc compatible with it ? One could tell minitoc to consider \begin{SoftwareBreak} as the beginning of a new chapter, but I don't know how to do that.

Thanks in advance.


A solution is to add

\addtocontents{toc}{\protect\contentsline {chapter}{\vskip -2.8em \@plus-\p@}{}{}}

to SoftwareBreak's definition. So it becomes

\addtocontents{toc}{\protect\contentsline {chapter}{\vskip -2.8em \@plus-\p@}{}{}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.