TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 6 down vote accepted



\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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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