How can I typeset just the b (a subitem's label) without the 2 (the enclosing item's label) from a inparaenum list within a enumerate list?
\documentclass {article}
\usepackage {paralist}
\begin {document}
\noindent
Here is my list:
\begin {enumerate}
\item First item.
\item Second item:
\begin {inparaenum}[(a)]
\item \label {first} first subitem,
\item \label {second} second subitem.
\end {inparaenum}
\end {enumerate}
\noindent
I want to typeset `b' not `\ref {second}'.
\end {document}



\makeatletter ... \makeatotherblock inside theinparaenumenvironment, so as keep it local to that particular list, even if\refis without. – n.r. May 03 '16 at 17:13\items without the use ofparalistpackage also ! – Partha D. Dec 03 '21 at 01:19