[Tex/LaTex] enumerate custom label

#enumeratelists

I writting a project documentation with LaTeX. I am doing the user requeriments and the structure that I want to put in the documents is something like this:

UR-1: The client ...
UR-2: ...
UR-3: ...

I've create an enumerate list like this:

\begin{enumerate}
    \item The client
\end{enumerate}

but this only put the number and the text. How I can put the label "UR-" before the number in all the enumerate?

Best Answer

With enumitem package you can create your own enumeration using \newlist, where you can define view of it and then use it instead of default enumeration:

\documentclass{article}

\usepackage{enumitem}

\newlist{UR}{enumerate}{1}
\setlist[UR]{label=UR-\arabic*:}

\begin{document}
    \begin{UR}
      \item First
      \item Second
    \end{UR}
\end{document}
Related Question