This is a follow up question to the one I asked a while back: Horizontal enumeration in multiple columns .
There I was using paralist and now I feel it is better to switch to enumitem (since I can use the resume option). The environment tabbedenum using paralist worked perfectly for my needs, but transferring this to Tabbedenum based on enumitem no longer works.
Could this be because of the star (i.e. if \enumerate is short for \begin{enumerate} then what works for \begin{enumerate}*)? That's why I tried by defining the environment Inparaenum.
Could the problem be based on the optional options? In fact, could Tabbedenum be defined with the optional options too, so that the syntax would be: \begin{Tabbedenum}[label=\emph{\alph*})]{3}?
Below is a MWE.
\documentclass{article}
\usepackage{tabto}
\usepackage{paralist}
\newenvironment{tabbedenum}[1]
{\NumTabs{#1}\inparaenum\let\latexitem\item
\def\item{\def\item{\tab\latexitem}\latexitem}}
{\endinparaenum}
\usepackage[inline]{enumitem}
\newenvironment{Inparaenum}{\begin{enumerate*}[label=\emph{\alph*})]}{\end{enumerate*}}
\newenvironment{Tabbedenum}[1]
{\NumTabs{#1}\Inparaenum\let\latexitem\item
\def\item{\def\item{\tab\latexitem}\latexitem}}
{\endInparaenum}
\begin{document}
\begin{tabbedenum}{3}
\item hello world
\item hello world
\item hello world
\item hello world
\item hello world
\item hello world
\end{tabbedenum}
\begin{Tabbedenum}{3}
\item hello world
\item hello world
\item hello world
\item hello world
\item hello world
\item hello world
\end{Tabbedenum}
\end{document}



\newenvironment{Tabbedenum}[2][label=\emph{\alph*}] {\NumTabs{#2}\begin{enumerate*}[ before={\unskip\hspace{\dimexpr-\parindent-1pt}\tab},itemjoin={\tab},#1]}{\end{enumerate*}}but this gives errors, which disappear when I remove the\unskip. Can this be circumvented? Do I need the\unskip? – Geoff Jul 02 '13 at 12:50resumebut that didn't work. – Geoff Jul 02 '13 at 12:53\unskipis not giving me errors, but could be removed without affecting the given examples. – Andrew Swann Jul 02 '13 at 13:14\unskipthere are no errors. Many thanks for your effort! – Geoff Jul 02 '13 at 13:25