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.

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'd like to get a list that looks like this:

1. Text addressing #1.

2,3. Text addressing #2 and #3 together.

4. Text addressing #4.

The motivation is that the list items are referring to a previous list. Any idea on how to do this easily with enumerate? (Or some other way to do it that looks consistent with the enumerate environment, i.e. if I had an enumerate list right above it, the two would seem to be formatted identically except the 2,3 part..)

share|improve this question
I found this interesting, and I was searching for a solution for three numbers actually. Piggybacking on egreg's answer, I came up with \newcommand{\tripleitem}{% \begingroup \stepcounter{enumi}% \edef\tmp{\theenumi, }% \stepcounter{enumi} \edef\tmpt{\theenumi, } \stepcounter{enumi} \edef\tmp{\endgroup\noexpand\item[\tmp\tmpt\labelenumi]}% \tmp} for three numbers. Perhaps someone who knows more about the language would know how to generalize it for an arbitrary number of grouped items? – Kevin Mantel Sep 3 '15 at 7:14
up vote 2 down vote accepted

If you don't need greater generality, this might work:

  \edef\tmp{\theenumi, }%

\item A
\item B
\item C
\item D
\item about A
\doubleitem about B and C
\item D

enter image description here

share|improve this answer
That looks great, thanks very much! – thelookingglass Apr 14 '13 at 3:28

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.