I am bound by a prescribed format in one of the documents we create. If it was up to me, I would use...
Attachment 3—Glossary
(as a heading 1), but the required format is...
Attachment 3
Glossary
In order for this to show up correctly in the TOC, I use the first format shown above, but right after Attachment 3 I use a line break, then after the em dash another line break.
In the end it looks like...
All of this I make heading 1 and it shows up in the TOC just fine. I also make the em dash white font so it doesn't actually show in the doc.
Again, bound by a certain format, can anybody think of a more reasonable way to do this?