I want to implement both inline and vertical enumeration in my document. I know that inline enumeration can be achieved using inline option of enumitem package.
In addition, I found this question (second answer)in which a custom inline list environment is defined.
However, I do not fully understand how to define my own list environment in which the items are presented horizontally, without affecting the vertical behavior of the enumerate environment.
Let's say that I have:
\documentclass{article}
\usepackage[inline]{enumerate}
\begin{document}
\begin{enumerate}
\item Items will be presented vertically
\end{enumerate}
\begin{enumerate}[inline,label=(\roman*)]
\item Items will be presented horizontially
\end{enumerate}
\end{document}

enumitem, also withenumiteminline listed are labeled with a *, please see the manual – daleif Feb 23 '16 at 15:16