4

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?

3
  • 1
    Sorry I don't quite understand what you want. Can you provide an example. Perhaps it would be more clear of what you're looking for. Commented Oct 22, 2016 at 9:54
  • You can make two separate lists with text in between. When starting the second enumerate set the starting value according to tex.stackexchange.com/questions/142.
    – StefanH
    Commented Oct 22, 2016 at 10:03
  • 1
    \item[] some text here?....
    – cmhughes
    Commented Oct 22, 2016 at 10:09

3 Answers 3

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

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}
2
  • Isn't mdwlist incompatible with several other packages? There is one of these older packages that has some issues.
    – daleif
    Commented Oct 22, 2016 at 11:24
  • 1
    Till to now I didn't observe any problems with it. I liked it because to my opinion has more logical syntax.
    – Zarko
    Commented Oct 22, 2016 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}

enter image description here

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