I need to create some kind of title style that must not appear into the TOC and must looks like this, maybe more close to the paragraph.

enter image description here

I try this,


but sometimes looks perfect and sometimes appears over the text.

  • Have you looked at the titlesec package? – cmhughes Jan 20 '12 at 4:24
  • With a class from KOMA Script you could simply use the \minisec command. – Thorsten Donig Jan 20 '12 at 9:04

You could use the starred versions of the sectional unit commands (\chapter*, \section*, and so on). These commands insert the title in the same style as their non-starred equivalent, but they leave out the number and don't appear in the table of contents.

Since the starred versions don't insert the titles in the table of contents, they also don't take an optional argument. The normal (non-starred) versions of the sectional unit commands do take an option, which they insert into the table of contents instead of the regular (mandatory) argument.

\chapter*{Nested Lists}

{\LaTeX} will happily, \ldots.

Chapter Title: Nested Lists http://csweb.ucc.ie/~dongen/TeX-SX/11--12/nested-list.png

        {My Amazingly Amusing Adventures in

Short Chapter Title: Wales http://csweb.ucc.ie/~dongen/TeX-SX/11--12/wales.png


Creating your own style is not that difficult. The following minimal example provides \littt{<stuff>} that typesets <stuff> in \large\bfseries and adds a vertical \bigskip between the "title" and the "body". It also prepares the following paragraph to have \noindent:

enter image description here

  \noindent{\large\bfseries #1}\par\nobreak%
\littt{Nested Lists}
LaTeX will happily \ldots

The addition of \nobreak discourages page breaks between the "title" and "body". Moreover, since this does not use sectional commands, it won't make its way into the ToC. Reducing the space is also possible by choosing a different value to \kern (for example, \medskipamount or \smallskipamount, or any TeX length for that matter.

Of course, more modifications are also possible (like specifying local changes via an optional argument, for example).

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.