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

  • 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?
    – kmantel
    Commented Sep 3, 2015 at 7:14

1 Answer 1


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


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .