I want to label my enumeration like SOMETEXT01, SOMETEXT02, ..., SOMETEXT10, etc. I read through a couple of questions and know how to create a counter that adds in leading zeros.
\newcounter{counter}
\newcommand*{\getCount}{%
\ifnum\value{counter}<10 0\fi%
\arabic{counter}%
}
\getCount
\setcounter{counter}{10}
\getCount
How can I use it with the labeling?
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{enumitem}
\usepackage{ae}
\usepackage[pdftex]{graphicx}
\usepackage{vmargin}
\usepackage{url}
\usepackage[absolute,overlay]{textpos}
\usepackage[german]{babel}
\newlist{frequirements}{enumerate}{3}
\setlist[frequirements, 1]{labelindent=0pt, label*=\textbf{/FR{\arabic*}/},itemindent=0em,leftmargin=*}
\begin{frequirements}
\item \textbf{Do this} \\ You should always be able to do this.
\item \textbf{Validate} \\
After doing this, the user should be able to validate.
\end{frequirements}
\end{document}
Output looks like
/FR1/ Do this
You should always be able to do this.
/FR2/ Validate
After doing this, the user should be able to validate.

\csname c@#1for, I never came across sth like that – mike Jun 10 '13 at 11:34<counter>has an internal command\c@<counter>that stores its number,\c@sectionfor thesectioncounter etc.\csname ...\endcsnamebuilds a command sequence from the tokens in between.\twodigits{counter}will in effect call\two@digits\c@counter. – cgnieder Jun 10 '13 at 11:38