I currently have an automatic table of contents generated for a report I have written. All of the headings in the report are formatted correctly and all indent as expected on the TOC.
However, the Header 1 styled entries in the TOC extend past the right margin. The effect I have is:
1.0 Introduction (Heading 1).............2
1.1 Next (Header 2)..............4
1.1.1 Next (Header 2)......5
1.1.2 Final (Header 2).....6
2.0 Introduction (Heading 1).............7
2.1 Next (Header 2)..............8
2.1.1 Next (Header 2)......8
2.1.2 Final (Header 2).....9
I have checked everything, yet I can't seem to find the issue. The heading 1 style actually goes over the defined word margin where as all the other headings fit fine as shown above.