Site icon texblog

Inline lists in LaTeX using paralist

The paralist package implements the three standard lists: itemize, enumerate and description for usage within paragraphs. In other words, the package provides a way to create inline lists placed within normal text.

Besides the inline environments for the standard lists, the package also provides support to format the labels (bullets, numbering, etc.). However, for labeling and formatting of lists in general, I recommend the more powerful enumitem package. Please, see the paralist package documentation for more details on the functionality provided by the package.

The code for inline lists is straight forward and resamples the way standard lists are created. Therefore, I only posted one minimal working example for each environment below, without further explanations.

For more details on the standard list environments see this post and sample code here.

 

Inline enumerate (inparaenum)

\documentclass[11pt]{article}
\usepackage{paralist}
\begin{document}
This includes:
\begin{inparaenum}[1)]
\item first task,
\item second task and
\item third task
\end{inparaenum}
to be completed by the end of the month.
\end{document}

 

Inline itemize (inparaitem)

\documentclass[11pt]{article}
\usepackage{paralist}
\begin{document}
This includes:
\begin{inparaitem}
\item first task,
\item second task and
\item third task
\end{inparaitem}
to be completed by the end of the month.
\end{document}

 

Inline description (inparadesc)

\documentclass[11pt]{article}
\usepackage{paralist}
\begin{document}
This includes:
\begin{inparadesc}
\item[Task] first task,
\item[Task] second task and
\item[Task] third task
\end{inparadesc}
to be completed by the end of the month.
\end{document}

According to the author, the last environment was added for completeness rather than usefulness.

Exit mobile version