Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Is there a standard way to title a list of bullets?

Very often I feel the need to insert a headline into the itemize environment. I repeatedly wonder whether there is something like a (non-obligatory) caption-argument or a \caption command like in the figure environment or something similiar for the that environment (and for lists in general) too. I guess that I could create something in a headline look with the \textbf command, but that feels so inelegant.

So my questions:

  • if there is a more elegant way to insert a headline: How to do it?

  • if not: why? And does anyone who is stronger in LaTeX programming than me is willing to create one? I dream of something like that:

    \begin{Headline}{list/itemize etc}
      \item[1-n]
    \end{list/itemize}
    

but I guess you have better ideas.

The typeset result should look like this:

Directors

  • Hitchcock

  • Cameron

  • etc.

share|improve this question
    
Just define one yourself. If you don't need automatic numbering and cross reference, it's quite simple. Or you can use LaTeX's \subsubsection, \paragraph for this. –  Leo Liu Oct 14 '11 at 12:41
    
Take a look here. –  projetmbc Oct 14 '11 at 12:42
    
Oh, that's it. A duplicate question. You can vote to close this question. –  Leo Liu Oct 14 '11 at 12:49
    
@projetmbc Thanks for the link! I converted that answer with the link to the duplicate into a comment since it's not a real answer. –  Stefan Kottwitz Nov 3 '11 at 17:05
add comment

marked as duplicate by Leo Liu, Aditya, Torbjørn T., lockstep, Werner Oct 14 '11 at 18:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 2 down vote accepted

A simple implementation:

\documentclass{article}

\newenvironment{itemlist}[1]{%
  \begin{trivlist}
  \item \textbf{\large #1}
  \begin{itemize}
}{%
  \end{itemize}
  \end{trivlist}
}

\begin{document}

\begin{itemlist}{My list}
\item foo
\item bar
\end{itemlist}

\end{document}

There is nothing curious.

share|improve this answer
add comment

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