I want to label some of my sections listed in my contents page as 'Introductory'.

I thought I could achieve this by having a dotted box around these chapters in the contents page that marks them as introductory, though I am open to other suggestions.

Have you any suggestions as to how I can edit my contents page to accommodate this?




\renewcommand \theintrosection {\@arabic\c@section}
\@start@introsection {section}{1}{\z@}%
                     {-3.5ex \@plus -1ex \@minus -.2ex}%
                     {2.3ex \@plus.2ex}%



This solution provides a sectioning command \introsection that can be used as usual, but adds a framebox around its toc entry. Alternatively you can have the box only around the section number by using line 21 instead of 20.

If you are using the article class you can also use the above defined macros \intromatter and \mainmatter which are meant to be used like the similar and anologous ones of the book class:



enter image description here enter image description here


You can of course use another styling of frame by replacing \fbox with another macro that fulfills your needs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.