枚举中的自定义标签

枚举中的自定义标签

我设法更改了枚举中​​的标签,但当我使用 a 时\label,它\ref总是给我括号,如 ()REQ-2.0-C。我该如何去掉括号?

%begin requirement listing definition

\renewcommand{\labelenumi}{\bfseries{\arabic{enumi}}}
\renewcommand{\labelenumii}{\arabic{enumi}.\arabic{enumii}}
\renewcommand{\labelenumiii}{REQ-\arabic{enumi}.\arabic{enumii}-\Alph{enumiii}}

\renewcommand{\theenumi}{}
\renewcommand{\theenumii}{}
\renewcommand{\theenumiii}{REQ-\arabic{enumi}.\arabic{enumii}-\Alph{enumiii}}

\makeatletter

\let\@noitemerr\relax
\show\@currentlabel

\makeatother

%end requirement listing definition

相关内容