I have to say i have no idea what is happening here, the "test" should be below section 2 and not section 2.1 plus the overlapping subsection 2.2.
If i write a shorter definition then it works fine.
Any idea ?
Thank you
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this community
\noindent
at the start of a section, does the issue go if you remove that? – David Carlisle Aug 22 '20 at 10:52test
after the section, so presumably your heading definitions are incorrect but you have not shown them. – David Carlisle Aug 22 '20 at 10:56