[Tex/LaTex] Items in a list on the same line

#enumerateitemize

enter image description here

How to put item b on the same line as a? I tried using the command {tabular} [t] {l l c} but the b ends up disappearing.

enter image description here

Best Answer

Here is an example on how to use the inline option of enumerate or the tasks package:

\documentclass{article}
\usepackage[inline]{enumitem}
\usepackage{tasks}

\begin{document}

\begin{enumerate*}[label=(\alph*)]
\item first item
\item second item
\end{enumerate*}

\begin{tasks}(2)
\task first item
\task second item
\end{tasks}
\end{document}
Related Question