How do I put text in the 'enumerate' list by the inserted text can not be numbered, and that the bulleted list is not interrupted?
Asked
Active
Viewed 2,855 times
4
3 Answers
5
The enumitem package defines a resumeoption, with this syntax:
\usepackage{enumitem}
…
\begin{document}
\item
\item
…
\end{enumerate}
Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text.
\begin{enumerate}[resume]
\item
…
\end{enumerate}
The resume* option uses the options of the previous enumerate environment
Bernard
- 271,350
3
This enables more packages for list. One of them is mdwlist which use the following syntax:
\begin{enumerate}
\item text
\item text
\suspend{enumerate}
some texts between enumerating
\resume{enumerate}
\item text
\item text
\item text
\end{enumerate}
of course, in preamble of your document you should add
\usepackage{mdwlist}
Zarko
- 296,517
-
Isn't mdwlist incompatible with several other packages? There is one of these older packages that has some issues. – daleif Oct 22 '16 at 11:24
-
1Till to now I didn't observe any problems with it. I liked it because to my opinion has more logical syntax. – Zarko Oct 22 '16 at 11:27
2
You can use the counter enumi that is used to number the bullets. By setting \setcounter{enumi}{2} the next bullet will have number 3, since it is increased before display. To get an automated system you can define your own counter where you save the value between two occurances of enumerate.
\documentclass{article}
\usepackage{lipsum}
\newcounter{TMPenumnbr}
\begin{document}
\begin{enumerate}
\item First bullet
\item Second bullet
\setcounter{TMPenumnbr}{\value{enumi}}
\end{enumerate}
\lipsum[2]
\begin{enumerate}
\setcounter{enumi}{\value{TMPenumnbr}}
\item Third bullet
\item Fourth bullet
\end{enumerate}
\end{document}
StefanH
- 13,823

\item[] some text here?.... – cmhughes Oct 22 '16 at 10:09