The formatting of TOC entries is determined by the TOC styles (TOC 1, TOC 2, etc.), which means that as long as your custom heading styles are correctly formatted there should be no problem.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|