I need to typeset a list like the following:
item 1
item 2
item 3
4-6. The same as previous ones
- Something else
Currently, I have typeset it using description environment as
\documentclass{article}
\begin{document}
\begin{description}
\item[1.] item 1
\item[2.] item 2
\item[3.] item 3
\item[4-6.] The same as previous ones
\item[7.] Something else
\end{description}
\end{document}
However, I wonder if this is possible using enumerate or something else which does the numbering itself. Is it possible to create this list using enumerate?
In other words, can we do some thing like this to get the desired output
\documentclass{article}
\begin{document}
\begin{enumerate}
\item item 1
\item item 2
\item item 3
\item[4-6.] The same as previous ones
\item Something else
\end{enumerate}
\end{document}
or even using something like \item[len=3] The same as previous ones where by len, I mean the number of enumerative items after the current one.



\documentclass{...}and ending with\end{document}. – Feb 15 '15 at 12:34\begin{enumerate} \item ...\end{enumerate}does not work ? Or should\item[4.-6.]automatically expand\item ...? – Feb 15 '15 at 12:36enumerateor not? I have googled for an hour, but could not find it out, so decided to post it here. – Ali Shakiba Feb 15 '15 at 12:38\item[4.-6.]should expand to4. item 4 etc.Or\item[1.-6.]should do the tedious typing? Essentially a loop? – Feb 15 '15 at 12:43enumeratealthough I am fulfilled with thedescriptionenvironment is the following situation. Consider I need to add a new item between items 2 and 3, then I should correct all the numbering down to the end! :( It is not a good idea, I think. – Ali Shakiba Feb 15 '15 at 12:52forloop. Thanks. However, the desired one is the one which combines items4-6, giving the label4-6.to that item and the next item starts at7. Unfortunately, you have deleted it. – Ali Shakiba Feb 15 '15 at 12:56\addtocounter{enumi}{3}just after\item[4-6.] The same as previous ones– karlkoeller Feb 15 '15 at 12:59