Hi Nasser, The main issue was that tex4ht puts no space after the > local TOC and the main text of the section, which makes the > page look little ugly. > > I wanted a way to increase the vertical space between the TOC and main > text a little. All other things I tried was making the vertical > space too large. >
The correct solution is to use CSS: \Preamble{xhtml} \Css{.sectionTOCS{margin-bottom:2rem;}} \begin{document} \EndPreamble Adjust the value of the margin to your desired size. Best regards, Michal