Make inline lists

The enumitem package has an inline option which implements inline versions of the standard lists using starred versions of the basic list environments. As with other enumitem lists, labels and (horizontal) spacing can be set with key values as well as custom settings for the elements between the list items (typically punctuation).

1
2
3
4
5
6
7
8
9
10
11
12
13
\documentclass{article}
\usepackage[inline]{enumitem}

\begin{document}

Text before list.
\begin{enumerate*}
\item My first in list.
\item My second in list.
\end{enumerate*}
Text after list.

\end{document}