I'm using enumitem
package, and I often, in my code, have to input parameters as follows:
\begin{enumerate}[topsep=0.1cm, itemsep=0cm, parsep=0cm, label=(\roman*)]
\item
\end{enumerate}
I tried to quicken this by defining the command:
\newcommand{\EnumParams}{topsep=0.1cm, itemsep=0cm, parsep=0cm, label=(\roman*)}
However, when I run the following, error is shown.
\begin{enumerate}[\EnumParams]
\item
\end{enumerate}
Can you tell why this crahes? And what might be a solution?
I also tried defining:
\newcommand{\EnumParams}{\ItemSep, \ParSep, \TopSep, \Label}
\newcommand{\ItemSep}{itemsep=0cm}
\newcommand{\ParSep}{parsep=0cm}
\newcommand{\TopSep}{topsep=0.1cm}
\newcommand{\Label}{label=(\roman*)}
But this also shows error.